Bugs: Difference between revisions

Jump to navigation Jump to search
1,222 bytes added ,  1 March 2007
yet more memory mismanagement
(memory mismanagement)
(yet more memory mismanagement)
Line 645: Line 645:


A patch is available, but has not been incorporated.
A patch is available, but has not been incorporated.
==== Yet more memory mismanagement ====
When FG is trying to exit, it is very likely to abort
with a message such as
  *** glibc detected *** double free or corruption (!prev): 0x0ad08b88 ***
There are at least three different instances of this bug,
each producing a different traceback.  Here is one such
traceback:
<code>
#0  0xb7573947 in raise () from /lib/tls/libc.so.6
#1  0xb75750c9 in abort () from /lib/tls/libc.so.6
#2  0xb75a908a in __libc_message () from /lib/tls/libc.so.6
#3  0xb75b094f in _int_free () from /lib/tls/libc.so.6
#4  0xb75b09f2 in free () from /lib/tls/libc.so.6
#5  0xb77373b1 in operator delete () from /usr/lib/libstdc++.so.6
#6  0x085455db in ~SGPropertyNode (this=0xad08b88) at props.cxx:766
#7  0x08545597 in ~SGPropertyNode (this=0xace47e8) at ../../simgear/structure/SGSharedPtr.hxx:93
#8  0x08545597 in ~SGPropertyNode (this=0x86d7728) at ../../simgear/structure/SGSharedPtr.hxx:93
#9  0x080821d3 in ~FGGlobals (this=0x86d7598) at globals.cxx:105
#10 0x0805a969 in fgExitCleanup () at bootstrap.cxx:237
#11 0xb75764f0 in exit () from /lib/tls/libc.so.6
#12 0x080919c7 in fgExit (status=0) at util.cxx:120
#13 0x0806e452 in do_exit (arg=0xf186950) at fg_commands.cxx:224
</code>


== Missing Features and Traps for the Unwary ==
== Missing Features and Traps for the Unwary ==
70

edits

Navigation menu