两天后,我的 Chrome 在几个小时后停止工作。
所有打开的 Chrome 窗口不再对点击做出反应。
我注意到,在它停止工作的那一刻,会出现一个灰色的小框-根据
xprop $win_id _NET_WM_PID
似乎属于chrome进程树。
我的理论是 Chrome 尝试打开一个不起作用的模式,并且不允许我再单击 Chrome 其他部分中的任何内容。
我该如何调试和修复它?
编辑
在某些情况下我可以重现它。当我将链接拖放到另一个地方时,似乎会发生这种情况。但有时它是可重现的,有时不是。
编辑2
我启用了崩溃报告,但没有记录崩溃。
编辑3
对此调试的任何帮助表示赞赏
edit4 strace 显示了这一点:
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} ---
我看起来像更新 Nvidia 图形驱动程序解决了这个问题。从那时起至今没有崩溃。将继续测试。祝我好运。