Crashes / Disconnects
- 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
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.
- 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
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
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.
- 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
Ack, oops. Thanks LE.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: Crashes / Disconnects
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)
RegisterQuest(NPC)
You will get the error:
Invalid data type used for GetQuest in @SpawnScripts/QueensColony/MurrarShar.lua (line 22)
- 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
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
Yup yup.
- 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
Thanks!
- 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
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
About to check in a fix for the spell crash that you guys just found 
- 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
We found another crash? I wasn't even looking. Damn, I am good.
- 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
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
That one was an old fashioned crash, not a deadlock. The spell was deleted before the system was finished with it.
- 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
What is this???
If I see it again, I'll debug.
Sat 01/24/2009 20:58:50.70: EQ2 Crashed
- 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
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.
This is the latest dev svn (579), and yes I make clean and make 
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.
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)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.
Who is online
Users browsing this forum: No registered users and 0 guests