App no longer working - any ideas
Posted
by hamishmcn
on Stack Overflow
See other posts from Stack Overflow
or by hamishmcn
Published on 2009-01-08T15:33:12Z
Indexed on
2010/05/20
20:40 UTC
Read the original article
Hit count: 282
winapi
|accessviolationexception
I am out of ideas as to why my app has suddenly stopped working - perhaps the collective mind of the SO community can help...
Background:
I have a large application that has been working up until recently. Now when ever I try and run it I get the error "The application failed to initialize properly (0xc0000005)"
This happens before the app gets to _tmain()
. It happens in both release and debug builds. I have tried cleaning and rebuilding the projects and rebooted my PC.
The call stack just shows entries for kernel32.dll and ntdll.dll
The output window shows:
First-chance exception at 0x00532c13 in a.exe: 0xC0000005: Access violation reading location 0xabababdb. First-chance exception at 0x7c964ed1 in a.exe: 0xC0000005: Access violation. Unhandled exception at 0x7c964ed1 in a.exe: 0xC0000005: Access violation.
Any ideas?
Edit:
Okay - found the problem - it was dll related
my app uses shared dlls a.dll and b.dll (and others)
a.dll hardly every changes (and uses b.dll)
b.dll was changed by another developer this morning and a.dll was not rebuilt.
Depends.exe did not show any missing dlls, however a.dll no longer works because of the change to b.dll
© Stack Overflow or respective owner