Page 1 of 1

[Fixed]Crash while leveling

Posted: Sun Oct 12, 2014 9:27 pm
by Jabantiz
There was an issue on the EQ2Emulator server where when a new player leveled it would crash the server, I believe it was a DoV client and I have been unable to reproduce this crash on my local server or on the EQ2Emulator server so honestly no clue what was/is causing it.

Re: Crash while leveling

Posted: Tue Oct 14, 2014 2:43 pm
by Jabantiz
Turned out to be an issue with the default guild not having any event filters in the DB. Finally got a call stack, putting it here for future reference but this should no longer happen. See this post for more details
#0 0x081dc1c0 in MutexMap<unsigned char, unsigned char>::Get(unsigned char) ()
#1 0x081d354a in Guild::AddNewGuildEvent (this=0xb2401e48,
type=<value optimized out>,
description=0x839ce20 "%s has gained an adventure level and is now a level %u %s.", date=1413319477, send_packet=true) at Guilds/Guild.cpp:1358
#2 0x0814caa8 in Client::ChangeLevel (this=0xaaa00018, old_level=1,
new_level=2) at client.cpp:3369
#3 0x0819c970 in Commands::Process (this=0x8431980, index=3,
command_parms=0x9eafa0cc, client=0xaaa00018) at Commands/Commands.cpp:1684
#4 0x0815e9a7 in Client::HandlePacket (this=0xaaa00018, app=0xa7fd7698)
at client.cpp:1487
#5 0x081604b7 in Client::Process (this=0xaaa00018, zone_process=true)
at client.cpp:2253
#6 0x083639f5 in ZoneServer::ClientProcess (this=0xa4900018)
at zoneserver.cpp:2617
#7 0x083764ed in ZoneServer::Process (this=0xa4900018) at zoneserver.cpp:1205
#8 0x08376a17 in ZoneLoop (tmp=0xa4900018) at zoneserver.cpp:5587
#9 0xb7c6a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7bd998e in clone () from /lib/tls/i686/cmov/libc.so.6