Hi Ale, I don't have an answer but do have a vague recollection that in certain compiler options problems have been reported with dynamic_cast<>. My gut says it was OSX in some combination. It may well be a bug in the compile, try out gcc instead of Clang.
Sorry I can't be more specific, I don't have OSX system to test against and my vague recollections of something related to dynamic_cast<> is down to reading about the issue quite some time ago, just reading through, I wasn't an active participant in the discussion. Searching through the osg-users/forum archive might help, as would a general search of the web on the issue. Robert On 24 March 2016 at 08:30, Ale Maro <[email protected]> wrote: > Here is the exact point where OSG crash: > > ------ > > bool Dragger::handle(const osgGA::GUIEventAdapter& ea, > osgGA::GUIActionAdapter& aa) > { > ..... > > for (osg::NodePath::iterator itr = > _pointer._hitList.front().first.begin(); > itr != _pointer._hitList.front().first.end(); > ++itr) > { > osgManipulator::Dragger* dragger = > dynamic_cast<osgManipulator::Dragger*>(*itr); > if (dragger) > { > ...... > } > > ----- > > Debugger says that itr pointer is valid. Any idea? > > Best regards > Ale > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66619#66619 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

