Windows Phone 8应用程序随机崩溃,错误代码-2147220717(0x80040313) [英] Windows Phone 8 app randomly crashes with error code -2147220717 (0x80040313)

查看:273
本文介绍了Windows Phone 8应用程序随机崩溃,错误代码-2147220717(0x80040313)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在C#/ XAML for Windows Phone 8中开发一个秒表和计时器应用程序。在我的手机上使用我的应用程序时,我发现它随机关闭/崩溃,并在不同的使用点(即我wasn每次关闭时都做同样的事情)。在调试时,我发现我的应用程序在我的输出窗口中关闭了以下错误代码:



程序'[1100] TaskHost.exe' -2147220717(0x80040313)。



我很困惑为什么会发生这种情况。我试图创建一个全新的解决方案,并移动我的代码,我仍然得到同样的问题。我已经尝试在多个不同的设备上使用该应用程序,同样的事情发生(即使在模拟器)。有时,应用程序崩溃后使用5分钟,有时它崩溃后使用30分钟,这是非常不可预测的,这使得很难找到问题的根源。我的应用程序使用XNA框架播放音频声音和Coding4Fun工具包的TimeSpanPicker控件,除此之外,没有什么特别值得注意的是我的应用程序。我已经尝试删除音频文件的播放和删除对XNA框架的引用,并且问题仍然存在。



有什么问题可能的任何想法? >

提前感谢!

解决方案

David说+



编辑Windows Phone分析(Alt + F1 | Debug->启动Windows Phone应用程序分析)


I am currently developing a stopwatch and timer app in C#/XAML for Windows Phone 8. While using my app on my phone, I found that it randomly closed out/crashed and that too at different points of use (i.e. I wasn't doing the same thing each time it closed out). While debugging, I found that my app closed out with the following error code in my output window:

"The program '[1100] TaskHost.exe' has exited with code -2147220717 (0x80040313)."

I am very confused as to why this is happening. I tried creating an entirely new solution and moving my code over and I've still been getting the same issue. I have tried using the app on multiple different devices, and the same thing happens (even in the Emulator). Sometimes the app crashes after 5 minutes of use, sometimes it crashes after 30 minutes of use, it's very unpredictable which makes it very hard to find the root of the problem. My app uses the XNA Framework to play an audio sound and the Coding4Fun Toolkit for a TimeSpanPicker control, and besides that there isn't much else that's particularly notable about my app. I have tried removing the playing of the audio file and removing references to the XNA Framework, and the problem persists.

Any ideas on what the problem could be?

Thanks in advance!

解决方案

That what David said + are you sure that the phone is not running out of memory?

Edit try a windows phone analysis(Alt +F1 | Debug->Start windows phone application analysis)

这篇关于Windows Phone 8应用程序随机崩溃,错误代码-2147220717(0x80040313)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆