Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Durk Talsma
On Saturday 13 October 2007 22:43, Melchior FRANZ wrote: > * Melchior FRANZ -- Saturday 13 October 2007: > > Whatever ... you deleted something too much. Okay, this should be fixed now: Navaid objects were shared by the TACAN and DME lists. Changing the regular pointer to an SGSharedPointer appea

Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Erik Hofman
Durk Talsma wrote: > hi, > > While trying to hunt down some memory leaks reported by valgrind, I noticed > that many variables in FGGlobals (which are mainly pointers to many of the > big data structures and subsystem classes) are not deleted upon program exit. > > In most cases adding explic

Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Durk Talsma
Hi Erik On Sunday 14 October 2007 10:28, Erik Hofman wrote: > If memory servers me well I would think those are freed using the > atexit() mechanism. It could well be that valgrind doesn't work up to > that point to detect it though. > It looks like the current exit calling sequence is something

Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Melchior FRANZ
* Durk Talsma -- Sunday 14 October 2007: > Please try and see if my latest commit fixes this... Doesn't. I just got a "corrupted double-linked list". But that's now not at every exit. m. - This SF.net email is sponsored by:

Re: [Flightgear-devel] backtrace dump

2007-10-14 Thread Tobias Nielsen
Na, problem still persists - i have a faint idea that it may have something todo with the global vars deletion problem currently mentioned in another thread 2007/10/14, Robert Black <[EMAIL PROTECTED]>: > On Saturday 13 October 2007 14:28, Tobias Nielsen wrote: > > Does anyone has a good input on

Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Melchior FRANZ
* Melchior FRANZ -- Sunday 14 October 2007: > I just got a "corrupted double-linked list". But that's > now not at every exit. This might not be connected to your FGGlobals or any other recent change. I could so far only reproduce it on exit after I had teleported a lot, and after lots of "WARNING

Re: [Flightgear-devel] Deleting globals

2007-10-14 Thread Durk Talsma
On Sunday 14 October 2007 13:21, Melchior FRANZ wrote: > * Melchior FRANZ -- Sunday 14 October 2007: > > I just got a "corrupted double-linked list". But that's > > now not at every exit. > > This might not be connected to your FGGlobals or any other recent > change. I could so far only reproduce i

Re: [Flightgear-devel] optimized generic_pylons and .osg models

2007-10-14 Thread Jon Stockill
Tim Moore wrote: > Andy's suggestion doesn't work for my purposes; I don't know of a way to > change > all the references to generic_pylon_01.ac, etc. embedded in .stg files without > rebuilding the scenery. Furthermore, this is not so much for my benefit, > because Exactly the same way I did f