I have a customer that is able to repeat consistently something that only happens to me sporadically. Namely, a crash that occurs when the user has asked the program to exit, and after all the clean-up has occurred. Interestingly, all of the crashes have the same basic 'signature' but all occur at different instructions and access violation at different memory addresses.
I do not dynamically allocate any arrays. All compilations are done with /SAVE.
Runtime error from program:c:\program files (x86)\cmaster\c-master.exe
Access Violation
The instruction at address 119c7642 attempted to read from location 1146beac
119c7500 __winexit [+0142]
119c1702 do_atexits(void) [+0018]
119c180a __fortranexit [+000c]
11abc676 DEBUGEXIT# [+0016]
11abfcc0 STOP# [+0066]
CEXIT - in file cexit.for at line 53 [+055b]
main - in file cmain.for at line 175 [+1fd9]
006931c6 SALFStart [+06ff]
eax=11415840 ebx=00000026 ecx=1146bea8
edx=00000000 esi=113af55c edi=00000000
ebp=113af488 esp=113af460 IOPL=2
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00010202 [NC OP NZ SN DN NV]
119c7642 push [ecx+0x4]
119c7645 call 11af7b10
119c764a lea esp,[ebp-0xc]
Runtime error from program:c:\program files (x86)\cmaster\c-master.exe
Access Violation
The instruction at address 11b47642 attempted to read from location 115ebeac
11b47500 __winexit [+0142]
11b41702 do_atexits(void) [+0018]
11b4180a __fortranexit [+000c]
11c3c676 DEBUGEXIT# [+0016]
11c3fcc0 STOP# [+0066]
CEXIT - in file cexit.for at line 53 [+055b]
main - in file cmain.for at line 175 [+1fd9]
006931c6 SALFStart [+06ff]
eax=11595840 ebx=00000026 ecx=115ebea8
edx=00000000 esi=113af55c edi=00000000
ebp=113af488 esp=113af460 IOPL=2
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00010202 [NC OP NZ SN DN NV]
11b47642 push [ecx+0x4]
11b47645 call 11c77b10
11b4764a lea esp,[ebp-0xc]
Runtime error from program:c:\program files (x86)\cmaster\c-master.exe
Access Violation
The instruction at address 11b27642 attempted to read from location 115cbeac
11b27500 __winexit [+0142]
11b21702 do_atexits(void) [+0018]
11b2180a __fortranexit [+000c]
11c1c676 DEBUGEXIT# [+0016]
11c1fcc0 STOP# [+0066]
CEXIT - in file cexit.for at line 53 [+055b]
main - in file cmain.for at line 176 [+1f57]
0068f186 SALFStart [+06ff]
eax=11575840 ebx=00000026 ecx=115cbea8
edx=00000000 esi=1139f564 edi=00000000
ebp=1139f490 esp=1139f468 IOPL=2
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00010202 [NC OP NZ SN DN NV]
11b27642 push [ecx+0x4]
11b27645 call 11c57b10
11b2764a lea esp,[ebp-0xc]
I do not have a copy of the linker MAP file. Would this be something that could help in identifying the actual issue?
Thanks.