Author Topic: Crash on Game Exit  (Read 1306 times)

Offline carlosjuero

  • Full Member Mark III
  • ***
  • Posts: 211
Crash on Game Exit
« on: January 16, 2010, 04:12:37 pm »
Today AI Wars decided to pull a fast one on me and crash when I went to exit it. I loaded it up in VS .NET debugger (the .pdb is there after all) and didn't find much out - it seems to be an access violation, heres the output from the breakpoint that was triggered:

>   ntdll.dll!77338b2e()    
    [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]   
    ntdll.dll!77383d60()    
    ntdll.dll!77396f88()    
    ntdll.dll!773705e2()    
    ntdll.dll!77329791()    
    ntdll.dll!77355dd7()    
    kernel32.dll!75f49a26()    
    kernel32.dll!75f4d0e9()    
    ntdll.dll!773319bb()    
    ntdll.dll!7733198e()    

This is the disassembly location of the break:
   77338B2E CC               int         3

And heres the next breakpoint catch:
Unhandled exception at 0x3015b1c7 in AIWar.exe: 0xC0000005: Access violation.

First time this has happened to me, and really it doesn't make sense on why it did - as nothing has changed with the system between last run this morning and running/exiting just now.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Crash on Game Exit
« Reply #1 on: January 16, 2010, 04:14:25 pm »
Hmm, that is interesting.  It's well below the layer of our game, being in kernel.dll, etc. It's even below the level of .NET, from the looks of it.  Most likely something was just having a bad day with Windows, and hopefully it won't do that again, or will stop after a reboot, or something of that sort.  I don't think I've ever seen an AI War error that was this deep into the OS stack before...
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline carlosjuero

  • Full Member Mark III
  • ***
  • Posts: 211
Re: Crash on Game Exit
« Reply #2 on: January 16, 2010, 04:18:34 pm »
Yeah, it kinda took me by surprise - rarely see any crash on that level. Hopefully it was a one of 'that time of the week' for Windows. I am sure if I had the NT Lib symbols loaded it would have given me more information, but I haven't done any deep debugging in quite a while so they are sitting idle.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Crash on Game Exit
« Reply #3 on: January 16, 2010, 04:19:17 pm »
Yeah, makes sense to me.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk