SVN Rev 6 - Client 4427L crashing world

Old bugs stored here for reference.
link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Wed Nov 07, 2007 7:06 am

You should use VS2003 as it's the compiler and IDE that the devs are using.
Image
-Vecinu de la Patru

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:

Post by John Adams » Wed Nov 07, 2007 1:37 pm

It is rev 7 now. I always update from svn before compiling, so it's usually up-to-date code. I suspect VS2005Pro, but do not have .net2003 to try it. So I just wait for release binaries. :)
Oh, and let me conclude - compiling the latest SVN on Linux works fine, so I am pretty sure it's my Winblows environment. Also very happy to report the load time on the entities is AMAZINGly fast on Linux. The client still crashes after a few zones, but much better than running a Windows binary in my experience.

ichijin
Retired
Posts: 16
Joined: Mon Aug 13, 2007 6:20 am

Post by ichijin » Wed Nov 07, 2007 7:54 pm

I use VS2005. Wasnt aware it was picky about that. Heh.

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Thu Nov 08, 2007 1:07 pm

John,
what Distro did you use and what compiler? gcc?
Image
-Vecinu de la Patru

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:

Post by John Adams » Thu Nov 08, 2007 4:17 pm

I am using Fedora Core 5, and gcc, uh.. 4? heh. ~blush~ I actually never looked.

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Thu Nov 08, 2007 6:06 pm

That's okay, thanks for the info. :)
Image
-Vecinu de la Patru

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:

Post by John Adams » Thu Nov 08, 2007 6:12 pm

LE, as of the latest SVN (30 mins ago), my Linux server no longer accepts connections either, and in fact is now dumping something hideous to the screen. I do not know if this helps figure out what's up.
[eq2emu@linux live]$ *** glibc detected *** ./world: malloc(): memory corruption: 0x00c1d109 ***
======= Backtrace: =========
/lib/libc.so.6[0xb51660]
/lib/libc.so.6(calloc+0x8e)[0xb529a2]
/lib/ld-linux.so.2(_dl_allocate_tls+0x3b)[0xae04fb]
/lib/libpthread.so.0(pthread_create+0x487)[0xc699e3]
./world(_ZN10ZoneServerC1EPc+0x300)[0x80d0850]
./world(_ZN8ZoneList3GetEPc+0x69)[0x80eb00f]
./world(_ZN6Client14GetCurrentZoneEv+0x29)[0x808b601]
./world(_ZN6Client12HandlePacketEP19EQApplicationPacket+0x635)[0x808f2b9]
./world(_ZN6Client7ProcessEb+0x81)[0x808fd33]
./world(_ZN10ClientList7ProcessEv+0x2c)[0x808fe90]
./world(main+0x951)[0x8094f33]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb027e4]
./world(__gxx_personality_v0+0xb9)[0x8064d51]
======= Memory map: ========
00111000-00152000 r-xp 00000000 fd:00 1998863 /lib/libssl.so.0.9.8a
00152000-00156000 rwxp 00040000 fd:00 1998863 /lib/libssl.so.0.9.8a
00156000-0015f000 r-xp 00000000 fd:00 4980777 /lib/libnss_files-2.4.so
0015f000-00160000 r-xp 00008000 fd:00 4980777 /lib/libnss_files-2.4.so
00160000-00161000 rwxp 00009000 fd:00 4980777 /lib/libnss_files-2.4.so
00195000-00197000 r-xp 00000000 fd:00 1998861 /lib/libcom_err.so.2.1
00197000-00198000 rwxp 00001000 fd:00 1998861 /lib/libcom_err.so.2.1
001ac000-001af000 r-xp 00000000 fd:00 2528756 /usr/lib/libkrb5support.so.0.0
001af000-001b0000 rwxp 00002000 fd:00 2528756 /usr/lib/libkrb5support.so.0.0
001b2000-001ca000 r-xp 00000000 fd:00 2550350 /usr/lib/libgssapi_krb5.so.2.2
001ca000-001cb000 rwxp 00017000 fd:00 2550350 /usr/lib/libgssapi_krb5.so.2.2
001cd000-002ec000 r-xp 00000000 fd:00 1998862 /lib/libcrypto.so.0.9.8a
002ec000-002ff000 rwxp 0011e000 fd:00 1998862 /lib/libcrypto.so.0.9.8a
002ff000-00302000 rwxp 002ff000 00:00 0
00304000-00328000 r-xp 00000000 fd:00 2550348 /usr/lib/libk5crypto.so.3.0
00328000-00329000 rwxp 00024000 fd:00 2550348 /usr/lib/libk5crypto.so.3.0
0032b000-0039e000 r-xp 00000000 fd:00 2550349 /usr/lib/libkrb5.so.3.2
0039e000-003a0000 rwxp 00073000 fd:00 2550349 /usr/lib/libkrb5.so.3.2
003ce000-003cf000 r-xp 003ce000 00:00 0 [vdso]
00412000-0041d000 r-xp 00000000 fd:00 1998873 /lib/libgcc_s-4.1.1-20070108.so.1
0041d000-0041e000 rwxp 0000a000 fd:00 1998873 /lib/libgcc_s-4.1.1-20070108.so.1
004ff000-005de000 r-xp 00000000 fd:00 2523142 /usr/lib/libstdc++.so.6.0.8
005de000-005e2000 r-xp 000de000 fd:00 2523142 /usr/lib/libstdc++.so.6.0.8
005e2000-005e3000 rwxp 000e2000 fd:00 2523142 /usr/lib/libstdc++.so.6.0.8
005e3000-005e9000 rwxp 005e3000 00:00 0
00662000-00666000 r-xp 00000000 fd:00 4980775 /lib/libnss_dns-2.4.so
00666000-00667000 r-xp 00003000 fd:00 4980775 /lib/libnss_dns-2.4.so
00667000-00668000 rwxp 00004000 fd:00 4980775 /lib/libnss_dns-2.4.so
00792000-008b1000 r-xp 00000000 fd:00 2917253 /usr/lib/mysql/libmysqlclient.so.15.0.0
008b1000-008f3000 rwxp 0011e000 fd:00 2917253 /usr/lib/mysql/libmysqlclient.so.15.0.0
008f3000-008f4000 rwxp 008f3000 00:00 0
00ad0000-00ae9000 r-xp 00000000 fd:00 1998849 /lib/ld-2.4.so
00ae9000-00aea000 r-xp 00018000 fd:00 1998849 /lib/ld-2.4.so
00aea000-00aeb000 rwxp 00019000 fd:00 1998849 /lib/ld-2.4.so
00aed000-00c19000 r-xp 00000000 fd:00 1998850 /lib/libc-2.4.so
00c19000-00c1c000 r-xp 0012b000 fd:00 1998850 /lib/libc-2.4.so
00c1c000-00c1d000 rwxp 0012e000 fd:00 1998850 /lib/libc-2.4.so
00c1d000-00c20000 rwxp 00c1d000 00:00 0
00c22000-00c24000 r-xp 00000000 fd:00 1998851 /lib/libdl-2.4.so
00c24000-00c25000 r-xp 00001000 fd:00 1998851 /lib/libdl-2.4.so
00c25000-00c26000 rwxp 00002000 fd:00 1998851 /lib/libdl-2.4.so
00c28000-00c4b000 r-xp 00000000 fd:00 1998852 /lib/libm-2.4.so
00c4b000-00c4c000 r-xp 00022000 fd:00 1998852 /lib/libm-2.4.so
00c4c000-00c4d000 rwxp 00023000 fd:00 1998852 /lib/libm-2.4.so
00c4f000-00c61000 r-xp 00000000 fd:00 2550351 /usr/lib/libz.so.1.2.3
00c61000-00c62000 rwxp 00011000 fd:00 2550351 /usr/lib/libz.so.1.2.3
00c64000-00c74000 r-xp 00000000 fd:00 1998854 /lib/libpthread-2.4.so
00c74000-00c75000 r-xp 0000f000 fd:00 1998854 /lib/libpthread-2.4.so
00c75000-00c76000 rwxp 00010000 fd:00 1998854 /lib/libpthread-2.4.so
00c76000-00c78000 rwxp 00c76000 00:00 0
00c82000-00c93000 r-xp 00000000 fd:00 1998856 /lib/libnsl-2.4.so
00c93000-00c94000 r-xp 00010000 fd:00 1998856 /lib/libnsl-2.4.so
00c94000-00c95000 rwxp 00011000 fd:00 1998856 /lib/libnsl-2.4.so
00c95000-00c97000 rwxp 00c95000 00:00 0
00da7000-00db6000 r-xp 00000000 fd:00 1998857 /lib/libresolv-2.4.so
00db6000-00db7000 r-xp 0000e000 fd:00 1998857 /lib/libresolv-2.4.so
00db7000-00db8000 rwxp 0000f000 fd:00 1998857 /lib/libresolv-2.4.so
00db8000-00dba000 rwxp 00db8000 00:00 0
03390000-03395000 r-xp 00000000 fd:00 1998858 /lib/libcrypt-2.4.so
03395000-03396000 r-xp 00004000 fd:00 1998858 /lib/libcrypt-2.4.so
03396000-03397000 rwxp 00005000 fd:00 1998858 /lib/libcrypt-2.4.so
03397000-033be000 rwxp 03397000 00:00 0
08048000-08114000 r-xp 00000000 fd:00 8029008 /home/eq2emu/servers/live/world
08114000-08115000 rw-p 000cc000 fd:00 8029008 /home/eq2emu/servers/live/world
08115000-08117000 rw-p 08115000 00:00 0
08d9a000-0b8ed000 rw-p 08d9a000 00:00 0 [heap]
b4b00000-b4b21000 rw-p b4b00000 00:00 0
b4b21000-b4c00000 ---p b4b21000 00:00 0
b4ce3000-b56e4000 rw-p b4ce3000 00:00 0
b56e4000-b56e5000 ---p b56e4000 00:00 0
b56e5000-b60e5000 rw-p b56e5000 00:00 0
b60e5000-b60e6000 ---p b60e5000 00:00 0
b60e6000-b6ae6000 rw-p b60e6000 00:00 0
b6ae6000-b6ae7000 ---p b6ae6000 00:00 0
b6ae7000-b74e7000 rw-p b6ae7000 00:00 0
b74e7000-b74e8000 ---p b74e7000 00:00 0
b74e8000-b7f6f000 rw-p b74e8000 00:00 0
b7f7c000-b7f7e000 rw-p b7f7c000 00:00 0
bfb69000-bfb7e000 rw-p bfb69000 00:00 0 [stack]
As for Windows, still compiles with barely a warning, and runs fine. Soon as the client taps the world, in Debug it's the assertion error. In Release, it simply crashes with a JIT to debug.
I am having no luck with compiles here. I would love to get you more info, but I just do not know what else to do. I'll try getting debug to work again, but the only thing I get doing what you suggested is launched into dbghook.* code for a view of the debug popup. :) So confused.

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

Post by LethalEncounter » Thu Nov 08, 2007 7:49 pm

kk, I'll try to debug it on linux.

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

Post by LethalEncounter » Thu Nov 08, 2007 8:12 pm

Can you run yours using gdb? I cant get mine to crash.
If you arent familiar with it just type:
gdb world <enter>
r <enter>
<enter> is the enter key obviously :) If it does crash type bt and paste the results here.
BTW, what zone are you trying to enter?

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

Post by LethalEncounter » Thu Nov 08, 2007 11:06 pm

OK, I got it fixed on VS .Net 2005. It was caused by STL container changes from VS .Net 2003. It will be on svn shortly.

Riven
Retired
Posts: 113
Joined: Thu Aug 30, 2007 3:11 am
Location: Spain

Post by Riven » Fri Nov 09, 2007 1:10 am

LethalEncounter wrote:OK, I got it fixed on VS .Net 2005. It was caused by STL container changes from VS .Net 2003. It will be on svn shortly.
Great news for us .net 2005 users :)

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:

Post by John Adams » Fri Nov 09, 2007 12:17 pm

If you still need me to gdb it, I'll try when I get home. Server 0.0.3 is on the Win32 VM right now, but I cannot wait to be able to compile SVN myself. /cheer!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests