SVN Rev 6 - Client 4427L crashing world

Old bugs stored here for reference.
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:

SVN Rev 6 - Client 4427L crashing world

Post by John Adams » Wed Oct 31, 2007 12:38 pm

I finally decided to take a look through the source, so I grabbed what was current on SVN now (says rev 6), compiled in both Debug and Release mode, and tried to connect my 4427L client. I get "AddAuth: 150 Key: 1193859459" when the character enters the world, and the client freezes on "connecting to zone", then the world crashes 3 times (before the client gives up and goes back to login). I do not see any dumps or anything, but if you tell me how to set one up I'll try and grab one.
(I can even attach to the remote process cuz I am that sneaky)
Using Visual Studio 2005 Pro, if it matters.
Or is the 4427L client no longer compatible at that rev?
Thanks in advance,
-J

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

Post by LethalEncounter » Wed Oct 31, 2007 2:08 pm

How does world crash 3 times from one zone in? Please describe what happens when it "crashes".

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 Oct 31, 2007 2:35 pm

Oh, due to the fancy pants BAT file I have running, upon unexpected termination it simply relaunches world.exe - which crashes again, and again, because (I think?) the client hasn't hung up yet. So it's not a bug about the world crashing 'x' times, as much as once. :)
Sorry for the confusion.
As for crashing, I am speaking of it terminating - no fanfare, just closes the world right after the client causes it to generate that auth thing.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Post by Jabantiz » Wed Oct 31, 2007 2:44 pm

I had this problem when I first tried to compile the source. For me it was caused by having a MySQL 4.x version installed for EQEMU, and never updated my VC++ Directories to point to the MySQL 5.x folders.
I now only have MySQL 5 installed and everything worked great, until I patched my client. Hope this helps.

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 Oct 31, 2007 2:56 pm

That is a great tip, I do believe I have the libs for mysql4 installed. I'll check that out. 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:

Post by John Adams » Sun Nov 04, 2007 2:41 pm

Well sadly, my MySQL dependencies are 5.0.27, so I don't think that's causing my problem. If I compile the world myself, it crashes on connection. ~cries~ I have not had this problem before, so it has to be something I have setup wrong for this project. But there are no warnings or errors compiling, so one would think it's fine. :)
Crap.

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

Post by LethalEncounter » Sun Nov 04, 2007 4:34 pm

Give me some more information about the crash. As much information as possible. Ie: What zone are you logging into?, etc

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 » Sun Nov 04, 2007 8:10 pm

The zone is just Antonica. I believe I can get you an mdmp, if you think that'll help?
What I did was get the latest SVN, load the sln, and compile in Release mode. Once that's done, I take the new World.exe, and the latest *.xml files and copy them to my Emu server and start the world. It runs fine.
Character select screen, I pick my toon and click Enter, and the world immediately crashes. Since I have it in a looping bat, the world starts back up, but the client is still attempting to connect (hasn't timed out yet) so I see another world exe termination. And another, usually before the client finally times out. I don't care about the 2x extra termination, since I know why that's happening (my loopy bat :))
Let me know if the mdmp from a WER will help, and I can get you a link to it.

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

Post by LethalEncounter » Mon Nov 05, 2007 6:09 am

Try to compile it in debug and run it from VS .Net and tell me where it crashes. I use VS .Net 2003, not 2005, so it might be something that 2005 doesn't like.

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 » Mon Nov 05, 2007 7:42 am

I'll give it a try. I have not been too successful getting the World to run on my local box where the client sits. I'll see what I can come up with.
I am familiar with PDBs, mdmps, and symbols from my job, so if I get time I will try and diagnose what's happening as well.

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 » Mon Nov 05, 2007 4:02 pm

I think I got the debug version to work, although I don't see anything "World" giving me a problem this moment. I got the iterator <abort/retry/ignore> problem, and this time I noticed in the World cmd box, 2 SQL commands that do not at all correlate to data in my characters db:
[Error] Error in GetCharacterAdminStatus query 'SELECT admin_status from characters where account_id=249 and id=104':
[Error] Error in GetCharacterName query 'SELECT name from characters where id=104':
account_id 249 and characters.id 104 do not exist, though they might have at one time. I thought I had totally jacked up my DB, so I dropped all tables and let the world re-load them. Could something not be cleaning up LS-side?
FYI the char trying to sign in is acct 89, charid 89 in my local tables.
Also when I "retry" and step into debug, it only shows me code for dbghook.h, and something called xtree. Then quits.
I will continue to try and [crash] world like it was doing when it was on my VM, and see about getting more info. Just wanted to give you an update.
TIA,
-J
EDIT: wow, something is really wrong with these forums, too heh. I swear, I posted that and left. no way I posted it twice, especially a quote of myself. ;)
Last edited by John Adams on Mon Nov 05, 2007 4:26 pm, edited 1 time in total.

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

Post by link2009 » Mon Nov 05, 2007 4:31 pm

Delete Dupe Post, merged Triple Post with 2nd Post...
John, you're driving me crazy! :twisted:
Image
-Vecinu de la Patru

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

Post by ichijin » Tue Nov 06, 2007 6:42 am

I have been getting the same crash. Last few SVN rev's all crash at the same place. Everything boots fine, DB updates fine, world.exe 'seems' to run fine. Game loads up, lets me create a char, but as soon as you click 'play' (or enter world or whatever), boom. World.exe crashes. Like John said, no output, no error log. (Has happened to me since I first started compiling these and trying) Have yet to get into my server once. :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:

Post by John Adams » Tue Nov 06, 2007 3:00 pm

ichijin, what compiler are you using?
I have some time today, so I am going to try to get SVN code running on linux, and will report back if I haven't hanged myself.

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

Post by Riven » Wed Nov 07, 2007 1:43 am

and try rev 7 too

Locked

Who is online

Users browsing this forum: No registered users and 1 guest