Just took another look and realized the trace was fine.  The bug really is in
the animation code.  I'll post the patch in a bit.

Best,

Jim

Jim Wilson said:

> There appears to be something still broken in the AIManager::update().  I'm
> rebuilding without threads to see if I can get a better backtrace.  The crash
> is moderately intermittent and somewhat random except that it always occurs
> early on,  just a few frames after system initialization (but before scenery
> loading is complete).
> 
> I have not been able to reproduce with --disable_ai_models on command line.
> 
> Best,
> 
> Jim
> 
> #0  0x4207afcc in chunk_free () from /lib/i686/libc.so.6
> #1  0x4207ad24 in free () from /lib/i686/libc.so.6
> #2  0x4006edc6 in __builtin_delete (ptr=0xc370000) at ../../gcc/cp/new2.cc:-1
> #3  0x084cc1f0 in SGTexMultipleAnimation::~SGTexMultipleAnimation
> (this=0xc1db498, __in_chrg=3) at animation.cxx:909
> #4  0x085465c7 in ssgDeRefDelete (s=0xc1db498) at ssg.cxx:89
> #5  0x085496d5 in ssgBase::~ssgBase (this=0xc36fee8, __in_chrg=0) at
> ssgBase.cxx:75
> #6  0x0854d2ae in ssgEntity::~ssgEntity (this=0xc36fee8, __in_chrg=0) at
> ssgEntity.cxx:53
> #7  0x08549bde in ssgBranch::~ssgBranch (this=0xc36fee8, __in_chrg=0) at
> ssgBranch.cxx:60
> #8  0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xc36fee8,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #9  0x0855b70d in ssgTexTrans::~ssgTexTrans (this=0xc36fee8, __in_chrg=3) at
> ssgTexTrans.cxx:53
> #10 0x085465c7 in ssgDeRefDelete (s=0xc36fee8) at ssg.cxx:89
> #11 0x08549d7a in ssgBranch::removeKid (this=0xc364c38, n=8) at ssgBranch.cxx:97
> #12 0x08549dde in ssgBranch::removeAllKids (this=0xc364c38) at ssgBranch.cxx:112
> #13 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc364c38, __in_chrg=3) at
> ssgBranch.cxx:59
> #14 0x085465c7 in ssgDeRefDelete (s=0xc364c38) at ssg.cxx:89
> #15 0x08549d7a in ssgBranch::removeKid (this=0xc254e58, n=0) at ssgBranch.cxx:97
> #16 0x08549dde in ssgBranch::removeAllKids (this=0xc254e58) at ssgBranch.cxx:112
> #17 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc254e58, __in_chrg=0) at
> ssgBranch.cxx:59
> #18 0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xc254e58,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #19 0x0855c2d5 in ssgTransform::~ssgTransform (this=0xc254e58, __in_chrg=3) at
> ssgTransform.cxx:53
> #20 0x085465c7 in ssgDeRefDelete (s=0xc254e58) at ssg.cxx:89
> #21 0x08549d7a in ssgBranch::removeKid (this=0xc07a3d8, n=0) at ssgBranch.cxx:97
> #22 0x08549dde in ssgBranch::removeAllKids (this=0xc07a3d8) at ssgBranch.cxx:112
> #23 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc07a3d8, __in_chrg=3) at
> ssgBranch.cxx:59
> #24 0x085465c7 in ssgDeRefDelete (s=0xc07a3d8) at ssg.cxx:89
> #25 0x08549d7a in ssgBranch::removeKid (this=0xc2e8fd8, n=0) at ssgBranch.cxx:97
> #26 0x08549dde in ssgBranch::removeAllKids (this=0xc2e8fd8) at ssgBranch.cxx:112
> #27 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc2e8fd8, __in_chrg=0) at
> ssgBranch.cxx:59
> #28 0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xc2e8fd8,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #29 0x0855c2d5 in ssgTransform::~ssgTransform (this=0xc2e8fd8, __in_chrg=3) at
> ssgTransform.cxx:53
> #30 0x085465c7 in ssgDeRefDelete (s=0xc2e8fd8) at ssg.cxx:89
> #31 0x08549d7a in ssgBranch::removeKid (this=0xc27f778, n=0) at ssgBranch.cxx:97
> #32 0x08549dde in ssgBranch::removeAllKids (this=0xc27f778) at ssgBranch.cxx:112
> #33 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc27f778, __in_chrg=0) at
> ssgBranch.cxx:59
> #34 0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xc27f778,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #35 0x0855c2d5 in ssgTransform::~ssgTransform (this=0xc27f778, __in_chrg=3) at
> ssgTransform.cxx:53
> #36 0x085465c7 in ssgDeRefDelete (s=0xc27f778) at ssg.cxx:89
> #37 0x08549d7a in ssgBranch::removeKid (this=0xbea9d08, n=73) at
ssgBranch.cxx:97
> #38 0x08549dde in ssgBranch::removeAllKids (this=0xbea9d08) at ssgBranch.cxx:112
> #39 0x08549bc7 in ssgBranch::~ssgBranch (this=0xbea9d08, __in_chrg=3) at
> ssgBranch.cxx:59
> #40 0x085465c7 in ssgDeRefDelete (s=0xbea9d08) at ssg.cxx:89
> #41 0x08549d7a in ssgBranch::removeKid (this=0xc08d868, n=0) at ssgBranch.cxx:97
> #42 0x08549dde in ssgBranch::removeAllKids (this=0xc08d868) at ssgBranch.cxx:112
> #43 0x08549bc7 in ssgBranch::~ssgBranch (this=0xc08d868, __in_chrg=0) at
> ssgBranch.cxx:59
> #44 0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xc08d868,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #45 0x0855c2d5 in ssgTransform::~ssgTransform (this=0xc08d868, __in_chrg=3) at
> ssgTransform.cxx:53
> #46 0x085465c7 in ssgDeRefDelete (s=0xc08d868) at ssg.cxx:89
> #47 0x08549d7a in ssgBranch::removeKid (this=0xbe0ce50, n=0) at ssgBranch.cxx:97
> #48 0x08549dde in ssgBranch::removeAllKids (this=0xbe0ce50) at ssgBranch.cxx:112
> #49 0x08549bc7 in ssgBranch::~ssgBranch (this=0xbe0ce50, __in_chrg=0) at
> ssgBranch.cxx:59
> #50 0x0859bc0d in ssgBaseTransform::~ssgBaseTransform (this=0xbe0ce50,
> __in_chrg=0) at ssgBaseTransform.cxx:50
> #51 0x0855c2d5 in ssgTransform::~ssgTransform (this=0xbe0ce50, __in_chrg=3) at
> ssgTransform.cxx:53
> #52 0x085465c7 in ssgDeRefDelete (s=0xbe0ce50) at ssg.cxx:89
> #53 0x08549d7a in ssgBranch::removeKid (this=0xbea3fa0, n=0) at ssgBranch.cxx:97
> #54 0x08549dde in ssgBranch::removeAllKids (this=0xbea3fa0) at ssgBranch.cxx:112
> #55 0x08549bc7 in ssgBranch::~ssgBranch (this=0xbea3fa0, __in_chrg=0) at
> ssgBranch.cxx:59
> #56 0x08555234 in ssgSelector::~ssgSelector (this=0xbea3fa0, __in_chrg=3) at
> ssgSelector.cxx:57
> #57 0x085465c7 in ssgDeRefDelete (s=0xbea3fa0) at ssg.cxx:89
> #58 0x08549d7a in ssgBranch::removeKid (this=0x9022498, n=4) at ssgBranch.cxx:97
> #59 0x083c1d83 in FGAIBase::~FGAIBase (this=0xbea3de8, __in_chrg=0) at
> ./../src/Scenery/scenery.hxx:354
> #60 0x083c326c in FGAIAircraft::~FGAIAircraft (this=0xbea3de8, __in_chrg=3) at
> AIAircraft.cxx:70
> #61 0x083bf9ef in FGAIManager::update (this=0xa5ad728, dt=0.105355) at
> /usr/include/g++-3/stl_list.h:71
> #62 0x08528b04 in SGSubsystemGroup::Member::update (this=0xa5a0988,
> delta_time_sec=0.105355) at subsystem_mgr.cxx:225
> #63 0x08528561 in SGSubsystemGroup::update (this=0x8953214,
> delta_time_sec=0.105355) at /usr/include/g++-3/stl_vector.h:218
> #64 0x08528e12 in SGSubsystemMgr::update (this=0x89531f8,
> delta_time_sec=0.105355) at subsystem_mgr.cxx:278
> #65 0x08054837 in fgMainLoop () at main.cxx:1237
> #66 0x0809c5c1 in GLUTidle () at fg_os.cxx:113
> #67 0x400615ff in idleWait () from /usr/lib/libglut.so.3
> #68 0x40061ce1 in glutMainLoop () from /usr/lib/libglut.so.3
> #69 0x0809c623 in fgOSMainLoop () at fg_os.cxx:143
> #70 0x08057be7 in fgMainInit (argc=7, argv=0xbfffd954) at main.cxx:1803
> #71 0x08050a16 in main (argc=7, argv=0xbfffd954) at bootstrap.cxx:175
> #72 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 



-- 
Jim Wilson - IT Manager
Kelco Industries
PO Box 160
58 Main Street
Milbridge, ME 04658
207-546-7989 - FAX 207-546-2791
http://www.kelcomaine.com




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to