[Solved] Weapon Segfault

Found a bug? Report it here.

Moderator: PPS-Leaders

Locked
User avatar
patrick
Baron Vladimir Harkonnen
Posts: 350
Joined: Mon Oct 02, 2006 6:03 pm
Location: Bern

[Solved] Weapon Segfault

Post by patrick » Wed Jan 24, 2007 1:00 pm

(EE)::world_entities/projectiles/lbolt.cc:78:Deleting LBolt Particles
(EE)::coord/p_node.cc:90:Node same as last that was tried to be deleted. FORCE reparent to NULL of 0x8b94100
*** glibc detected *** double free or corruption (out): 0x09ce5ad8 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 19247)]
0xb6f88821 in kill () from /lib/libc.so.6
(gdb) bt
#0 0xb6f88821 in kill () from /lib/libc.so.6
#1 0xb6f15cb1 in pthread_kill () from /lib/libpthread.so.0
#2 0xb6f1602b in raise () from /lib/libpthread.so.0
#3 0xb6f885b8 in raise () from /lib/libc.so.6
#4 0xb6f89a40 in abort () from /lib/libc.so.6
#5 0xb6fbc74e in __fsetlocking () from /lib/libc.so.6
#6 0xb6fc2506 in malloc_usable_size () from /lib/libc.so.6
#7 0xb6fc2f7f in free () from /lib/libc.so.6
#8 0xb71499e1 in operator delete () from /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.so.6
#9 0x08188a1c in std::list<WorldEntity*, std::allocator<WorldEntity*> >::erase (this=0x8e958ec) at new_allocator.h:86
#10 0x081b1e67 in ObjectManager::toList (this=0x8e95858, omList=-1225659232) at world_entity.h:127
#11 0x081852ab in ~WorldEntity (this=0x9ce5428, __vtt_parm=0x8306f28) at state.h:59
#12 0x0819e80f in ~Projectile (this=0x9ce5428, __vtt_parm=0x8306f24) at projectile.cc:58
#13 0x080b9488 in ~AcidSplash (this=0x9ce5428) at acid_splash.cc:72
#14 0x082da125 in ~PNode (this=0x877bbe8, __vtt_parm=0xb6f1bff4) at p_node.cc:117
#15 0x082db244 in ~NullParent (this=0x877bbe8) at p_node.cc:1122
#16 0x0815a15b in GameWorldData::unloadWorldEntities (this=0x86c02b0) at object_list.h:77
#17 0x0815ec6b in SinglePlayerWorldData::unloadWorldEntities (this=0x86c02b0) at single_player_world_data.cc:89
#18 0x08157e9e in GameWorldData::unloadData (this=0x86c02b0) at game_world_data.cc:144
#19 0x081531a4 in GameWorld::unloadData (this=0x86c01a0) at game_world.cc:216
#20 0x08150c77 in Campaign::run (this=0x84d21e0) at campaign.cc:155
#21 0x08150b91 in Campaign::start (this=0x84d21e0) at campaign.cc:85
#22 0x082c8771 in GameLoader::start (this=0x0) at game_loader.cc:163
#23 0x0816d050 in Orxonox::start (this=0x848bd60) at orxonox.cc:417
#24 0x08170382 in startOrxonox (argc=2, argv=0xbffdad74, name=@0xbffdab30, port=-1) at orxonox.cc:573
#25 0x08171a11 in main (argc=2, argv=0xbffdad74) at new_allocator.h:62
Last edited by patrick on Wed Jan 24, 2007 9:08 pm, edited 1 time in total.

Marc
Human Space Navy Major
Posts: 41
Joined: Tue Oct 24, 2006 7:45 pm
Contact:

Post by Marc » Wed Jan 24, 2007 3:36 pm

Fixed on Playability.

Forgot to change the list of a child on destructor.

Locked

Who is online

Users browsing this forum: No registered users and 13 guests