World Hung after Group Invites

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

World Hung after Group Invites

Post by John Adams » Fri May 30, 2014 10:21 pm

No crash, just hung. Broke the code, and did a bt, this is what shows:

Code: Select all

22:13:41 D Guilds    : Guild Member logged out.
22:13:41 I Zone      : Removing connection for client 'Lithillia'.
^C
Program received signal SIGINT, Interrupt.
0xb7fe2430 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7ba3936 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7bd338c in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x08108d37 in Sleep (x=1) at ../common/unix.cpp:26
#4  0x080ec65c in Mutex::waitReaders (this=0x8428008, function=0x83be02a "SetPendingGroup", line=2094) at ../common/Mutex.cpp:270
#5  0x080ec69c in Mutex::writelock (this=0x8428008, function=0x83be02a "SetPendingGroup", line=2094) at ../common/Mutex.cpp:181
#6  0x082fb41b in World::SetPendingGroup (this=0x8427e80, name=0xa0fb466 "Lithillia", leader=0x0) at World.cpp:2094
#7  0x081364bd in ~Client (this=0xf40e520, __in_chrg=<value optimized out>) at client.cpp:176
#8  0x08385a94 in MutexList<Client*>::update(bool) ()
#9  0x08385d7b in MutexList<Client*>::Remove(Client*, bool, unsigned int) ()
#10 0x0835342b in ZoneServer::RemoveClientImmediately (this=0xb45d8bd8, client=0xf40e520) at zoneserver.cpp:2628
#11 0x08158c23 in Client::HandlePacket (this=0xa874258, app=0xa6d61c78) at client.cpp:887
#12 0x0815da48 in Client::Process (this=0xa874258, zone_process=false) at client.cpp:2220
#13 0x0815df69 in ClientList::Process (this=0x84291e0) at client.cpp:2396
#14 0x0824927f in main (argc=1, argv=0xbffff824) at net.cpp:418

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: World Hung after Group Invites

Post by John Adams » Sat May 31, 2014 7:26 am

Another stack related to grouping.

Code: Select all

00:29:10 D Spawns    : -Repop complete!
00:29:10 I Spawns    : Reload Spawns completed! (took 1 seconds)
00:29:10 I Spawn     : Loaded for zone 'Everfrost' (41):
        0 NPC(s), 157 Object(s), 2 Widget(s)
        13 Sign(s), 296 Ground Spawn(s), 0 Spawn Group(s)
        0 Spawn Group Association(s), 0 Spawn Group Chance(s)
00:29:11 I Spawn     : Loaded for zone 'ForbiddenSepulcher' (595):
        0 NPC(s), 0 Object(s), 0 Widget(s)
        1 Sign(s), 0 Ground Spawn(s), 0 Spawn Group(s)
        0 Spawn Group Association(s), 0 Spawn Group Chance(s)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xafffbb70 (LWP 11026)]
0x08255208 in Player::GetGroup (this=0xffff8f4f) at Player.cpp:3735
3735    PlayerGroup* Player::GetGroup(){
(gdb) bt
#0  0x08255208 in Player::GetGroup (this=0xffff8f4f) at Player.cpp:3735
#1  0x0813646f in ~Client (this=0xa9fc2bf8, __in_chrg=<value optimized out>) at client.cpp:174
#2  0x08385a94 in MutexList<Client*>::update(bool) ()
#3  0x0835f3ca in MutexList<Client*>::size (this=0xadd3bd00) at MutexList.h:132
#4  ZoneServer::ClientProcess (this=0xadd3bd00) at zoneserver.cpp:2642
#5  0x08370adf in ZoneServer::Process (this=0xadd3bd00) at zoneserver.cpp:1217
#6  0x08371007 in ZoneLoop (tmp=0xadd3bd00) at zoneserver.cpp:5765
#7  0xb7c6a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb7bd998e in clone () from /lib/tls/i686/cmov/libc.so.6

Locked

Who is online

Users browsing this forum: No registered users and 0 guests