Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am compiling an application using Visual Studio 2010 64 bit compiler. It compiles without errors. The Debug version of the application runs fine. However the Release version crashes on start-up with the following 2 errors:

Faulting application name: Router.exe, version: 1.0.0.1, time stamp: 0x536ba26e
Faulting module name: mfc100.dll, version: 10.0.40219.325, time stamp: 0x4df2cfda
Exception code: 0xc0000005

Faulting application name: Router.exe, version: 1.0.0.1, time stamp: 0x536ba26e
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24
Exception code: 0xc0150010

I already checked the project properties and made sure they are the same for Debug and Release. Please, help.
Posted
Comments
Sergey Alexandrovich Kryukov 9-May-14 10:45am    
64 bit compiler? Which compiler? (And but, the way, there is more than one 64-bit architecture.) Anyway, not enough information. You could retest applications on Release on each essential step. Can you retrieve your steps (working without a Revision Control system would be a waste of time)? Is there threading (could be the bug only manifested through race condition)?
—SA

1 solution

 
Share this answer
 
Comments
Nick R 336 12-May-14 9:16am    
I tried running release under debug and got a break at mfc100.dll. I looked at the disassembly and it shows the problem at: 000000005920F6F6 lock xadd dword ptr [rdx+10h],eax

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900