Get Smart Exception

One thing that will help us is if you have smart exception installed.

It will tell us the locaiton of the crash.

Smart Exception is located here:
http://www.stardock.com/temp/smartexception_galciv.exe

Thanks!!
453 views 18 replies
Reply #1 Top
Video Card : NVIDIA GeForce2 Ultra
Application Exception code: C0000005 ACCESS_VIOLATION
Crash Addr: 0045C8AA 01:0005B8AA C:\PROGRA~1\Drengin.net\galciv\galciv.exe

Processor Registers (x86):
EAX:0E16FF50
EBX:7FFDF000
ECX:00BFED54
EDX:00BFED5C
ESI:80000002
EDI:70A71A29
CS:EIP:001B:0045C8AA
SS:ESP:0023:00BFEB58 EBP:00BFEBB4
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010202


Current Application Call Stack:

Addr Frame Logical addr Module Name
---------------------------------------------
0045C8AA 00BFEBB4 0001:0005B8AA C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055B2AB 00BFEBCC 0001:0015A2AB C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055B0A0 00BFECF0 0001:0015A0A0 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0045C9D6 00BFFE04 0001:0005B9D6 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004D43DA 00BFFE60 0001:000D33DA C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004BF72B 00BFFEBC 0001:000BE72B C:\PROGRA~1\Drengin.net\galciv\galciv.exe
00520810 00BFFF30 0001:0011F810 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055D6C6 00BFFFC0 0001:0015C6C6 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
77E814C7 00BFFFF0 0001:000204C7 C:\WINNT\system32\kernel32.dll


Debug information for each stardock app follows ....

I am not sure what a Stack Dump is good for.
Reply #2 Top
Very useful info.

What were you doing when it crashed?
Reply #3 Top
Grr. This appears to be that news screen crash. We've been tracking it. Cari!!!

We've been tracking this. Essentially something is messing up the news items and it crashes in Qsort(). We were tracking this.

I suspect that most "random" crashes are actually related to this.

Thanks Tech.
Reply #4 Top
I'm doing Visual Studio dotnet development on the same machine I play GalCiv on--will this mess me up?

-Robert
Reply #5 Top
Well I installed it anyway--this is a crash in the diplomacy screen (Drengin) when I click on "Peace Treaty". It is definitly repeatable:

Stardock SmartException Logging Information
-------------------------------------------

OS Version : Windows XP
Video Card : NVIDIA GeForce2 MX/MX 400
Application Exception code: C0000094 INT_DIVIDE_BY_ZERO
Crash Addr: 00486091 01:00085091 C:\PROGRA~1\Drengin.net\galciv\galciv.exe

Processor Registers (x86):
EAX:0000000A
EBX:00000000
ECX:00000000
EDX:00000000
ESI:00520830
EDI:00BFFD1C
CS:EIP:001B:00486091
SS:ESP:0023:00BFF634 EBP:00BFF794
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010246


Current Application Call Stack:

Addr Frame Logical addr Module Name
---------------------------------------------
00486091 00BFF794 0001:00085091 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0048A092 00BFF810 0001:00089092 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0048A2AE 00BFF878 0001:000892AE C:\PROGRA~1\Drengin.net\galciv\galciv.exe
005032AC 00BFF8E0 0001:001022AC C:\PROGRA~1\Drengin.net\galciv\galciv.exe
005031B7 00BFF950 0001:001021B7 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
00503597 00BFF9C8 0001:00102597 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004FCF1B 00BFFA40 0001:000FBF1B C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004F0A7C 00BFFAC0 0001:000EFA7C C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004FCE7F 00BFFB34 0001:000FBE7F C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004F0A7C 00BFFBB4 0001:000EFA7C C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004FCE7F 00BFFC28 0001:000FBE7F C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0052116D 00BFFCA8 0001:0012016D C:\PROGRA~1\Drengin.net\galciv\galciv.exe
77D43A68 00BFFCD4 0001:00002A68 C:\WINDOWS\system32\USER32.dll
77D43B37 00BFFD3C 0001:00002B37 C:\WINDOWS\system32\USER32.dll
77D45B40 00BFFD6C 0001:00004B40 C:\WINDOWS\system32\USER32.dll
77D45F87 00BFFD8C 0001:00004F87 C:\WINDOWS\system32\USER32.dll
7377DF68 00BFFDB8 0001:0001CF68 C:\WINDOWS\System32\DDRAW.dll
77D43A68 00BFFDE4 0001:00002A68 C:\WINDOWS\system32\USER32.dll
77D43B37 00BFFE4C 0001:00002B37 C:\WINDOWS\system32\USER32.dll
77D43D91 00BFFEAC 0001:00002D91 C:\WINDOWS\system32\USER32.dll
77D4438C 00BFFF30 0001:0000338C C:\WINDOWS\system32\USER32.dll
0055D6C6 00BFFFC0 0001:0015C6C6 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
77E814C7 00BFFFF0 0001:000204C7 C:\WINDOWS\system32\kernel32.dll


Debug information for each stardock app follows ....

Does just pressing "Submit Exception Report" do anything? There is no feedback to indicate if anything happened.

-Robert
Reply #6 Top
In the first game it crashed, I think it waited until I hit "Send". The above was a recovered game. Crashed twice on clicking "Peace Treaty".

-Robert
Reply #7 Top
Stardock SmartException Logging Information
-------------------------------------------

OS Version : Windows 98
Video Card : NVIDIA GeForce2 GTS/GeForce2 Pro
Application Exception code: C0000094 INT_DIVIDE_BY_ZERO
Crash Addr: 004490B2 01:000480B2 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE

Processor Registers (x86):
EAX:CDCDCDCD
EBX:83432200
ECX:CDCDCDCD
EDX:00000000
ESI:00000000
EDI:0000000F
CS:EIP:0167:004490B2
SS:ESP:016F:00D2F6EC EBP:00D2F748
DS:016F ES:016F FS:3BEF GS:0000
Flags:00010246


Current Application Call Stack:

Addr Frame Logical addr Module Name
---------------------------------------------
004490B2 00D2F748 0001:000480B2 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
0044C9D1 00D2F7F4 0001:0004B9D1 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
0044C677 00D2F85C 0001:0004B677 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
004FCF1B 00D2F8D4 0001:000FBF1B C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
004F0A7C 00D2F954 0001:000EFA7C C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
004FCE7F 00D2F9C8 0001:000FBE7F C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
004FD765 00D2FA40 0001:000FC765 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
00454116 00D2FAA4 0001:00053116 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
00456344 00D2FAF8 0001:00055344 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
004BF594 00D2FB54 0001:000BE594 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
00520A72 00D2FBC4 0001:0011FA72 C:\PROGRAM FILES\DRENGIN.NET\GALCIV\GALCIV.EXE
BAABDFF6 00D2FBF0 0001:0001CFF6 C:\WINDOWS\SYSTEM\DDRAW.DLL
BFF7363B 00D2FC10 0001:0000263B C:\WINDOWS\SYSTEM\KERNEL32.DLL
BFF94407 00D2FC24 0002:0001B407 C:\WINDOWS\SYSTEM\KERNEL32.DLL


I hope this helps !
Reply #9 Top
Maybe a news event happened and crashed my game. The crash occured between turns.
Reply #10 Top
Stardock SmartException Logging Information
-------------------------------------------

OS Version : Windows XP
Video Card : NVIDIA GeForce2 Ultra
Application Exception code: C0000005 ACCESS_VIOLATION
Crash Addr: 0045C8B8 01:0005B8B8 C:\PROGRA~1\Drengin.net\galciv\galciv.exe

Processor Registers (x86):
EAX:16217EB0
EBX:7FFDF000
ECX:37363920
EDX:00BFED54
ESI:80000002
EDI:70A71A29
CS:EIP:001B:0045C8B8
SS:ESP:0023:00BFEB58 EBP:00BFEBB4
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010202


Current Application Call Stack:

Addr Frame Logical addr Module Name
---------------------------------------------
0045C8B8 00BFEBB4 0001:0005B8B8 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055B2AB 00BFEBCC 0001:0015A2AB C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055B0A0 00BFECF0 0001:0015A0A0 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0045C9D6 00BFFE04 0001:0005B9D6 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004D43DA 00BFFE60 0001:000D33DA C:\PROGRA~1\Drengin.net\galciv\galciv.exe
004BF72B 00BFFEBC 0001:000BE72B C:\PROGRA~1\Drengin.net\galciv\galciv.exe
00520810 00BFFF30 0001:0011F810 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
0055D6C6 00BFFFC0 0001:0015C6C6 C:\PROGRA~1\Drengin.net\galciv\galciv.exe
77E814C7 00BFFFF0 0001:000204C7 C:\WINNT\system32\kernel32.dll


Debug information for each stardock app follows ....

Reply #11 Top
Died again see last smart expection report.
The crash address appears to be the same.

Just after a New report the program crashed.
Reply #12 Top
Jotun - thanks, fixed it.

Peace treaty evaluation - if it thinks the war started that gmae turn, it gets a divide by zero.
Reply #13 Top
Richelieu, yours seems to crash in our function updating the sector. I don't have a fix for that yet since it sounds like the saved game is corrupt. But I am putting a debug message in there to determine which function is causing it.
Reply #14 Top
Tech, news screen again.
Reply #15 Top
The News screen is trying to unhide at the same time that news items are still being added by the thread. There's no really good way to fix this except make it wait to unhide until all the items have been added. But, as we discussed on Friday, that's going to take some work, which we didn't have time to do by 3 PM Friday.

Reply #16 Top
Robert, do you still have the save game for the crash on the diplomacy screen?
Reply #17 Top
No, I am afraid I do not. If I run into it again, I will be sure to zap it over to you. (Just promise not to laugh at me for the silly names I gave all the aliens--it was fun for a while to see "We are the mighty Poopy-heads!" pop up. ;)).

By the way, since I can unload SmartException, it obviously won't mess with my own use of Visual Studio. It's too bad .Net doesn't work with DirectX yet--it would save you guys a lot of this debugging grief.

-Robert
Reply #18 Top
Bump - so the newest testers can see it.