应用程序“随机”重新启动? [英] App "Randomly" Restarts?

查看:84
本文介绍了应用程序“随机”重新启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows 10 C#IoT应用程序,它可以监听来自GPIO Pins的RisingEdge事件,并记录它们(想象一下手臂降低和抬起,我通过WebAPI调用跟踪它)。它适用于* * *部分,但是我遇到了一个问题,我的应用程序(和/或
Pi工作站),重新启动"随机"。


I随机说,因为我在IoTGirl推荐的地方(我不记得现在AppData)找到崩溃数据(在以前的线程中)并且找不到任何东西,看了一个工作站上的dmp文件,它只是说...


FAILURE_ID_HASH_STRING:  km:0xef_iotshell.exe_bugcheck_critical_process_terminated_by_svchost.exe


我不知道现在在哪里看。我可以运行这个应用程序(没有繁重的GPIO事件)*整天* ...这不会整天发生,并且在整天工作的电台上它会随机发生。


帮助?


 

解决方案

嗨Shawn,


你看过吗?之前的帖子有同样的消息吗? 我怀疑你的GPIO代码正在使看门狗挨饿,导致应用程序重启或重启。


例如见:
https://social.msdn .microsoft.com /论坛/ zh-CN / f66be68d-ac52-411c-938c-a30e4b59e660 / reading-from-serial-port-cause-iotshellexe-crashed?forum = WindowsIoT


此致,


IoTGirl


I have a Windows 10 C# IoT app that listens for RisingEdge events from GPIO Pins, and logs them (imagine an arm lowering and raising, and I'm tracking this via a WebAPI call). It works for the *most* part, however I'm encountering an issue where my app (and/or the Pi station), restarts "randomly".

I say randomly because I've looked for crash data in the place (I can't remember where now AppData) that IoTGirl has recommended (in previous threads) and can't find anything, looked at a dmp file on one of the workstations, all it says is...

FAILURE_ID_HASH_STRING:  km:0xef_iotshell.exe_bugcheck_critical_process_terminated_by_svchost.exe

I'm not sure where to look at now. I can run this app (without the heavy GPIO events) *all day*...and this doesn't occur all day, and on stations that work all day it happens randomly.

Help?

 

解决方案

Hi Shawn,

Have you looked at previous threads with this same message?  My suspicion is your GPIO code is starving the watchdog which will cause a restart of the app or a reboot.

For example see: https://social.msdn.microsoft.com/Forums/en-US/f66be68d-ac52-411c-938c-a30e4b59e660/reading-from-serial-port-cause-iotshellexe-crashed?forum=WindowsIoT

Sincerely,

IoTGirl


这篇关于应用程序“随机”重新启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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