Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updater becomes completely unresponsive #57

Closed
Missingno255 opened this issue Feb 25, 2023 · 15 comments
Closed

Updater becomes completely unresponsive #57

Missingno255 opened this issue Feb 25, 2023 · 15 comments

Comments

@Missingno255
Copy link

After attempting to update my Pocket, using the latest version of the updater, the program completely crashes and becomes completely unresponsive. You cannot kill the process at all. Using Task Manager, Task kill command in Command Prompt, Process explorer to kill process/end task is useless. Process explorer says access is denied, even when it's using admin privileges. Windows itself can't even terminate it, when the "waiting for program to respond" box comes up. After it "reports the problem to Microsoft", it still doesn't close out and sits there completely crashed. When Windows attempts to restart, it prevents the OS from restarting properly, because it cannot terminate the program at all, and you essentially have to hard reboot/use reset button.

@RetroDriven
Copy link
Owner

Can you do a screen record of the behavior and share it? Do you have any other AV software installed or just Windows Defender? I have never seen this happen with all my testing so I'm not sure what's going on here for you.

@SpiralBrad
Copy link

SpiralBrad commented Feb 26, 2023

After attempting to update my Pocket, using the latest version of the updater, the program completely crashes and becomes completely unresponsive. You cannot kill the process at all. snip

@Missingno255 This won't fix the issue at hand, but the next time it goes unresponsive...

Try: taskkill.exe /f /im PocketUpdater.exe from the Win+R run box or an (elevated, if you wish) command prompt.

That can often be a magic bullet to kill a badly behaving app which other things can't seem to kill.

@YLFAndy
Copy link

YLFAndy commented Mar 24, 2023

Can you do a screen record of the behavior and share it? Do you have any other AV software installed or just Windows Defender? I have never seen this happen with all my testing so I'm not sure what's going on here for you.

Happening for me as well. It looks like maybe there's a memory leak. I've never had it happen on my wife's pocket, but she has a limited set of roms. I have all the things (it's a hoarding disorder, I'll never play most of it).

Killing the process and restarting eventually works, but I have to do it 2 or 3 times usually. More as the library of arcade games grow. I'll try to grab a video next time I update (I already went through that process today for the JT Friday stuff and had to restart the process 3 times).

EDIT: after doing some more tests, it appears to ONLY happen when my microSD is connected using an SD adapter. Using a reader with a microSD slot doesn't hang. Tried multiple adapters from SanDisk, Kingston, Lexmark, and Crucial as well as multiple readers (Kingston and ProGrade).

@Missingno255
Copy link
Author

Missingno255 commented Mar 25, 2023

Can you do a screen record of the behavior and share it? Do you have any other AV software installed or just Windows Defender? I have never seen this happen with all my testing so I'm not sure what's going on here for you.

Happening for me as well. It looks like maybe there's a memory leak. I've never had it happen on my wife's pocket, but she has a limited set of roms. I have all the things (it's a hoarding disorder, I'll never play most of it).

Killing the process and restarting eventually works, but I have to do it 2 or 3 times usually. More as the library of arcade games grow. I'll try to grab a video next time I update (I already went through that process today for the JT Friday stuff and had to restart the process 3 times).

EDIT: after doing some more tests, it appears to ONLY happen when my microSD is connected using an SD adapter. Using a reader with a microSD slot doesn't hang. Tried multiple adapters from SanDisk, Kingston, Lexmark, and Crucial as well as multiple readers (Kingston and ProGrade).

Well, this is a problem, I don't have a reader with a Micro SD card slot, and this laptop I have, only has a standard SD slot.

@SpiralBrad even doing that command (which was one of the first things I tried), doesn't work. Nothing does. Only way is to restart, and it prevents Windows 10 from restarting properly.

@SpiralBrad
Copy link

SpiralBrad commented Mar 25, 2023

@Missingno255 Oh oops, I see now that you tried that in the initial post. Not sure how I glossed over that, hah.

And I see you looked at Process Explorer, but maybe try Process Monitor and watch absolutely everything it does... and take note of the last few things it tries to touch/do before freezing?

Edit: as for myself, @YLFAndy, I can say I have a VERY full card of 'all the things' as well, and currently have no trouble updating.

@YLFAndy
Copy link

YLFAndy commented Mar 25, 2023

Well, this is a problem, I don't have a reader with a Micro SD card slot, and this laptop I have, only has a standard SD slot.

@SpiralBrad even doing that command (which was one of the first things I tried, doesn't work. Nothing does. Only way is to restart, and it prevents Windows 10 from restarting properly.

This is going to probably be a 'do it before bedtime' thing, but have you tried running the updater off of the Pocket directly with USB connection? I did that before CD and arcade cores hit and never had a problem. But it's, obviously, not ideal. If it doesn't freeze, though, it might support a race condition theory. I tested the throughput on my readers and when it's in the microSD reader it's about half the speed as when it's in an SD adapter/reader.

@RetroDriven
Copy link
Owner

Some major changes were made in v1.5.6 with Downloads/Speeds. Is this issue still happening?

@YLFAndy
Copy link

YLFAndy commented Apr 4, 2023

Some major changes were made in v1.5.6 with Downloads/Speeds. Is this issue still happening?

Still happening for me if I use an SD card adapter, but now it's actually crashing rather than just hanging.
EDIT: It's actually worse for me in the newest build. Now it's happening through a microSD reader as well (never happened on that before) and it's happening earlier in the process.

image

@RetroDriven
Copy link
Owner

What happens if you disable CRC checking? Are you clicking the UI while it Updates or just letting it sit?

@YLFAndy
Copy link

YLFAndy commented Apr 4, 2023

What happens if you disable CRC checking? Are you clicking the UI while it Updates or just letting it sit?

Clicking. Let me disable CRC And try again.

@RetroDriven
Copy link
Owner

It's not really going to like clicking around the UI while it's downloading as it is now. Try letting it sit and update instead to see what happens.

@YLFAndy
Copy link

YLFAndy commented Apr 4, 2023

It's not really going to like clicking around the UI while it's downloading as it is now. Try letting it sit and update instead to see what happens.

Oh, no...I clicked it AFTER it hung.

@RetroDriven
Copy link
Owner

Where is it hanging up at? Is it the same place every time?

I'm trying to reproduce this but so far I haven't been able to. What kind of specs do you have as far as the laptop/desktop?

Are you running the Updater from the machine itself or is it saved/running from the MicroSD?

@YLFAndy
Copy link

YLFAndy commented Apr 4, 2023

Where is it hanging up at? Is it the same place every time?

It differs. It normally happens in the JT cores, whether there's anything to download or not, but on the most recent build it was happening earlier.

I'm trying to reproduce this but so far I haven't been able to. What kind of specs do you have as far as the laptop/desktop?

Intel 10980XE, 256GB DDR4, Win11 x64, system drive 2TB Samsung 980Pro NVMe Gen4 M.2
But it also happens on my laptop, which is a 12th gen Intel with 64GB RAM.
My readers are Kingston FCR-N84, ProGrade USB 3.2 CFExpress/SD UHS-II, Intel integrated, Corsair.

Are you running the Updater from the machine itself or is it saved/running from the MicroSD?
From the MicroSD.

CRC disabled DID improve it massively in speed and it didn't crash. Cloning the card and running it from SSD works fine. I have not tried just keeping the updater on my machine and running it outside of current directory. I'll give that a go as well.

@YLFAndy
Copy link

YLFAndy commented Apr 4, 2023

Running it from my PC against removable storage versus directly from the MicroSD seems to have remedied it. I'll do that from now on. Unfortunately nothing useful shows up in eventviewer, so I don't think I can add much more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants