Hi Rebecca,

On 28 January 2014 13:17, Rebecca N. Palmer <[email protected]> wrote:

> I have now tested a normal OpenSceneGraph build (i.e. cmake $source_dir
> -DCMAKE_BUILD_TYPE=Release; make; sudo make install), and found that it
> also has the osgviewerQt crash on my system, so this isn't a packaging bug;
> given that similar issues have been reported in Qt before, I agree it may
> not be an OSG bug either, and have noted that in the Ubuntu bug tracker (
> https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1198806).


A default build of the OSG won't build the examples, so won't build
osgviewerQt.  Did you enable the build of the examples?

As a general note, in general I wouldn't expect a multi-threading crash to
be directly packaging related, unless there is an issue with the threading
problem being sensitive to dependencies or compiler options.

If there is a bug on the OSG it'll be in osgQt's setup of Qt, or
specifically missing something that makes Qt properly handling the checking
of events for multiple contexts, multi-threaded.  The way I avoided similar
threading issues with osgViewer::GraphicsWindowX11 is to make sure that
events and rendering are done with a separate X11 Display handle allowing
one to get the events from the main thread without affecting the rendering
that is happening in another thread.  I suspect Qt isn't doing stuff like
this, or doing it wrong.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to