Hi Robert,

thanks for notifying me on osg-submissions as I am reading osg-users only from 
time to time due to my hard time constraints. (By the way, it could be useful, 
if the very most important messages of osg-users (new releases) could be 
sent/copied to osg-submissions as well to draw our attention to osg-users 
that, f.ex., a new developer release is going to happen in two days. Just a 
thought, leaving it completely on you.)

Thanks to Eric Sokolowsky for his work. I will try to find a time to see if 
there is another way to handle the things. Sorry for troubles, I did not 
noticed the problem on my side.

John

> ------------ Original message ------------
> From:  Robert Osfield <[email protected]>
> Subject:  Re: [osg-submissions] [osg-users] requestRedraw bug during 
ON_DEMAND rendering
> Date:  27. 5. 2011  18:20:42
> ----------------------------------------
> 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/t
> runk/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
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to