Re: [Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-26 Thread Melchior FRANZ
* Maik Justus -- Tuesday 14 November 2006 21:42: I found another bug. While exiting fg, I got a crash. The crashed function is called by FGAIBase::~FGAIBase() line 71: fgSetString(/ai/models/model-removed, props-getPath()); Is it reproducible, and if so: how? m.

Re: [Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-26 Thread Maik Justus
Hi, if I start fg in the debugger I get this error message when leaving fg by choosing exit flightgear. I got this error quite often, but I am not sure if I got it all times. Starting on command line the crash is not visible (fg crashes and exits due to this crash without error-message,

Re: [Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-26 Thread Maik Justus
Hi, probably the bug is fixed by the patch from melchior (in cvs now). Maik Justus schrieb am 26.11.2006 12:37: Melchior FRANZ schrieb am 26.11.2006 12:16: * Maik Justus -- Tuesday 14 November 2006 21:42: I found another bug. While exiting fg, I got a crash. The crashed

Re: [Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-26 Thread Maik Justus
Hi Melchior, thanks for the explanation! Maik Melchior FRANZ schrieb am 26.11.2006 13:28: * Maik Justus -- Tuesday 21 November 2006 22:17: - Why is it necessary to set the path to /ai/models/model-removed ? Most features aren't necessary, but there's a reason why they are there.

Re: [Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-21 Thread Maik Justus
Hi, had anyone a look on this? We should fix this. - Can we assure to call this destructor first and then destruct _path_cache? - Why is it necessary to set the path to /ai/models/model-removed ? Wouldn't it work without this? Maik Maik Justus schrieb am 14.11.2006 21:42: Hi, I found another

[Flightgear-devel] Bug in FGAIBase::~FGAIBase() (AIBase.cxx)

2006-11-14 Thread Maik Justus
Hi, I found another bug. While exiting fg, I got a crash. The crashed function is called by FGAIBase::~FGAIBase() line 71: fgSetString(/ai/models/model-removed, props-getPath()); This calls SGPropertyNode::getNode (const char * relative_path, bool create) where _path_cache is referenced. But