Hi
This morning I recompiled the latest from GIT.
I noticed FGFS crashes when I exit the program. It appears the
AI-manager is trying to free buffers...
Here is the stack trace:
Program terminated with signal 6, Aborted.
#0 0x00007f1c2c336a75 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007f1c2c336a75 in raise () from /lib/libc.so.6
#1 0x00007f1c2c33a5c0 in abort () from /lib/libc.so.6
#2 0x00007f1c2c3704fb in ?? () from /lib/libc.so.6
#3 0x00007f1c2c37a5b6 in ?? () from /lib/libc.so.6
#4 0x00007f1c2c37da25 in ?? () from /lib/libc.so.6
#5 0x00007f1c2c380e83 in free () from /lib/libc.so.6
#6 0x000000000047be62 in
__gnu_cxx::new_allocator<osg::Vec3f>::deallocate (this=0x7f1bf7386240,
__p=0x7f1bf737e5b0)
at /usr/include/c++/4.4/ext/new_allocator.h:95
#7 0x000000000047b3fc in std::_Vector_base<osg::Vec3f,
std::allocator<osg::Vec3f> >::_M_deallocate (this=0x7f1bf7386240,
__p=0x7f1bf737e5b0, __n=16)
at /usr/include/c++/4.4/bits/stl_vector.h:146
#8 0x000000000047b246 in ~_Vector_base (this=0x7f1bf7386240,
__in_chrg=<value optimized out>) at
/usr/include/c++/4.4/bits/stl_vector.h:132
#9 0x000000000047ad0a in ~vector (this=0x7f1bf7386240, __in_chrg=<value
optimized out>) at /usr/include/c++/4.4/bits/stl_vector.h:313
#10 0x000000000047b9c7 in ~MixinVector (this=0x7f1bf7386238,
__in_chrg=<value optimized out>)
at
/home/mifi/Software/Sources/fgfs11/install/OpenSceneGraph/include/osg/MixinVector:82
#11 0x000000000047e694 in ~TemplateArray (this=0x7f1bf73861e0,
__in_chrg=<value optimized out>)
at
/home/mifi/Software/Sources/fgfs11/install/OpenSceneGraph/include/osg/Array:195
#12 0x00007f1c2d126eda in osg::Geometry::~Geometry() () from
../../OpenSceneGraph/lib/libosg.so.67
#13 0x00007f1c2d11f8c4 in osg::Geode::~Geode() () from
../../OpenSceneGraph/lib/libosg.so.67
#14 0x0000000000b054a8 in ~EffectGeode (this=0x7f1bfb369270,
__in_chrg=<value optimized out>) at EffectGeode.hxx:27
#15 0x00007f1c2d158904 in osg::Group::~Group() () from
../../OpenSceneGraph/lib/libosg.so.67
#16 0x00007f1c2d158904 in osg::Group::~Group() () from
../../OpenSceneGraph/lib/libosg.so.67
#17 0x00007f1c2d158b44 in osg::Group::~Group() () from
../../OpenSceneGraph/lib/libosg.so.67
#18 0x00007f1c2d1aabce in osg::PagedLOD::~PagedLOD() () from
../../OpenSceneGraph/lib/libosg.so.67
#19 0x0000000000a90014 in ~SGPagedLOD (this=0x26d06b0, __in_chrg=<value
optimized out>) at SGPagedLOD.cxx:45
#20 0x0000000000433c4b in osg::Referenced::unref (this=0x26d06b0) at
/home/mifi/Software/Sources/fgfs11/install/OpenSceneGraph/include/osg/Referenced:198
#21 0x0000000000445525 in ~ref_ptr (this=0x26e0430, __in_chrg=<value
optimized out>)
at
/home/mifi/Software/Sources/fgfs11/install/OpenSceneGraph/include/osg/ref_ptr:35
#22 0x000000000096de5c in ~FGAIBase (this=0x26e0260, __in_chrg=<value
optimized out>) at AIBase.cxx:139
#23 0x000000000097342f in ~FGAIAircraft (this=0x26e0260,
__in_chrg=<value optimized out>) at AIAircraft.cxx:97
#24 0x00000000009679f6 in SGSharedPtr<FGAIBase>::put (this=0x26bbff0)
at
/home/mifi/Software/Sources/fgfs11/install/simgear/include/simgear/structure/SGSharedPtr.hxx:107
#25 0x000000000096793e in ~SGSharedPtr (this=0x26bbff0, __in_chrg=<value
optimized out>)
at
/home/mifi/Software/Sources/fgfs11/install/simgear/include/simgear/structure/SGSharedPtr.hxx:61
#26 0x00000000009674f6 in __gnu_cxx::new_allocator<SGSharedPtr<FGAIBase>
>::destroy (this=0x7fff9cf9e05f, __p=0x26bbff0)
at /usr/include/c++/4.4/ext/new_allocator.h:115
---Type <return> to continue, or q <return> to quit---
#27 0x0000000000966d3b in std::_List_base<SGSharedPtr<FGAIBase>,
std::allocator<SGSharedPtr<FGAIBase> > >::_M_clear (this=0x7f1c23e04428)
at /usr/include/c++/4.4/bits/list.tcc:76
#28 0x000000000096677d in ~_List_base (this=0x7f1c23e04428,
__in_chrg=<value optimized out>) at /usr/include/c++/4.4/bits/stl_list.h:360
#29 0x0000000000966656 in ~list (this=0x7f1c23e04428, __in_chrg=<value
optimized out>) at /usr/include/c++/4.4/bits/stl_list.h:418
#30 0x0000000000968fa9 in ~FGAIManager (this=0x7f1c23e04400,
__in_chrg=<value optimized out>) at AIManager.cxx:61
#31 0x0000000000bb7aa2 in ~Member (this=0x7f1c23d9fbd0, __in_chrg=<value
optimized out>) at subsystem_mgr.cxx:323
#32 0x0000000000bb6a57 in ~SGSubsystemGroup (this=0x1c16dc8,
__in_chrg=<value optimized out>) at subsystem_mgr.cxx:119
#33 0x0000000000bb8465 in ~SGSubsystemMgr (this=0x1c16cb0,
__in_chrg=<value optimized out>) at subsystem_mgr.cxx:393
#34 0x00000000004689ae in ~FGGlobals (this=0x1c15c90, __in_chrg=<value
optimized out>) at globals.cxx:172
#35 0x00000000004336de in fgMainInit (argc=36, argv=0x7fff9cf9e3f8) at
main.cxx:606
#36 0x0000000000430aae in main (argc=36, argv=0x7fff9cf9e3f8) at
bootstrap.cxx:243
I cannot reproduce this reliably, but it has occurred three times out of 10.
Has anybody been working on the AI-manager lately?
m
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel