Re: [osg-users] Crash on Mac OS X

2016-03-24 Thread Ale Maro
Hi Robert, I tried some suggestions I found in the forum with no resut. These suggestion are mainly related to symbol visibility. I suppose default OSG compilation on OSX is with symbol visibility on. I guess if someone have already tried to switch symbol visibility off I already tried to switch

Re: [osg-users] Crash on Mac OS X

2016-03-24 Thread Robert Osfield
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

Re: [osg-users] Crash on Mac OS X

2016-03-24 Thread Ale Maro
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();

[osg-users] Crash on Mac OS X

2016-03-22 Thread Ale Maro
Hi, I recently compiled my Qt-based application and OSG 3.4.0 on OSX (clang). Everything seems working fine but I have a problem with a custom dragger (derived on osgManipulation::Dragger). In the handle method of osgManipulator::Dragger I have a crash in a dynamic_cast. Debugging the code