Crash "ejecting" MTP Responder while CaVE is accessing

Issue #82 resolved
snucker created an issue

[8/30/2023 3:22:55 PM] -- New Session Initalized --
[8/30/2023 3:22:55 PM] Loading: C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Beta\settings
[8/30/2023 3:23:21 PM] Entering Main
[8/30/2023 3:23:22 PM] Using "C:/Users/snucker/Downloads/CaVE/1.5 beta/CaVE-v1.5-Beta/database/N64_2.10_1.5-beta_2023-08-29/0100C9A00ECE6000" as default database.
[8/30/2023 3:23:22 PM] Entering SetupPlatform
[8/30/2023 3:23:22 PM] Database Type detected as "NSO".
[8/30/2023 3:23:22 PM] Entering Database Initalize
[8/30/2023 3:23:22 PM] Entering GetDatabasePlatform
[8/30/2023 3:23:22 PM] Platform detected as N64
[8/30/2023 3:23:22 PM] Selected Platform: N64
[8/30/2023 3:23:22 PM] LClassicsTitlesDB_Load
[8/30/2023 3:23:22 PM] GetStreamReader
[8/30/2023 3:23:22 PM] ClearStageFolder
[8/30/2023 3:23:22 PM] LClassicsTitlesDB_ParseTitles
[8/30/2023 3:23:22 PM] Loading "C:/Users/snucker/Downloads/CaVE/1.5 beta/CaVE-v1.5-Beta/database/N64_2.10_1.5-beta_2023-08-29/0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng".
[8/30/2023 3:23:22 PM] 1 language strings loaded.
[8/30/2023 3:23:22 PM] Entering StringsLng_GetMetaComments
[8/30/2023 3:23:22 PM] Entering ReplaceMainTitlesList
[8/30/2023 3:23:22 PM] Checking for SD Card device...
[8/30/2023 3:23:22 PM] No SD Card device found.
[8/30/2023 3:23:22 PM] SAVED
[8/30/2023 3:23:22 PM] UpdateRecentDatabasesMenu
[8/30/2023 3:23:22 PM] Listing versions available in NewDatabase menu.
[8/30/2023 3:32:28 PM] Checking for SD Card device...
[8/30/2023 3:32:28 PM] No SD Card device found.
[8/30/2023 3:47:53 PM] Checking for SD Card device...
[8/30/2023 3:47:53 PM] No SD Card device found.
[8/30/2023 3:48:16 PM] Checking for SD Card device...
[8/30/2023 3:48:16 PM] 1 total potential devices...
[8/30/2023 3:48:16 PM] Known DBI MTP responder device found and set.
[8/30/2023 3:48:16 PM] SD Card device found: Switch, Switch, Nintendo
[8/30/2023 3:48:16 PM] Connecting to MTP Responder...
[8/30/2023 3:48:18 PM] Save folders for 51 games detected.
[8/30/2023 3:48:18 PM] Loading Mario Party™ save data...
[8/30/2023 3:48:18 PM] Loading save data for: Mario Party™
[8/30/2023 3:48:18 PM] Loading Mario Tennis™ save data...
[8/30/2023 3:48:18 PM] Loading save data for: Mario Tennis™
[8/30/2023 3:48:19 PM] Loading Kirby 64™: The Crystal Shards save data...
[8/30/2023 3:48:19 PM] Loading save data for: Kirby 64™: The Crystal Shards
[8/30/2023 3:48:19 PM] Loading Banjo Kazooie™ save data...
[8/30/2023 3:48:19 PM] Loading save data for: Banjo Kazooie™
[8/30/2023 3:48:19 PM] Loading Missing Game (N-9453_e) save data...
[8/30/2023 3:48:19 PM] Loading save data for: Missing Game (N-9453_e)
[8/30/2023 3:48:19 PM] Loading Pokémon Stadium 2™ save data...
[8/30/2023 3:48:19 PM] Loading save data for: Pokémon Stadium 2™
[8/30/2023 3:48:19 PM] Loading Missing Game (N-4609_e) save data...
[8/30/2023 3:48:19 PM] Loading save data for: Missing Game (N-4609_e)
[8/30/2023 3:48:20 PM] Loading Missing Game (N-8143_e) save data...
[8/30/2023 3:48:20 PM] Loading save data for: Missing Game (N-8143_e)
[8/30/2023 3:48:20 PM] Loading GoldenEye 007 save data...
[8/30/2023 3:48:20 PM] Loading save data for: GoldenEye 007
[8/30/2023 3:48:20 PM] Loading Missing Game (N-6506_e) save data...
[8/30/2023 3:48:20 PM] Loading save data for: Missing Game (N-6506_e)
[8/30/2023 3:48:20 PM] Loading Missing Game (N-5895_e) save data...
[8/30/2023 3:48:20 PM] Loading save data for: Missing Game (N-5895_e)
[8/30/2023 3:48:21 PM] Loading Missing Game (N-8098_e) save data...
[8/30/2023 3:48:21 PM] Loading save data for: Missing Game (N-8098_e)
[8/30/2023 3:48:21 PM] Loading Pilotwings™ 64 save data...
[8/30/2023 3:48:21 PM] Loading save data for: Pilotwings™ 64
[8/30/2023 3:48:21 PM] Loading Wave Race™ 64 save data...
[8/30/2023 3:48:21 PM] Loading save data for: Wave Race™ 64
[8/30/2023 3:48:21 PM] Loading Super Mario 64™ save data...
[8/30/2023 3:48:21 PM] Loading save data for: Super Mario 64™
[8/30/2023 3:48:22 PM] Loading F-Zero™ X save data...
[8/30/2023 3:48:22 PM] Loading save data for: F-Zero™ X
[8/30/2023 3:48:22 PM] Loading The Legend of Zelda™: Majora's Mask™ save data...
[8/30/2023 3:48:22 PM] Loading save data for: The Legend of Zelda™: Majora's Mask™
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o41B
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o41C
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o41D
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o41E
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o41F
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o420
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o421
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o422
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o423
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o424
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o425
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o426
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o427
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o428
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o429
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42A
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42B
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42C
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42D
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42E
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o42F
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o430
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o431
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o432
[8/30/2023 3:48:22 PM] Loading The Legend of Zelda™: Ocarina of Time™ save data...
[8/30/2023 3:48:22 PM] Loading save data for: The Legend of Zelda™: Ocarina of Time™
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o449
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44A
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44B
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44C
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44D
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44E
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o44F
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o450
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o451
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o452
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o453
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o454
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o455
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o456
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o457
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o458
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o459
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45A
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45B
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45C
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45D
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45E
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o45F
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o460
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o461
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o462
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o463
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o464
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o465
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o466
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o467
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o468
CaVE.exe Error: 0 : The requested resource is in use. (Exception from HRESULT: 0x800700AA) for o469
[8/30/2023 3:48:22 PM]
[8/30/2023 3:48:22 PM] SAVED
[8/30/2023 3:54:40 PM] Disconnecting from MTP Responder...
[8/30/2023 4:11:31 PM] UNSAVED
[8/30/2023 4:11:32 PM] UNSAVED
[8/30/2023 4:11:32 PM] UNSAVED
[8/30/2023 4:11:33 PM] UNSAVED
[8/30/2023 4:11:34 PM] UNSAVED
[8/30/2023 4:11:34 PM] UNSAVED
[8/30/2023 4:11:35 PM] UNSAVED
[8/30/2023 4:11:35 PM] UNSAVED
[8/30/2023 4:11:36 PM] UNSAVED
[8/30/2023 4:11:36 PM] UNSAVED
[8/30/2023 4:11:37 PM] UNSAVED
[8/30/2023 4:11:37 PM] UNSAVED
[8/30/2023 4:11:38 PM] UNSAVED
[8/30/2023 4:11:38 PM] UNSAVED
[8/30/2023 4:11:40 PM] UNSAVED
[8/30/2023 4:11:40 PM] UNSAVED
[8/30/2023 4:11:41 PM] UNSAVED
[8/30/2023 4:11:41 PM] UNSAVED
[8/30/2023 4:11:43 PM] UNSAVED
[8/30/2023 4:11:43 PM] UNSAVED
[8/30/2023 4:11:44 PM] UNSAVED
[8/30/2023 4:11:44 PM] UNSAVED
[8/30/2023 4:11:45 PM] UNSAVED
[8/30/2023 4:11:45 PM] UNSAVED
[8/30/2023 4:11:48 PM] Entering SaveDatabase_Click
[8/30/2023 4:11:48 PM] Saving to: "C:/Users/snucker/Downloads/CaVE/1.5 beta/CaVE-v1.5-Beta/database/N64_2.10_1.5-beta_2023-08-29/0100C9A00ECE6000\romfs\titles\lclassics.titlesdb"
[8/30/2023 4:11:48 PM] Save complete.
[8/30/2023 4:11:48 PM] Saving to: "C:/Users/snucker/Downloads/CaVE/1.5 beta/CaVE-v1.5-Beta/database/N64_2.10_1.5-beta_2023-08-29/0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng"
[8/30/2023 4:11:48 PM] SaveSettings
[8/30/2023 4:11:48 PM] SAVED
[8/30/2023 4:11:48 PM] Saved.

Comments (3)

  1. Dark Akuma

    There is not much I can do about this right now. It’s not exactly an error, as much as it is a notice. You are disconnecting your device in the middle of it trying to load files. Of course it cant finish doing so when it wants to.

    That said… what I can do about this is… I can not “throw” an error. That tells the app that it needs to close. In this case, its not warranted. Continuing with the app without closing should be fine. I can change the exception to a notice/warning. And I can change the message to be more specific and appropriate. I can also probably stand to check if its still connected at a few points, in order for it to try and be a little less spammy.

    Ultimately, I should probably re-write my code a bit. This part is for my future self, but I should probably generate a list of instructions (Mostly a image cache download que), then just process that all at once from another thread, and provide it a callback for any errors.

    Addressed as best I can for now, in the next build.

  2. Log in to comment