<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am trying to hunt down what seems to be a threading issue in OpenJDK's codebase.<br></div>OpenJDK does not call XInitThreads, but instead uses its own locks to protect xlib from beeing accessed concurrently, however it seems somewhere a call to xlib slips through that lock.<br>
<br></div><div>I defined XTHREADS_WARN in xlib, but it didn't spot anything.<br></div>Is there any additional supportĀ  for finding this kind of issue in XCB and /or Xlib?<br><br></div>Thank you in advance, Clemens<br>
<br>The error-message was:<br><br>[xcb] Unknown sequence number while processing queue<br>[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called<br>[xcb] Aborting, sorry about that.<br>java: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_<blockquote class="gmail_quote">
lost' failed.<br>
Aborted (core dumped)</blockquote><br></div>