Skip to content

Random lockup #666

Closed
Closed

Description

@despairblue

Posting this here instead of in the atom repo since it looks like a native problem, but correct me if I'm wrong.

Sometimes (like once every 3 days) atom just locks up, not reacting to any input. The menu still works, but does not invoke the actions, meaning the sub menus open and I can click things like Reload but it just doesn't do anything. After some seconds it presents a modal dialog saying atom does not react anymore and asking me whether I want to close it or wait. Waiting won't help, the modal dialog just opens again after some time. Choosing close will actually close all atom windows, but the thing is, only one window locks up, all other windows (mostly I have something around 5 projects open) work perfectly fine.

So here is the, well, stack trace I suppose:

[30376:0923/134323:INFO:CONSOLE(18)] "Window load time: 2713ms", source: /usr/share/atom/resources/app/src/window-bootstrap.js (18)
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134323:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/134324:WARNING:accelerator_util.cc(178)] Invalid accelerator token: 
[30376:0923/154900:WARNING:raw_channel_posix.cc(214)] recvmsg: Connection reset by peer
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 15152 error_code 3 request_code 40 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I'm using archlinux. Tell me if you need other versions as well like x server or graphics driver etc.

By the way this problem goes back quite some atom versions, so I suppose also quite some atom shell versions.

Thanks for this great product!

Activity

  1. despairblue commented on Sep 24, 2014

    @despairblue
    Author

    Happened again, this time with more descriptive error in the log:

    [7679:0924/215344:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215344:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215344:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215344:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215344:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215344:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215344:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215344:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215344:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215344:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215345:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215345:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215345:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215345:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215345:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215345:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215345:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215345:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215345:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215345:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215346:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215346:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215346:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215346:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215346:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215346:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215346:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215346:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215346:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    [7679:0924/215346:ERROR:context_group.cc(193)] ContextGroup::Initialize failed because too few texture units.
    [7679:0924/215346:ERROR:gles2_cmd_decoder.cc(2355)] GpuScheduler::InitializeCommon failed because group failed to initialize.
    [7637:0924/215346:ERROR:command_buffer_proxy_impl.cc(158)] Failed to initialize command buffer service.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
    [7637:0924/215346:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
    

    Looks like some gpu issue, maybe a memory leak in the render code?

  2. despairblue commented on Sep 24, 2014

    @despairblue
    Author

    Seems to be related to WebGL. Does Atom use WebGL for rendering?

  3. despairblue commented on Oct 13, 2014

    @despairblue
    Author

    Ok found the error. It's a problem with test-status.
    If it reoccurs under different circumstances I'll open another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions