Win Hlds Crashes Occasionally

LornathLornath Join Date: 2002-11-30 Member: 10280Members
edited February 2004 in General Server Discussion
<div class="IPBDescription">I have logs & dr watson full dump</div> I run two NS3b3 servers on a w2k box, and I seem to get about a crash or two a day (total). It seems a few other people have intermittent problems with crashing, notably on map changes:

<a href='http://www.unknownworlds.com/forums/index.php?showtopic=60190' target='_blank'>http://www.unknownworlds.com/forums/in...showtopic=60190</a>
<a href='http://www.unknownworlds.com/forums/index.php?showtopic=63288' target='_blank'>http://www.unknownworlds.com/forums/in...showtopic=63288</a>

After dealing with this for a while, I decided to fire up Dr Watson and caught one crash on each of my servers.

Here's what was listed as the location of the crash in both cases:

<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
State Dump for Thread Id 0x9d4

eax=00000000 ebx=049655f0 ecx=06780e98 edx=00000000 esi=06e1d9f8 edi=00000132
eip=078f522d esp=0012fa00 ebp=0012fa58 iopl=0 ? ? ? ? nv up ei pl nz na pe nc
cs=001b ?ss=0023 ?ds=0023 ?es=0023 ?fs=003b ?gs=0000 ? ? ? ? ? ? efl=00000202


function: CBasePlayerItem::DestroyItem
.....
? ? ? ?078f5220 56 ? ? ? ? ? ? ? push ? ?esi
? ? ? ?078f5221 8bf1 ? ? ? ? ? ? mov ? ? esi,ecx
? ? ? ?078f5223 8b4e70 ? ? ? ? ? mov ? ? ecx,[esi+0x70] ? ? ? ? ds:0763afca=74705f6e
? ? ? ?078f5226 85c9 ? ? ? ? ? ? test ? ?ecx,ecx
? ? ? ?078f5228 7406 ? ? ? ? ? ? jz ? ? ?weapon_grenadegun+0x4f0 (078fdd30)
? ? ? ?078f522a 8b01 ? ? ? ? ? ? mov ? ? eax,[ecx] ? ? ? ? ? ? ?ds:06780e98=00000000
? ? ? ?078f522c 56 ? ? ? ? ? ? ? push ? ?esi
FAULT ->078f522d ff5064 ? ? ? ? ? call ? ?dword ptr [eax+0x64] ? ds:0081d5d2=?
? ? ? ?078f5230 8b16 ? ? ? ? ? ? mov ? ? edx,[esi] ? ? ? ? ? ? ?ds:06e1d9f8=079cd438
? ? ? ?078f5232 8bce ? ? ? ? ? ? mov ? ? ecx,esi
? ? ? ?078f5234 ff9238010000 ? ? call ? ?dword ptr [edx+0x138] ?ds:00000138=?
? ? ? ?078f523a 5e ? ? ? ? ? ? ? pop ? ? esi

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 ?Param#2 ?Param#3 ?Param#4 ?Function Name
0012FA58 036072E7 049655F0 049655F0 0012FAD0 03608D78 !CBasePlayerItem::DestroyItem
0012FA68 03608D78 44A9E63A 049655F0 00000132 049655F0 !CreateInterface
0012FAD0 03609A39 049655F0 0012FB44 77E1559E 00000000 !CreateInterface
0012FAF0 03604E97 035B5DBB 0012FB28 035B5F43 3AF48D0A !CreateInterface
0012FAFC 035B5F43 3AF48D0A 77E155EB 03963848 00000000 !CreateInterface
0012FB28 036125CE 3AF48D0A 00000001 0012FB44 036DC0E8 !<nosymbols>
0012FB48 036121FD 0140597B 0012F45C 01457AD8 0012FFC0 !F
77E15B46 B0E80824 C2FFFFE7 4C8B0004 84E80424 85FFFFE7 !F
74FF016A C4A00000 001C0000 00000000 00000000 00000000 <nosymbols>
0C440001 00000000 00000000 00000000 00000000 00000000 <nosymbols>
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

One crash was on on ns_eclipse, right after a game ended, and the other was on co_daimos. I checked the logs, and in both games grenade guns had been handed out. I don't know if that really means anything or not, but I saw it in the dump...

Running the dump through windbg yields a teeny bit more info:


<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
ExceptionAddress: 087d522d (ns!CBasePlayerItem::DestroyItem+0x0000001d)
? ExceptionCode: c0000005 (Access violation)
?ExceptionFlags: 00000000
NumberParameters: 2
? Parameter[0]: 00000000
? Parameter[1]: 00000064
Attempt to read from address 00000064

...

STACK_TEXT: ?
WARNING: Stack unwind information not available. Following frames may be wrong.
0012fa58 036072e7 04b35ac4 04b35ac4 0012fad0 ns!CBasePlayerItem::DestroyItem+0x1d
0012fa68 03608d78 44baefc5 04b35ac4 0000003f swds!CreateInterface+0x4a827
0012fad0 03609a39 04b35ac4 0012fb44 77e1559e swds!CreateInterface+0x4c2b8
0012faf0 03604e97 035b5dbb 0012fb28 035b5f43 swds!CreateInterface+0x4cf79
0012fafc 035b5f43 3b005602 77e155eb 03963848 swds!CreateInterface+0x483d7
0012fb28 036125ce 3b005602 00000001 0012fb44 swds+0x45f43
0012fb48 036121fd 0140597b 0012f45c 01457ad8 swds!F+0x13fe
77e15b46 b0e80824 c2ffffe7 4c8b0004 84e80424 swds!F+0x102d
74ff016a c4a00000 001c0000 00000000 00000000 0xb0e80824
0c440001 00000000 00000000 00000000 00000000 0xc4a00000

...

SYMBOL_NAME: ?ns!CBasePlayerItem::DestroyItem+1d

MODULE_NAME: ?ns

IMAGE_NAME: ?ns.dll

<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

Let me know if you want the dump or the half-life log from when the crash happened.

server extras:
metamod
mp: clanmod
mp: unstuck
mp: grapple
mp: bod
mp: serverops

-Lorn

Comments

  • ImmacolataImmacolata Join Date: 2002-11-01 Member: 2140Members, NS1 Playtester, Contributor
    Im phasing to server forum.
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    Destroying something in particular with a grenade perhaps causes the crash? Must be a windows thing though, our linux server hasn't crashed once since we installed ns3.
  • KosuhaKosuha Join Date: 2004-02-24 Member: 26854Members
    edited February 2004
    If any crash of Win32 server occurs, you may try to use a nice program SERVERDOC (www.serverdoc.com) which restarts NS/CS/HL server after it crashes
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
    Also it allows to set priority level for your server, some times it helps
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • LornathLornath Join Date: 2002-11-30 Member: 10280Members
    Yeah, I use serverdoc. But it still sucks when the server crashes

    -Lorn
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    Id like to confirm I have got the same <b>exact</b> crash.
  • jplovejplove Join Date: 2003-06-18 Member: 17475Members
    <!--QuoteBegin-voogru+Feb 26 2004, 12:10 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Feb 26 2004, 12:10 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Id like to confirm I have got the same <b>exact</b> crash.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    It's nice to know that I'm not the only one running into this problem with running a Win32 dedicated server for NS 3b3
Sign In or Register to comment.