Access violation on a WindowsXP gameserver program

From: Arislan (none_at_no.111.1X)
Date: 02/29/04

  • Next message: The Half A Wannabee: "Re: Cost of calling a standard library function"
    Date: Sun, 29 Feb 2004 03:17:10 -0500
    
    

    I am trying to play a networked game and I have found that when
    someone uses a simple telnet command and telnets to my server instead
    of using the game client, the game server crashes. I only have the
    bins for the exe and not the source code, so I am attempting to fix it
    with Ollydbg and HexWorkshop.

    I ran the program from within Ollydbg and then telnetted to it myself.
    It crashed and gave me "Access Violation when reading[A7738384] - use
    shift+F7 to pass exception to program". It highlighted the line
    0047B20E . I copied and pasted here a sample of that area.

    0047B1F8 |> 837D F4 00 /CMP DWORD PTR SS:[EBP-C],0
    0047B1FC |. 0F85 A1000000 |JNZ GServer.0047B2A3
    0047B202 |. 8B55 FC |MOV EDX,DWORD PTR SS:[EBP-4]
    0047B205 |. 8B82 F0CC0E00 |MOV EAX,DWORD PTR DS:[EDX+ECCF0]
    0047B20B |. 8B4D FC |MOV ECX,DWORD PTR SS :[EBP-4]
    0047B20E |. 83BC81 9CCC0E0>|CMP DWORD PTR DS :[ECX+EAX*4+ECC9C],0
    0047B216 |. 74 1F |JE SHORT GServer.0047B237

    How do i find the exact value or instruction that is causing the
    crashing, by following this clue?

    Thanks.


  • Next message: The Half A Wannabee: "Re: Cost of calling a standard library function"

    Relevant Pages

    • Access violation on a WinXP gameserver program
      ... someone uses a simple telnet command and telnets to my server instead ... of using the game client, the game server crashes. ... I ran the program from within Ollydbg and then telnetted to it myself. ...
      (comp.lang.asm.x86)
    • Access violation on a WinXP gameserver program
      ... someone uses a simple telnet command and telnets to my server instead ... of using the game client, the game server crashes. ... I ran the program from within Ollydbg and then telnetted to it myself. ...
      (comp.programming)
    • Re: Access violation on a WindowsXP gameserver program
      ... > someone uses a simple telnet command and telnets to my server instead ... > of using the game client, the game server crashes. ...
      (alt.lang.asm)
    • RE: games on XP client running 2003 server (UT2004)
      ... I understand that you do not have ISA server installed, ... Can you play the game on the server or another client workstation? ... Help to gather the ISA Logs: ...
      (microsoft.public.windows.server.sbs)
    • Re: inetd to take telnet request
      ... flavours of TELNET here - so I read on. ... I know about INETD only from long ago with the RS/6000 UNIX, ... server applications" in the CS IP Configuration Guide: ...
      (bit.listserv.ibm-main)