过去几周我一直在研究这个问题,几乎是全职,但无济于事。我们的WPF应用程序在窗口关闭时崩溃,而不是在启动时崩溃或在启动后挂起。
细节:
UtilityAppCrash http://www.kynetec.com/temp/UtilityAppCrash.jpg
以下是典型错误报告的副本(由Google翻译成英文),对于空应用的NET 4 / 4.5,VS 2010/2/3,任何CPU / x86 EXE的所有组合也会发生这种情况:
Problem signature:
Problem Event Name: BEX
Application Name: EmptyWpfApp2010 (anyCPU NET4) exe.
Application Version: 1.0.0.0
Application time stamp: 531dc770
Error Module Name: StackHash_5949
Error Module Version: 0.0.0.0
Error module timestamp: 00000000
Exception Offset: 00620066
Exception Code: c0000005
Exception Information: 00000008
Operating System Version: 6.1.7601.2.1.0.256.48
Locale ID: 1028
Additional Information 1: 5949
Additional Information 2: 5949acb04a151ed1e962b41b4fd1d537
Additional Information 3: 0074
Additional Information 4: 00740617bbd2cb9521eb8c985e373025
Problem signature:
Problem Event Name: BEX
Application Name: EmptyWpfApp2013 (x86 NET4) exe.
Application Version: 1.0.0.0
Application time stamp: 531de903
Error Module Name: StackHash_5949
Error Module Version: 0.0.0.0
Error module timestamp: 00000000
Exception Offset: 00640031
Exception Code: c0000005
Exception Information: 00000008
Operating System Version: 6.1.7601.2.1.0.256.48
Locale ID: 1028
Additional Information 1: 5949
Additional Information 2: 5949acb04a151ed1e962b41b4fd1d537
Additional Information 3: 0074
Additional Information 4: 00740617bbd2cb9521eb8c985e373025
我试过了:
我不知所措。有什么建议吗?
答案 0 :(得分:0)
异常代码:c0000005看起来像访问冲突。尝试捕获异常并尝试记录它,也许它会告诉您有关原因的一些细节: