This may be a more general Qt+threading problem: osgQtBrowser/osgQtWidgets are also affected if run with threading (--frame-thread). The following is from 3.2 branch tip, Qt 4.8:

palmer@lap14:~$ osgviewerQt --SingleThreaded
[doesn't crash, though the view windows are blank because the .osgt files it tries to load don't exist]
palmer@lap14:~$ osgviewerQt --CullThreadPerCameraDrawThreadPerContext
[doesn't crash, though the view windows are blank because the .osgt files it tries to load don't exist]
palmer@lap14:~$ osgviewerQt --CullDrawThreadPerContext [=default]
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
osgviewerQt: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)
palmer@lap14:~$ osgviewerQt --DrawThreadPerContext
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
osgviewerQt: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)
palmer@lap14:~$ osgQtBrowser --frame-thread
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
osgQtBrowser: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)
palmer@lap14:~$ osgQtWidgets --frame-thread
Subfile "cow.osg" could not be loaded
Subfile "cow.osg.(15,0,5).trans" could not be loaded
osgQtWidgets: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[hang]
^C
Segmentation fault (core dumped)
palmer@lap14:~$
palmer@lap14:~$ osgQtWidgets --frame-thread
Subfile "cow.osg" could not be loaded
Subfile "cow.osg.(15,0,5).trans" could not be loaded
[xcb] Unknown sequence number while processing reply
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
osgQtWidgets: ../../src/xcb_io.c:635: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
palmer@lap14:~$
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to