两天以来,我的 Chrome 几个小时后就停止工作了。
所有打开的 Chrome 窗口都不再对点击做出反应。
我注意到,在它停止工作的那一刻,出现了一个小的灰色方框,根据
xprop $win_id _NET_WM_PID
似乎属于chrome进程树。
我的理论是,Chrome 尝试打开一个不起作用的模式,并且不允许我再单击 Chrome 其他部分的任何内容。
我该如何调试并修复该问题?
编辑
在某些情况下我可以重现它。当我将链接拖放到另一个地方时似乎会发生这种情况。但有时可以重现,有时则不能。
编辑2
我启用了崩溃报告,但没有记录崩溃。
编辑3
任何有关调试的帮助都将不胜感激
编辑4strace 显示了这一点:
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.459718:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.459735:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.472138:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.472165:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.482577:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.482601:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.492928:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.492952:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
[19628:19628:0123/095257.505832:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.505868:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.516220:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.516250:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.526476:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.526511:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.539176:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.539208:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2be6a8d53f30, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2be6a8d53f30, FUTEX_WAKE_PRIVATE, 1) = 0
[19628:19628:0123/095257.549643:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[19628:19628:0123/095257.549666:ERROR:in_process_command_buffer.cc(575)] ContextResult::kTransientFailure, failed to make context current
^C--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
答案1
看起来更新 Nvidia 显卡驱动程序解决了这个问题。到目前为止,没有出现过崩溃。将继续测试。祝我好运。