Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash - XInitThreads has not been called #1

Open
Lexus89 opened this issue Apr 20, 2018 · 3 comments
Open

Crash - XInitThreads has not been called #1

Lexus89 opened this issue Apr 20, 2018 · 3 comments

Comments

@Lexus89
Copy link

Lexus89 commented Apr 20, 2018

When i run the tool inside an Ubuntu VM (VMware Workstation) it crashes and displays the following error:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
macgeiger: ../../src/xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted

It runs for a few seconds and then stops.

UPDATE:

When running a few times more i also get this:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 116 requests (116 known processed) with 2 events remaining.
@rofl0r
Copy link
Owner

rofl0r commented Apr 22, 2018

yeah, i have the same issue when i use the SDL backend. it looks like its some bug in SDL 1.x which is triggered when several threads are active.

IIRC it first happened after this change 4554102

the only known workaround at this time is to either revert to before that commit or use the NCURSES terminal backend.

@Lexus89
Copy link
Author

Lexus89 commented Apr 23, 2018

Thanks, with NCURSES all is working fine. Great tool!

@rofl0r
Copy link
Owner

rofl0r commented Oct 10, 2019

meanwhile i developed a patch to fix this issue, see sabotage-linux/sabotage@261c526

since SDL 1.2 development has officially been halted, there's little chance this will ever make it upstream though.

related:
https://bugzilla.libsdl.org/show_bug.cgi?id=2843
https://bugzilla.redhat.com/show_bug.cgi?id=1181085

i'll leave this open as the issue ain't really fixed until this goes into SDL itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants