Hi,
I've got a problem useing the SimpleSceneManager. Every time I try to delete
it I get a SEGFAULT. Even if the programm only has the two lines:
osg::SimpleSceneManager *ssm = new osg::SimpleSceneManager;
delete ssm;
Here's the backtrace from OpenSG 1.6 on Debian GNU/Linux:
#0 0xb7170d5a in FieldContainerPtrBase (this=0xbfc340d8, [EMAIL PROTECTED]) at
OSGFieldContainerPtrImpl.inl:373
373 _containerSize = source.getContainerSize();
(gdb) bt
#0 0xb7170d5a in FieldContainerPtrBase (this=0xbfc340d8, [EMAIL PROTECTED]) at
OSGFieldContainerPtrImpl.inl:373
#1 0xb7170e66 in FieldContainerPtr (this=0xbfc340d8, [EMAIL PROTECTED]) at
OSGFieldContainerPtrImpl.inl:590
#2 0xb7170924 in AttachmentContainerPtr (this=0xbfc340d8, [EMAIL PROTECTED])
at
/home/sven/DA/OpenSG/Source/System/FieldContainer/OSGAttachmentContainerPtr.cpp:61
#3 0xb7196a4e in NodePtr (this=0xbfc340d8, [EMAIL PROTECTED]) at
OSGNodePtrDepImpl.inl:95
#4 0xb7196a6b in osg::Node::getPtr (this=0x0) at OSGNodePtrDepImpl.inl:102
#5 0xb7194b88 in osg::Node::setCore (this=0x0, [EMAIL PROTECTED])
at /home/sven/DA/OpenSG/Source/System/FieldContainer/OSGNode.cpp:127
#6 0xb752566f in osg::SimpleSceneManager::initialize (this=0x806ae80)
at /home/sven/DA/OpenSG/Source/System/Window/OSGSimpleSceneManager.cpp:426
#7 0xb75262d8 in osg::SimpleSceneManager::setRoot (this=0x806ae80, [EMAIL
PROTECTED])
at /home/sven/DA/OpenSG/Source/System/Window/OSGSimpleSceneManager.cpp:324
#8 0xb7526480 in ~SimpleSceneManager (this=0x806ae80) at
/home/sven/DA/OpenSG/Source/System/Window/OSGSimpleSceneManager.cpp:229
#9 0x0804b71a in main ()
Any ideas about that?
CU
Sven
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users