{"action":"created","issue":{"url":"https://api.github.com/repos/stepmania/stepmania/issues/913","labels_url":"https://api.github.com/repos/stepmania/stepmania/issues/913/labels{/name}","comments_url":"https://api.github.com/repos/stepmania/stepmania/issues/913/comments","events_url":"https://api.github.com/repos/stepmania/stepmania/issues/913/events","html_url":"https://github.com/stepmania/stepmania/issues/913","id":114361377,"number":913,"title":"Fatal I/O error communicating with X server. - Multiples times","user":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T21:45:20Z","updated_at":"2015-10-30T23:10:42Z","closed_at":null,"body":"Hi, here is this https://github.com/stepmania/stepmania/issues/906 but with more info and complete, well, this happend when i close sm with the \"X\" of the topbar, and i have some logs with differents conditions, and only with one condition sm generate the crashinfo file.\r\n\r\nFirst: Starting the system, open Sm and the close it in the first screen\r\nBug: Segmentation fault - address not mapped at 0x00007ffd8a769fa8\r\ncrashinfo: https://gist.github.com/latot/6cb5972d484e3d6bf4ed\r\nnote 1: i can't get the bt of this.\r\nnote 2: if you run ldconfig before sm, you can skip this and will show one of the nexts errors.\r\n\r\nSecond: Close Sm before the first screen (in the firsts 0-1.5 seconds of blackscreen)\r\nbug: Fatal I/O error communicating with X server.\r\nbt:\r\n```\r\nBreakpoint 1, FatalCallback (d=0x3974d20) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n107\t\tRageException::Throw( \"Fatal I/O error communicating with X server.\" );\r\n(gdb) bt\r\n#0  FatalCallback (d=0x3974d20) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n#1  0x00007ffff145eaaf in _XIOError (dpy=0x3974d20) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1498\r\n#2  0x00007ffff145a900 in _XEventsQueued (dpy=0x3974d20, mode=1) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:366\r\n#3  0x00007ffff142c228 in XCheckWindowEvent (dpy=0x3974d20, w=29360130, mask=2097231, event=0x7fffffffcfb0)\r\n    at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/ChkWinEv.c:79\r\n#4  0x0000000000cdc400 in InputHandler_X11::Update (this=0x3b4be60) at /home/pipe/Documentos/git/stepmania/src/arch/InputHandler/InputHandler_X11.cpp:187\r\n#5  0x0000000000f18cde in RageInput::Update (this=0x3b439b0) at /home/pipe/Documentos/git/stepmania/src/RageInput.cpp:76\r\n#6  0x0000000000a64286 in InputFilter::Update (this=0x1e2f300, fDeltaTime=19.5795631) at /home/pipe/Documentos/git/stepmania/src/InputFilter.cpp:317\r\n#7  0x0000000000a0b427 in HandleInputEvents (fDeltaTime=19.5795631) at /home/pipe/Documentos/git/stepmania/src/StepMania.cpp:1498\r\n#8  0x0000000000a03476 in GameLoop::RunGameLoop () at /home/pipe/Documentos/git/stepmania/src/GameLoop.cpp:294\r\n#9  0x0000000000a09a98 in sm_main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/StepMania.cpp:1214\r\n#10 0x00000000010e8e50 in main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/Main.cpp:5\r\n```\r\nThird: Close sm in the first screen\r\nBug: Fatal I/O error communicating with X server\r\nbt:\r\n```\r\nBreakpoint 1, FatalCallback (d=0x3993e10) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n107\t\tRageException::Throw( \"Fatal I/O error communicating with X server.\" );\r\n(gdb) bt\r\n#0  FatalCallback (d=0x3993e10) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n#1  0x00007ffff145eaaf in _XIOError (dpy=0x3993e10) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1498\r\n#2  0x00007ffff145b75c in _XReply (dpy=0x3993e10, rep=0x7fffffffd070, extra=0, discard=0) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:708\r\n#3  0x00007ffff4f7984b in DRI2GetBuffersWithFormat (dpy=0x3993e10, drawable=29360130, width=0x222a328, height=0x222a32c, attachments=0x7fffffffd170, count=1, \r\n    outCount=0x7fffffffd1d0) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/glx/dri2.c:490\r\n#4  0x00007ffff4f7b745 in dri2GetBuffersWithFormat (driDrawable=0x222a300, width=0x222a328, height=0x222a32c, attachments=0x7fffffffd170, count=1, \r\n    out_count=0x7fffffffd1d0, loaderPrivate=0x49af590) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/glx/dri2_glx.c:900\r\n#5  0x00007fffd1b9688c in intel_query_dri2_buffers (brw=0x4e14268, drawable=0x222a300, buffers=0x7fffffffd1d8, buffer_count=0x7fffffffd1d0)\r\n    at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/drivers/dri/i965/brw_context.c:1307\r\n#6  0x00007fffd1b9631a in intel_update_dri2_buffers (brw=0x4e14268, drawable=0x222a300)\r\n    at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/drivers/dri/i965/brw_context.c:1123\r\n#7  0x00007fffd1b96525 in intel_update_renderbuffers (context=0x3e70230, drawable=0x222a300)\r\n    at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/drivers/dri/i965/brw_context.c:1179\r\n#8  0x00007fffd1b965a7 in intel_prepare_render (brw=0x4e14268) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/drivers/dri/i965/brw_context.c:1198\r\n#9  0x00007fffd1b88e8a in brw_clear (ctx=0x4e14268, mask=18) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/drivers/dri/i965/brw_clear.c:234\r\n#10 0x00007fffd17d16b6 in _mesa_Clear (mask=16640) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/mesa/main/clear.c:222\r\n#11 0x0000000000ee66dc in RageDisplay_Legacy::BeginFrame (this=0x3784860) at /home/pipe/Documentos/git/stepmania/src/RageDisplay_OGL.cpp:794\r\n#12 0x0000000000ae46d7 in ScreenManager::Draw (this=0x3ba8370) at /home/pipe/Documentos/git/stepmania/src/ScreenManager.cpp:485\r\n#13 0x0000000000a03518 in GameLoop::RunGameLoop () at /home/pipe/Documentos/git/stepmania/src/GameLoop.cpp:308\r\n#14 0x0000000000a09a98 in sm_main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/StepMania.cpp:1214\r\n#15 0x00000000010e8e50 in main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/Main.cpp:5\r\n```\r\nFourth: Close Sm from other screen\r\nBug: Fatal I/O error communicating with X server\r\nbt:\r\n```\r\nBreakpoint 1, FatalCallback (d=0x3975250) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n107\t\tRageException::Throw( \"Fatal I/O error communicating with X server.\" );\r\n(gdb) bt\r\n#0  FatalCallback (d=0x3975250) at /home/pipe/Documentos/git/stepmania/src/archutils/Unix/X11Helper.cpp:107\r\n#1  0x00007ffff145eaaf in _XIOError (dpy=0x3975250) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1498\r\n#2  0x00007ffff1459997 in require_socket (dpy=0x3975250) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:70\r\n#3  0x00007ffff145aec6 in _XFlush (dpy=0x3975250) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:511\r\n#4  0x00007ffff145ef60 in _XGetRequest (dpy=0x3975250, type=43 '+', len=4) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1735\r\n#5  0x00007ffff14550e0 in XSync (dpy=0x3975250, discard=0) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/Sync.c:43\r\n#6  0x00007ffff4f7b44c in dri2XcbSwapBuffers (dpy=0x3975250, pdraw=0x4270b30, target_msc=0, divisor=0, remainder=0)\r\n    at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/glx/dri2_glx.c:815\r\n#7  0x00007ffff4f7b5d2 in dri2SwapBuffers (pdraw=0x4270b30, target_msc=0, divisor=0, remainder=0, flush=1)\r\n    at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/glx/dri2_glx.c:853\r\n#8  0x00007ffff4f38d4f in glXSwapBuffers (dpy=0x3975250, drawable=29360130) at /var/tmp/portage/media-libs/mesa-10.5.8/work/mesa-10.5.8/src/glx/glxcmds.c:842\r\n#9  0x0000000000ce2997 in LowLevelWindow_X11::SwapBuffers (this=0x1a3f9b0) at /home/pipe/Documentos/git/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp:300\r\n#10 0x0000000000ee6741 in RageDisplay_Legacy::EndFrame (this=0x373d780) at /home/pipe/Documentos/git/stepmania/src/RageDisplay_OGL.cpp:802\r\n#11 0x0000000000ae482a in ScreenManager::Draw (this=0x3a66ea0) at /home/pipe/Documentos/git/stepmania/src/ScreenManager.cpp:500\r\n#12 0x0000000000a03518 in GameLoop::RunGameLoop () at /home/pipe/Documentos/git/stepmania/src/GameLoop.cpp:308\r\n#13 0x0000000000a09a98 in sm_main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/StepMania.cpp:1214\r\n#14 0x00000000010e8e50 in main (argc=1, argv=0x7fffffffd6f8) at /home/pipe/Documentos/git/stepmania/src/Main.cpp:5\r\n```\r\n\r\nI can confirm this on gentoo 64 and ubuntu wily x64\r\nThx all."},"comment":{"url":"https://api.github.com/repos/stepmania/stepmania/issues/comments/152671148","html_url":"https://github.com/stepmania/stepmania/issues/913#issuecomment-152671148","issue_url":"https://api.github.com/repos/stepmania/stepmania/issues/913","id":152671148,"user":{"login":"kyzentun","id":6657507,"avatar_url":"https://avatars.githubusercontent.com/u/6657507?v=3","gravatar_id":"","url":"https://api.github.com/users/kyzentun","html_url":"https://github.com/kyzentun","followers_url":"https://api.github.com/users/kyzentun/followers","following_url":"https://api.github.com/users/kyzentun/following{/other_user}","gists_url":"https://api.github.com/users/kyzentun/gists{/gist_id}","starred_url":"https://api.github.com/users/kyzentun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyzentun/subscriptions","organizations_url":"https://api.github.com/users/kyzentun/orgs","repos_url":"https://api.github.com/users/kyzentun/repos","events_url":"https://api.github.com/users/kyzentun/events{/privacy}","received_events_url":"https://api.github.com/users/kyzentun/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T23:10:42Z","updated_at":"2015-10-30T23:10:42Z","body":"So, when you forcibly close stepmania's window, it throws an exception and exits.  Why is that a problem?"}}