Hi JS,

I could reproduce any crashes on press 'a' but on pressing escape the
code crashed due to a circular reference that your AddViewHandler
introduces with its local ref_ptr<CompositeViewer>.  Changing this to
observer_ptr<> fixes the crash on exit.

W.r.t crash on add, I've pressed 'a' 20 times in quick succession with
any crash.  The stopThreading/startThreading is done with
addView/removeView now so isn't strictly required - it'll be just a
non op doing it twice.  I've removed them I still can't reproduce the
crash so it does seem to be working OK.

One thing to note is that I've merged a threading fix to
CompositeViewer's since 2.6.  Perhaps this is having an effect, try
svn/trunk.

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

Reply via email to