Version 2.15 fails in Ubuntu 22.04.4 while testing Lid cavity problem in interactive mode.
The following error is dumped:
[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.
FluidX3D: ../../src/xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
./make.sh: line 33: 21612 Aborted (core dumped) bin/FluidX3D "$@"
The solution was to include a call for XInitThreads(); in graphics.cpp in main() just before "_x11display = XOpenDisplay(0);" (line 686).
This seems to work, yet have not tested with other problems.
Version 2.15 fails in Ubuntu 22.04.4 while testing Lid cavity problem in interactive mode.
The following error is dumped:
[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. FluidX3D: ../../src/xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. ./make.sh: line 33: 21612 Aborted (core dumped) bin/FluidX3D "$@"
The solution was to include a call for XInitThreads(); in graphics.cpp in main() just before "_x11display = XOpenDisplay(0);" (line 686). This seems to work, yet have not tested with other problems.