Page 13 of 24

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 6:02 pm
by Scatman
There was another player on in a different zone than either of us. Not sure what he was doing. I was literally just standing still though, tabbed out editing a spawn script.

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 6:07 pm
by John Adams
Nah, not the second crash after we came back up. I just did a /who all because after I zoned I saw 3 chars online, and only you and I were listed.

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 6:07 pm
by LethalEncounter
Looks like one of your conversations might be messed up in one of your scripts. I'm going to add some error checking code to prevent this from happening as well as tell you in what script it is in.

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 6:15 pm
by Scatman
Ack, oops. Thanks LE.

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 10:23 pm
by LethalEncounter
OK, I am about to check it in. Just be sure to check out the logs to see what is causing it so you can fix it. If for example you try to pass a Spawn object to a function that is expecting a Quest object:

RegisterQuest(NPC)

You will get the error:
Invalid data type used for GetQuest in @SpawnScripts/QueensColony/MurrarShar.lua (line 22)

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 10:32 pm
by Scatman
Awesome :) Will it show up in the chat window with /luadebug on?

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 10:45 pm
by LethalEncounter
Yup yup.

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 10:51 pm
by Scatman
Thanks!

Re: Crashes / Disconnects

Posted: Fri Jan 23, 2009 11:20 pm
by John Adams
Very nice. I'll get this updated on Tess right away.

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 1:00 am
by LethalEncounter
About to check in a fix for the spell crash that you guys just found :P

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 2:04 am
by John Adams
We found another crash? I wasn't even looking. Damn, I am good.

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 2:06 am
by Scatman
Haha, I got Jack to come and make a character on LE's sever to try to crash it since I can't seem to do it by myself. More people, more threads, more potential deadlocks right? :)

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 8:49 am
by LethalEncounter
That one was an old fashioned crash, not a deadlock. The spell was deleted before the system was finished with it.

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 9:25 pm
by John Adams
What is this???
Sat 01/24/2009 20:58:50.70: EQ2 Crashed
;) If I see it again, I'll debug.

Re: Crashes / Disconnects

Posted: Sat Jan 24, 2009 10:02 pm
by John Adams
Hey LE, I am finally able to mess around with Linux again and when I run just plain old ./eq2world and /zone, I get billions of Got signal 11's that won't quit. I have to CTRL-Z and kill -9 the pid. However, I was smart this time and remembered dbg and bt, so here ya go. Looks kinda like the Windows crap I've been posting.

Code: Select all

Unhandled command: clearallqueuedabilities
   0: 01 00 07 00 64 65 74 61 - 69 6C 73                 | ....details
   0: 14 00 03 00 31 34 36                               | ....146
Zone access check for Freeport1Room2
Grabbing zone requirements for Freeport1Room2
Zone Requirements: 0 status to override negative status requirement, 0 status to                                                                                                                                override level requirement.
Loading new Zone 'Freeport1Room2'
[New Thread -1308623984 (LWP 26411)]
[New Thread -1319113840 (LWP 26412)]
AddAuth: 89 Key: 1232859611
Loaded 0 NPC(s), 0 Object(s), 0 Widget(s), 0 Sign(s), 0 GroundSpawn(s).
OP_ReadyToZone: Player Olaf zoning to Freeport1Room2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1276064880 (LWP 26403)]
0x080ea6ac in Client::Process (this=0xe1c43e0, zone_process=true)
    at client.cpp:1310
1310            if (!eqs->CheckActive()) {
Missing separate debuginfos, use: debuginfo-install e2fsprogs.i386 gcc.i386 glib                                                                                                                               c.i686 keyutils.i386 krb5.i386 libselinux.i386 lua.i386 mysql.i386 openssl.i686                                                                                                                                zlib.i386
(gdb) bt
#0  0x080ea6ac in Client::Process (this=0xe1c43e0, zone_process=true)
    at client.cpp:1310
#1  0x0815db92 in ZoneServer::ClientProcess (this=0xe491c88)
    at zoneserver.cpp:1371
#2  0x0817062c in ZoneServer::Process (this=0xe491c88) at zoneserver.cpp:764
#3  0x081708cb in ZoneLoop (tmp=0xe491c88) at zoneserver.cpp:2818
#4  0x00ced50b in start_thread () from /lib/libpthread.so.0
#5  0x00c2eb2e in clone () from /lib/libc.so.6
(gdb)
This is the latest dev svn (579), and yes I make clean and make :P

PS: this seems to be happening on my dev server everytime I /zone. This has super raw data though too. so hopefully that isn't the cause.