Author: gentildemon
Date: Fri Apr 25 12:15:22 2008
New Revision: 4278
URL: http://svn.gna.org/viewcvs/wormux?rev=4278&view=rev
Log:
[BUGFIX] Try to avoid potential "double free" in XML Reader
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220023664 (LWP 31898)]
0xb792d7bc in free () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb792d7bc in free () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7bd1fcd in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#2 0xb7bd1f46 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#3 0xb7bd1f46 in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#4 0xb7bd1d6e in xmlFreeDoc () from /usr/lib/libxml2.so.2
#5 0x0816f1e4 in XmlReader::Reset (this=0x873c680) at tool/xml_document.cpp:33
#6 0x0816f1f7 in ~XmlReader (this=0x873c680) at tool/xml_document.cpp:38
#7 0x0816a59d in ~Profile (this=0x82e3a78) at tool/resource_manager.cpp:47
#8 0x0816a63f in ResourceManager::UnLoadXMLProfile (this=0x8207b5c,
profile=0x82e3a78) at tool/resource_manager.cpp:200
#9 0x08103c94 in GameMenu (this=0xbf9436ec) at menu/game_menu.cpp:120
Modified:
trunk/src/tool/xml_document.cpp
_______________________________________________
Wormux-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-cvs