gpt4 book ai didi

visual-c++ - WinRT 应用程序在发布版本中崩溃但未调试

转载 作者:行者123 更新时间:2023-12-04 20:11:49 25 4
gpt4 key购买 nike

我有一个应用程序在调试中运行良好,但在尝试在发布中启动时崩溃。这是抛出的异常。

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



任何想法可能是这个问题的根源?谢谢。

这是更多的输出窗口

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

最佳答案

可能是一个未初始化的变量。调试版本会为您初始化它们,但发布版本不会。

也可能是无效的指针取消引用;调试版本处理内存的方式通常与发布版本不同。

关于visual-c++ - WinRT 应用程序在发布版本中崩溃但未调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16410563/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com