Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinRT app crashes in release build but not debug

I have an app that runs fine in debug but crashes when trying to launch in release. This is the exception that is thrown.

Unhandled exception at 0x5D2F7717 (Windows.UI.Xaml.dll) in Napkin.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x034F6C70, 0x00000001).

Any ideas what might be the source of this problem? Thanks.

Here is more of the output window

Unhandled exception at 0x55257717 (Windows.UI.Xaml.dll) in Napkin.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x02D029E0, 0x00000001). Unhandled exception at 0x750D2722 (combase.dll) in Napkin.exe: 0xC0000602: A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.

STATUS_STACK_BUFFER_OVERRUN encountered Napkin.exe has triggered a breakpoint. The thread 0x1b20 has exited with code -1073740791 (0xc0000409). The thread 0xb50 has exited with code -1073740791 (0xc0000409). The thread 0x108c has exited with code -1073740791 (0xc0000409). The thread 0x16cc has exited with code -1073740791 (0xc0000409). The thread 0x222c has exited with code -1073740791 (0xc0000409). The thread 0x78c has exited with code -1073740791 (0xc0000409). The thread 0x14a4 has exited with code -1073740791 (0xc0000409). The thread 0x2164 has exited with code -1073740791 (0xc0000409). The program '[6392] Napkin.exe' has exited with code -1073740791 (0xc0000409). Activation of the Windows Store app 'cdbbf746-1a99-4261-8bfa-9cb2934d4ac0_qddg1e943mmj2!App' failed with error 'Windows was unable to communicate with the target application. This usually indicates that the target application's process aborted. More information may be available in the Debug pane of the Output window (Debug->Windows->Output)'.

enter image description here

like image 460
MFlamer Avatar asked May 07 '13 03:05

MFlamer


1 Answers

Possibly an uninitialized variable. Debug builds will initialize them for you, but Release builds will not.

Could also be an invalid pointer dereference; Debug builds usually treat memory differently than Release builds do.

like image 72
canhazbits Avatar answered Nov 19 '22 21:11

canhazbits