and yes. both configuration crashes -Nick
On Fri, Feb 19, 2010 at 4:00 PM, Robert Osfield <robert.osfi...@gmail.com>wrote: > HI Nick, > > I'm afraid I don't have ideas about the cause yet, the line of code > you quote where the crash occurs looks fine, the objects in play > should all still be valid. Does the error occur on standard OSG > examples? Does both the release and debug builds crash on exit? > > Robert. > > On Fri, Feb 19, 2010 at 10:11 AM, Trajce (Nick) Nikolov > <nikolov.tra...@gmail.com> wrote: > > Hi Robert, > > I am getting a crash when cleaning up dynamic viewer > > osg::ref_ptr<osgViewer::CompositeViewer> viewer; > > ...... > > viewer = 0; > > > > > osg63-osgViewerd.dll!osg::observer_ptr<osgViewer::ViewerBase>::objectDeleted(void > > * obj=0x019c0ce4) Line 115 + 0x6 bytes C++ > > osg63-osgd.dll!osg::ObserverSet::signalObjectDeleted(void * > > ptr=0x019c0ce4) Line 68 + 0x20 bytes C++ > > osg63-osgd.dll!osg::Referenced::signalObserversAndDelete(bool > > signalUnreferened=true, bool signalDelete=true, bool doDelete=true) Line > > 311 C++ > > osg63-osgd.dll!osg::Referenced::unref() Line 196 C++ > > > > > KtIGLibOSGD.dll!osg::ref_ptr<osgViewer::CompositeViewer>::operator=(osgViewer::CompositeViewer > > * ptr=0x00000000) Line 57 C++ > >> KtIGLibOSGD.dll!KtIGLibOSG::destroy() Line 72 C++ > > > > down to > > virtual void objectDeleted(void* obj) > > { > > T* ref_obj = static_cast<T*>(obj); > > OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); > > HERE->>> if (ref_obj->referenceCount() == 0) _ptr = 0; > > } > > -Nick > > > > > > On Fri, Feb 19, 2010 at 11:36 AM, Robert Osfield < > robert.osfi...@gmail.com> > > wrote: > >> > >> Hi All, > >> > >> To give you all a chance to thrash the OSG svn/trunk to an inch of > >> it's life I'm headline for a few hours (to do my weekly long run). > >> I'll be back at lunchtime, and if all looks well I'll go for making > >> 2.7.9 this afternoon (UK time). > >> > >> Thanks for all the testing, > >> Robert. > >> _______________________________________________ > >> osg-users mailing list > >> osg-users@lists.openscenegraph.org > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org