Crashes / Disconnects

Old bugs stored here for reference.
Locked
User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Crashes / Disconnects

Post by Scatman » Fri Jan 23, 2009 6:02 pm

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.

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: Crashes / Disconnects

Post by John Adams » Fri Jan 23, 2009 6:07 pm

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.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Crashes / Disconnects

Post by LethalEncounter » Fri Jan 23, 2009 6:07 pm

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.

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Crashes / Disconnects

Post by Scatman » Fri Jan 23, 2009 6:15 pm

Ack, oops. Thanks LE.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Crashes / Disconnects

Post by LethalEncounter » Fri Jan 23, 2009 10:23 pm

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)

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Crashes / Disconnects

Post by Scatman » Fri Jan 23, 2009 10:32 pm

Awesome :) Will it show up in the chat window with /luadebug on?

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Crashes / Disconnects

Post by LethalEncounter » Fri Jan 23, 2009 10:45 pm

Yup yup.

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Crashes / Disconnects

Post by Scatman » Fri Jan 23, 2009 10:51 pm

Thanks!

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: Crashes / Disconnects

Post by John Adams » Fri Jan 23, 2009 11:20 pm

Very nice. I'll get this updated on Tess right away.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Crashes / Disconnects

Post by LethalEncounter » Sat Jan 24, 2009 1:00 am

About to check in a fix for the spell crash that you guys just found :P

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: Crashes / Disconnects

Post by John Adams » Sat Jan 24, 2009 2:04 am

We found another crash? I wasn't even looking. Damn, I am good.

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Crashes / Disconnects

Post by Scatman » Sat Jan 24, 2009 2:06 am

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? :)

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Crashes / Disconnects

Post by LethalEncounter » Sat Jan 24, 2009 8:49 am

That one was an old fashioned crash, not a deadlock. The spell was deleted before the system was finished with it.

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: Crashes / Disconnects

Post by John Adams » Sat Jan 24, 2009 9:25 pm

What is this???
Sat 01/24/2009 20:58:50.70: EQ2 Crashed
;) If I see it again, I'll debug.

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: Crashes / Disconnects

Post by John Adams » Sat Jan 24, 2009 10:02 pm

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.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests