Click here to Skip to main content
14,664,481 members
Rate this:
Please Sign up or sign in to 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
   
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100