Crashes / Disconnects

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:

Re: Crashes / Disconnects

Post by John Adams » Thu Apr 02, 2009 10:09 am

Woot. Caught one!

Code: Select all

>	EQ2WorldDebug.exe!Mutex::lock()  Line 109 + 0x3 bytes	C++
 	EQ2WorldDebug.exe!ZoneServer::RemovePlayerProximity(Client * client=0x19c63178)  Line 2699	C++
 	EQ2WorldDebug.exe!Client::~Client()  Line 136	C++
 	EQ2WorldDebug.exe!Client::`scalar deleting destructor'()  + 0x14 bytes	C++
 	EQ2WorldDebug.exe!ClientList::Process()  Line 1509 + 0x31 bytes	C++
 	EQ2WorldDebug.exe!main(int argc=1, char * * argv=0x00352c98)  Line 273	C++
 	EQ2WorldDebug.exe!__tmainCRTStartup()  Line 318 + 0x19 bytes	C
 	EQ2WorldDebug.exe!mainCRTStartup()  Line 187	C
 	kernel32.dll!77e6f23b() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
No idea what happened, this is the stack.

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

Re: Crashes / Disconnects

Post by LethalEncounter » Thu Apr 02, 2009 6:10 pm

kk, still trying to get the latest working, will try to fix this tomorrow.

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 Apr 03, 2009 6:51 am

No worries man, just reporting the news. Take your time. The only ones that are "chop chop!" (hurry now immediately, as my co-worker says to me daily)... are those that prohibit any sort of viable play/testing. :)

I would like to ask that we find a way to break out of a Got signal 11! loop when it's encountered, rather than continually loop forever. That and the Removing client (loop) I also reported. Both of these I imagine we can brutally terminate if we had to, hopefully?

Again, not immediate, but whenever you get to it.

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

Re: Crashes / Disconnects

Post by LethalEncounter » Fri Apr 03, 2009 5:03 pm

I'm going to go ahead and check in my code for the latest client. There are some issues still, but at least it can connect. I'll hopefully fix the remaining issues tomorrow.

User avatar
Xanibunib
Retired
Posts: 121
Joined: Thu Mar 06, 2008 11:01 pm
EQ2Emu Server: RENS
Location: Colorado

Re: Crashes / Disconnects

Post by Xanibunib » Fri Apr 03, 2009 6:00 pm

I updated everything from the private SVn about, 2 seconds ago, and copied the structs to the worldserver folder and the compiled world.exe however I get this when trying to connect to my server....

Code: Select all

[Status] Using database 'eq2world' at localhost
[Status] CURRENT_WORLD_VERSION:EQ2EMu 0.6.5 Developer Alpha
[Status] ./LoginServer.ini read.
[Status] Loading opcodes..
[Status] Loading structs..
[Status] Loading command list..
[Status] Loaded 506 entity command lists.
[Status] Loaded 3907 NPC(s).
[Status] Loaded 627 Object(s).
[Status] Loaded 85 GroundSpawn(s).
[Status] Loaded 467 Widget(s).
[Status] Loaded 567 Sign(s).
[Status] Loading ground spawn items..
[Status] Loading loot data..
[Status]        Loaded 4 loot tables.
[Status]        Loaded 8 loot drops.
[Status]        Loaded 4 spawn loot lists.
[Status] Loading Transporter Information..
[Status]        Loaded 24 Teleporter(s)
[Status] Loaded global variables list..
[Status] Loaded visual states list..
[Status] Loading World Time..
[Status] Loading items.. (this might take a few minutes)
[Status]        Loaded 282 Bag(s)
[Status]        Loaded 2072 Food(s)
[Status]        Loaded 14064 Weapon(s)
[Status]        Loaded 32761 Armor/Shield Piece(s)
[Status]        Loaded 0 Skill Item(s)
[Status]        Loaded 9906 Regular Items
[Status] Loading spells..
[Status]        Loaded 3955 Spell(s)
[Status] Loading LUA spells..
[Status]        Loaded 24 LUA Spell(s)
[Status] Loading factions..
[Status]        Loaded 206 Factions
[Status] Loading skills..
[Status]        Loaded 129 Skills
[Status] Loading Quests..
[Status]        Loaded 143 Quest(s)
[Status] Loading Merchant Information..
[Status]        Loaded 206 Merchant List(s)
[Status]        Loaded 0 Merchant Multiplier(s)
[Status] Loading Spawn Script Information..
[Status] Loading Zone Script Information..
[Status] Loading EQ time of day..
<Rogean>: There is only Everquest and Food, no Sleep.
Starting factory Reader
Starting factory Writer
World server listening on: 127.0.0.1:9000
Starting static zones...
Connected to LoginServer: www.eq2emulator.net:9100
AddAuth: 1667 Key: 1238806752
428938 New client from ip: 127.0.0.1 port: 2386
Combined Packet!
ZoneAuth: Access Key, 1238806752, Character Name, Knuckles, Account ID, 1667, Ti
meStamp, 1238806753
Loading new Zone 'OutpostOverlord'
Loaded Incompatible version : 954
1597 NPC(s), 164 Object(s), 1 Widget(s), 41 Sign(s), 126 GroundSpawn(s).
OP_ClientIdleBeginMsg Received 0x017a
   0: 00 00                                              | ..
OP_ClientIdleBeginMsg Received 0x017a
   0: 01 00                                              | ..
OP_ClientIdleBeginMsg Received 0x017a
   0: 01 00                                              | ..
OP_WorldPingMsg Received 0x0175
World: Removing client from ip:127.0.0.1 port:2386
R
I'm using client 5499L, which I have been using to connect to TessDev and it works fine. Did I not copy something to the right place?
Village idiot...

Bion
Retired
Posts: 241
Joined: Sun Sep 16, 2007 1:47 pm

Re: Crashes / Disconnects

Post by Bion » Fri Apr 03, 2009 6:54 pm

you need to update your opcodes

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 Apr 03, 2009 6:55 pm

Hmm. Wonder why I spent so much time writing a admins guide and including it with the serverpack for this exact problem?

;)

User avatar
Xanibunib
Retired
Posts: 121
Joined: Thu Mar 06, 2008 11:01 pm
EQ2Emu Server: RENS
Location: Colorado

Re: Crashes / Disconnects

Post by Xanibunib » Fri Apr 03, 2009 7:03 pm

Hmm ok, updating opcodes.. i'll look into that :P
Village idiot...

User avatar
Xanibunib
Retired
Posts: 121
Joined: Thu Mar 06, 2008 11:01 pm
EQ2Emu Server: RENS
Location: Colorado

Re: Crashes / Disconnects

Post by Xanibunib » Sat Apr 04, 2009 1:12 am

BOOM! Tried to change the color of the horse... from 255, 255, 255, 255, 255, 255 to 1, 1, 1, 255, 1, 1, 1
Village idiot...

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 Apr 04, 2009 1:18 am

Not sure if it was that, or this.

One thing to keep in mind... I was online many hours today, Scatman joining me. Everything was fine until I started consecutive /reload spawns commands while populating a few more zones.

Suspect!

User avatar
Xanibunib
Retired
Posts: 121
Joined: Thu Mar 06, 2008 11:01 pm
EQ2Emu Server: RENS
Location: Colorado

Re: Crashes / Disconnects

Post by Xanibunib » Sat Apr 04, 2009 1:30 am

True... I did it again to change the other horse's color and it went without a hitch so... *shrug* Yay, guards on horses!
Village idiot...

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: Crashes / Disconnects

Post by ZexisStryfe » Sat Apr 04, 2009 6:44 am

LE,

I just tried connecting to my server with the live client, and while it works (Hate meter too!) all of my npcs now look like players (light blue names) and are all "(linkdead)"

When connecting with 5499 they are all normal. Is this a known problem with the new client?
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

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

Re: Crashes / Disconnects

Post by LethalEncounter » Sat Apr 04, 2009 7:20 pm

ZexisStryfe wrote:LE,

I just tried connecting to my server with the live client, and while it works (Hate meter too!) all of my npcs now look like players (light blue names) and are all "(linkdead)"

When connecting with 5499 they are all normal. Is this a known problem with the new client?

Which is what I was referring to:
LethalEncounter wrote:There are some issues still, but at least it can connect. I'll hopefully fix the remaining issues tomorrow.

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: Crashes / Disconnects

Post by ZexisStryfe » Sat Apr 04, 2009 9:08 pm

Yeah, that's what i thought. I just wanted to make sure :P
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

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 » Sun Apr 05, 2009 11:47 am

Not sure if this will tell you anything, but apparently after I passed out, we had another core dump. My shell to Dev was left open so I got this on the screen:

Code: Select all

[john@mmo-everquest2 dev]$ *** glibc detected *** ./eq2world: free(): invalid next size (fast): 0xa7aa53c0 ***
======= Backtrace: =========
/lib/libc.so.6[0xbc4ac1]
/lib/libc.so.6(cfree+0x90)[0xbc80f0]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x5d4f6f1]
./eq2world(_ZN12LuaInterface18DeleteUserDataPtrsEb+0xdb)[0x81d8b0b]
./eq2world(_ZN12LuaInterfaceD1Ev+0x52)[0x81dbce2]
./eq2world(main+0xe72)[0x80fe0a0]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb71390]
./eq2world(__gxx_personality_v0+0x2dd)[0x8088701]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0          [vdso]
00111000-0013a000 r-xp 00000000 fd:00 3571152    /usr/lib/liblua-5.1.so
0013a000-0013b000 rw-p 00029000 fd:00 3571152    /usr/lib/liblua-5.1.so
0013b000-00154000 r-xp 00000000 fd:00 2091351    /lib/libselinux.so.1
00154000-00156000 rw-p 00018000 fd:00 2091351    /lib/libselinux.so.1
00156000-00160000 r-xp 00000000 fd:00 2091116    /lib/libnss_files-2.7.so
00160000-00161000 r--p 00009000 fd:00 2091116    /lib/libnss_files-2.7.so
00161000-00162000 rw-p 0000a000 fd:00 2091116    /lib/libnss_files-2.7.so
00162000-00166000 r-xp 00000000 fd:00 2091114    /lib/libnss_dns-2.7.so
00166000-00167000 r--p 00003000 fd:00 2091114    /lib/libnss_dns-2.7.so
00167000-00168000 rw-p 00004000 fd:00 2091114    /lib/libnss_dns-2.7.so
002cb000-002e0000 r-xp 00000000 fd:00 2091205    /lib/libnsl-2.7.so
002e0000-002e1000 r--p 00014000 fd:00 2091205    /lib/libnsl-2.7.so
002e1000-002e2000 rw-p 00015000 fd:00 2091205    /lib/libnsl-2.7.so
002e2000-002e4000 rw-p 002e2000 00:00 0
004d9000-005fa000 r-xp 00000000 fd:00 4084558    /usr/lib/mysql/libmysqlclient.so.15.0.0
005fa000-0063c000 rw-p 00120000 fd:00 4084558    /usr/lib/mysql/libmysqlclient.so.15.0.0
0063c000-0063d000 rw-p 0063c000 00:00 0
00754000-00764000 r-xp 00000000 fd:00 2091203    /lib/libresolv-2.7.so
00764000-00765000 r--p 00010000 fd:00 2091203    /lib/libresolv-2.7.so
00765000-00766000 rw-p 00011000 fd:00 2091203    /lib/libresolv-2.7.so
00766000-00768000 rw-p 00766000 00:00 0
0078f000-00791000 r-xp 00000000 fd:00 4183319    /lib/libcom_err.so.2.1
00791000-00792000 rw-p 00001000 fd:00 4183319    /lib/libcom_err.so.2.1
0082e000-00836000 r-xp 00000000 fd:00 3574658    /usr/lib/libkrb5support.so.0.1
00836000-00837000 rw-p 00007000 fd:00 3574658    /usr/lib/libkrb5support.so.0.1
0083f000-00841000 r-xp 00000000 fd:00 2091362    /lib/libkeyutils-1.2.so
00841000-00842000 rw-p 00001000 fd:00 2091362    /lib/libkeyutils-1.2.so
0087c000-00999000 r-xp 00000000 fd:00 2091369    /lib/libcrypto.so.0.9.8b
00999000-009ab000 rw-p 0011d000 fd:00 2091369    /lib/libcrypto.so.0.9.8b
009ab000-009af000 rw-p 009ab000 00:00 0
009b1000-009bc000 r-xp 00000000 fd:00 2091338    /lib/libgcc_s-4.1.2-20070925.so.1
009bc000-009bd000 rw-p 0000a000 fd:00 2091338    /lib/libgcc_s-4.1.2-20070925.so.1
009bf000-009e4000 r-xp 00000000 fd:00 3574660    /usr/lib/libk5crypto.so.3.1
009e4000-009e5000 rw-p 00025000 fd:00 3574660    /usr/lib/libk5crypto.so.3.1
009e7000-00a14000 r-xp 00000000 fd:00 3573444    /usr/lib/libgssapi_krb5.so.2.2
00a14000-00a15000 rw-p 0002d000 fd:00 3573444    /usr/lib/libgssapi_krb5.so.2.2
00a17000-00a58000 r-xp 00000000 fd:00 4183689    /lib/libssl.so.0.9.8b
00a58000-00a5c000 rw-p 00040000 fd:00 4183689    /lib/libssl.so.0.9.8b
00a5e000-00aee000 r-xp 00000000 fd:00 3573443    /usr/lib/libkrb5.so.3.3
00aee000-00af1000 rw-p 0008f000 fd:00 3573443    /usr/lib/libkrb5.so.3.3
00b3c000-00b57000 r-xp 00000000 fd:00 2091142    /lib/ld-2.7.so
00b57000-00b58000 r--p 0001a000 fd:00 2091142    /lib/ld-2.7.so
00b58000-00b59000 rw-p 0001b000 fd:00 2091142    /lib/ld-2.7.so
00b5b000-00cae000 r-xp 00000000 fd:00 2091144    /lib/libc-2.7.so
00cae000-00cb0000 r--p 00153000 fd:00 2091144    /lib/libc-2.7.so
00cb0000-00cb1000 rw-p 00155000 fd:00 2091144    /lib/libc-2.7.so
00cb1000-00cb4000 rw-p 00cb1000 00:00 0
00cb6000-00cb9000 r-xp 00000000 fd:00 2091146    /lib/libdl-2.7.so
00cb9000-00cba000 r--p 00002000 fd:00 2091146    /lib/libdl-2.7.so
00cba000-00cbb000 rw-p 00003000 fd:00 2091146    /lib/libdl-2.7.so
00cbd000-00ce4000 r-xp 00000000 fd:00 2091181    /lib/libm-2.7.so
00ce4000-00ce5000 r--p 00026000 fd:00 2091181    /lib/libm-2.7.so
00ce5000-00ce6000 rw-p 00027000./persist_world: line 13:  2308 Aborted                 (core dumped) sudo -u eq2emu ./eq2world "$@"
We'll start running in gdb, since there are more and more crashes with the more work we're doing.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest