[osg-users] ref null pointer in Group::traverse

Sebastian Schmidt herrdersuppen at gmail.com
Mon Mar 20 08:19:31 PDT 2017

Sry for the lack of information.
Im using a CompositeViewer with two Views.
One for the scenegraph and one for the GUI.

The crash happens after i call CompositeViewer::run in a function where i dynamically add/change nodes of the scenegraph.

-> scene->updateSceneGraph(*_updateVisitor);

I added viewer->stopThreading() and viewer->startThreading() in my custom function and it seems to work for now.

Unfortunately i get most of the crashes in Release mode and its harder to debug it.

Read this topic online here:

More information about the osg-users mailing list