Hi Fredrik, On Mon, May 25, 2009 at 3:07 PM, Fredrik Orderud <[email protected]> wrote: > As of today, OSG _always_ crashes upon program termination when using static > OSG libs. This is a big annoyance, and it makes it difficult to debug other > code that uses OSG. I would therefore greatly appreciate if you commit my > proposed 1-line fix, so that OSG at least terminates properly in most cases.
I am not about to merge the proposed fix as I would like to see the problem addressed more generally, as I fully expect that we'd see that problem move about depending upon the particular build. So your fix might fix it for your build today, but tomorrow or even today on a different compiler/build combination the crash may still exist. We have to find a proper fix. One possibility might be to reference count the GlobalReferenceMutex, although we might need to do this manually rather than via using Referenced was otherwise there would be a circular dependency. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

