HI John,

I have had to revert part of your submission that modified how
GraphicsWindowX11.cpp handled the close events:

http://www.openscenegraph.org/projects/osg/changeset/12294/OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowX11.cpp

The code was causing crashes for lots of users under Linux.  The
threads "OSG trunk crashing, perhaps an nvidia driver problem?" and
"[build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia"
discuss the problems and how we finally tracked the problem down the
problem.   The issue is that it isn't safe to access _display
connection to X11 from the main thread as the _display is set up for
use from the graphics thread assigned to the context, and it's not
safe to use it when call X11 from any other thread.

Reverting this change will mean that your aim to get everything
working perfect for on demand rendering will take a step back, but
there is no way we can stick with the original code, it simply isn't a
thread safe thing to do.  You'll need to find some other mechanism for
checking for the close event from the graphics thread.

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

Reply via email to