我在商店裏有一個應用程序,一直讓我頭疼。我的客戶報告,並且我覈實,該應用程序崩潰/在以下情況下關閉:Windows 10崩潰Whodunit
- 啓動應用程序
- 關閉應用
- 等待至少〜15分鐘
- 打開應用
當啓動畫面結束並且啓動擴展啓動畫面時,應用程序將關閉。目前尚不清楚導致問題的原因。該應用程序將繼續關閉/崩潰。應用程序必須完全卸載並重新安裝,然後再次開始工作。我只能用應用商店版本重現此問題。我沒有在事件查看器程序中找到任何崩潰報告。
我已經從開發者門戶網站下載了一些崩潰報告,但我不認爲我看到基於時間戳和崩潰頻率顯示崩潰。
額外信息:我沒有運行任何後臺任務或磁貼更新。
我有三個子問題:
- 什麼是好地方尋找在系統中找到更多關於爲什麼應用程序被關閉?
- 我可以在我的系統上運行商店構建,以便我可以運行一些測試,而無需每次將應用程序提交到商店?
- 基於以下事實:1)應用程序第一次運行2)在約15分鐘內啓動任何後續時間或上次啓動3)在上次啓動大於15分鐘前運行時自動關閉4 )它只發生在商店構建中,有沒有人有任何想法可能導致這種情況?
UPDATE:
我試圖調試使用Visual Studio中的應用程序商店的版本和所有我能看到的是以下內容:
Exception thrown at 0x00007FFF54D7A1C8 (KernelBase.dll) in App.exe: 0x40080201: WinRT originate error (parameters: 0x000000008000000E, 0x000000000000002C, 0x0000006E46EAE9B0).
Exception thrown at 0x00007FFF54D7A1C8 (KernelBase.dll) in App.exe: 0x40080201: WinRT originate error (parameters: 0x000000008000000E, 0x0000000000000046, 0x0000006E46EAE630).
The thread 0x1be8 has exited with code 1 (0x1).
The thread 0xfa8 has exited with code 1 (0x1).
The thread 0x115c has exited with code 1 (0x1).
The thread 0x730 has exited with code 1 (0x1).
The thread 0xed4 has exited with code 1 (0x1).
The thread 0x1894 has exited with code 1 (0x1).
The thread 0x18a0 has exited with code 1 (0x1).
The thread 0x194c has exited with code 1 (0x1).
The thread 0x1a3c has exited with code 1 (0x1).
The thread 0x1988 has exited with code 1 (0x1).
The thread 0x16ec has exited with code 1 (0x1).
The thread 0x1584 has exited with code 1 (0x1).
The thread 0xfd0 has exited with code 1 (0x1).
The thread 0xd8c has exited with code 1 (0x1).
The thread 0xcec has exited with code 1 (0x1).
The thread 0x16b4 has exited with code 1 (0x1).
The thread 0x12f8 has exited with code 1 (0x1).
The thread 0x146c has exited with code 1 (0x1).
The thread 0x36c has exited with code 1 (0x1).
The thread 0x1854 has exited with code 1 (0x1).
The thread 0x1ae4 has exited with code 1 (0x1).
The thread 0xa38 has exited with code 1 (0x1).
The thread 0x230 has exited with code 1 (0x1).
The program '[3840] App.exe' has exited with code 1 (0x1).
我猜程序通常與代碼0退出,所以一定是錯的很難看到拋出的異常是什麼。
我試圖在異常打破和步驟過來看看是什麼原因造成,但我得到的是另一個例外:
Exception thrown at 0x00007FFF54D7A1C8 in App.exe: Microsoft C++ exception: _com_error at memory location 0x000000EE2788E9D0.
我上傳了一個版本的應用程序商店有一個內置的復活節雞蛋允許我禁用擴展閃屏中的所有代碼。即使所有的代碼禁用它仍然崩潰/關閉。
更新2: 應用程序在啓動時關閉的時間範圍似乎與系統休眠/睡眠所花費的時間有關。
如果您還沒有這樣做,我會嘗試使用Visual Studio調試商店構建。在VS的菜單中,選擇Debug - > Other Debug Targets - > Debug Installed Package –
很好的建議。我不知道這是可能的。我會盡快嘗試,並讓你知道它是否有效。如果是這樣,你應該把它作爲一個答案,我會把它標記爲正確的! –
查看更新後的問題 –