Rev 31, World terminates shutting down empty zones

Support forum for questions about compiling and running EQ2Emulator on a Microsoft Windows OS.

Moderator: Team Members

Post Reply
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:

Rev 31, World terminates shutting down empty zones

Post by John Adams » Mon Dec 17, 2007 12:46 pm

I have eliminated all possible "data" causes on my server (0 NPCs in the npcs table, thus 0 spawns). I've noticed players hopping on, and when they log off, whatever zone they spawned shuts down and crashes the World. Naturally, I have no debugs yet (grin), but wanted to alert you to something with zone shutdown is causing Win32 world.exe to terminate. I have about 5 'crashes' since 12/15.
As usual, I will try this on Linux, but the Windows is the one crashing and I am not sure there is debug info worth looking at. I have PM'd you a link to my crash mdmps, if you want to take a look. I am fairly sure most of these crashes were just after zone shutdown, though some of the earlier ones might have been related to my spawn testing.

User avatar
alfa
Team Member
Posts: 550
Joined: Fri Jul 27, 2007 6:24 pm
Location: France
Contact:

Re: Rev 31, World terminates shutting down empty zones

Post by alfa » Mon Dec 17, 2007 12:50 pm

John Adams wrote:I have eliminated all possible "data" causes on my server (0 NPCs in the npcs table, thus 0 spawns). I've noticed players hopping on, and when they log off, whatever zone they spawned shuts down and crashes the World. Naturally, I have no debugs yet (grin), but wanted to alert you to something with zone shutdown is causing Win32 world.exe to terminate. I have about 5 'crashes' since 12/15.
As usual, I will try this on Linux, but the Windows is the one crashing and I am not sure there is debug info worth looking at. I have PM'd you a link to my crash mdmps, if you want to take a look. I am fairly sure most of these crashes were just after zone shutdown, though some of the earlier ones might have been related to my spawn testing.
Strange it not have crash... You use VS2003 or 2005 for compile on windows??
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."

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 Dec 17, 2007 12:55 pm

Still using VS2005. I clean the project (now) before each recompile, too. I should eventually show my build log, because it has tons of warnings, and some things show up I've never seen before. Maybe I'll do that with the next rev.
But if LE uses 2003, I cannot complain too much that 2005 throws warnings. :)
Edit: Wow, I take that back. VS2005 compile not longer throws a single warning. It was my Linux FC5 compile that does. Sorry!
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

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

Post by LethalEncounter » Mon Dec 17, 2007 4:05 pm

heh linux always has a ton of warnings. Half of which I should probably go through and fix and the other half is the compiler just being anal. I have both 2003 and 2005 but I prefer 2003 and I use it most of the time. Sometime in the next few days I am going to reinstall my OS (one of my raid hard drives is about to die), but I'll try to find some time to compile it on 2005 and try to debug it a little. It is probably something simple.

User avatar
alfa
Team Member
Posts: 550
Joined: Fri Jul 27, 2007 6:24 pm
Location: France
Contact:

Post by alfa » Mon Dec 17, 2007 4:58 pm

Yep I use VS2003 too (on a vmware with a 2k3)
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."

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

Post by LethalEncounter » Mon Dec 24, 2007 8:24 am

Heh, looks like I will be switching to Vs .net 2005. After my hard drive failed I can't find my discs for 2003 :P I'll upgrade the project files to use 2005, but I'll leave a copy of the current solution files for anyone else that was using 2003.

User avatar
alfa
Team Member
Posts: 550
Joined: Fri Jul 27, 2007 6:24 pm
Location: France
Contact:

Post by alfa » Mon Dec 24, 2007 7:01 pm

/joke
And wath about VS2008 ?
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."

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 Dec 26, 2007 3:36 pm

As I said in the edit, Visual Studio Pro 2005, with your World.sln, produces ZERO warnings. It's a beautiful thing :)
As for Linux FC5, if the warnings are just that; warnings, and the code should work find regardless, then valid testing can be done.
I'm more concerned with zone shutdowns causing a World termination, and how to get adequate debug info on that. I have the week off, so I'll try it on Linux with back trace. My experience though shows that Windoze and Linux never behave the same.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

Diamente
Retired
Posts: 45
Joined: Mon Jul 30, 2007 7:49 am
Location: Oklahoma

Post by Diamente » Thu Dec 27, 2007 1:43 pm

I fixed the zone shutdown bug, just waiting for changes to get merged.

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 Jan 11, 2008 12:37 pm

I am feeling confident this bug is dead. I ran a server for days after the 1/3/2008 update, and never had another crash. I'll do more testing as time permits, but I think this one is done.
Thank you!
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests