Page 1 of 1

Rev 31, World terminates shutting down empty zones

Posted: Mon Dec 17, 2007 12:46 pm
by John Adams
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.

Re: Rev 31, World terminates shutting down empty zones

Posted: Mon Dec 17, 2007 12:50 pm
by alfa
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??

Posted: Mon Dec 17, 2007 12:55 pm
by John Adams
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!

Posted: Mon Dec 17, 2007 4:05 pm
by LethalEncounter
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.

Posted: Mon Dec 17, 2007 4:58 pm
by alfa
Yep I use VS2003 too (on a vmware with a 2k3)

Posted: Mon Dec 24, 2007 8:24 am
by LethalEncounter
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.

Posted: Mon Dec 24, 2007 7:01 pm
by alfa
/joke
And wath about VS2008 ?

Posted: Wed Dec 26, 2007 3:36 pm
by John Adams
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.

Posted: Thu Dec 27, 2007 1:43 pm
by Diamente
I fixed the zone shutdown bug, just waiting for changes to get merged.

Posted: Fri Jan 11, 2008 12:37 pm
by John Adams
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!