mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-08 05:37:45 +00:00
[Problem] UI dies while scanning PS1 discs for anti-mod strings #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kreeblah on GitHub (Mar 20, 2021).
Originally assigned to: @mnadareski on GitHub.
Before You Submit
If all of those fail, then continue...
Version
What version are you using?
bfbae5cf5cBuild
What runtime version are you using?
Describe the issue
I've only tried this with two PS1 discs (Descent and Descent Maximum) so far, but it's happened with both. While scanning for anti-mod strings, the UI suddenly quits. There is still a DiscImageCreator.exe process which continues running, and locks the files in the output directory, but I'm not really sure what it's doing.
This seems to happen around the 65000-75000 sector range, and it happens every time I try to read one of these discs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect the UI to not quit.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I haven't seen anything in the output files that looks super relevant here, but I might have missed something.
@Kreeblah commented on GitHub (Mar 20, 2021):
Oh, I'm also not sure whether it's related to BurnOutSharp or not. If it is, I can report the issue there instead.
@mnadareski commented on GitHub (Mar 20, 2021):
Since it's happening before the dump as a part of DIC, it's something about DIC's outputs at that point that is causing the issue. I'm assuming that DIC's outputs are going to the Log output instead of a separate window in your case?
@Kreeblah commented on GitHub (Mar 20, 2021):
They are, yeah.
@mnadareski commented on GitHub (Mar 26, 2021):
Okay, I did try to reproduce this locally to no avail. I then added
4842bdd38bto ensure that if there's a logging error (like during processing of DIC outputs) it will just log the error and continue.Even with that (and an additional change to process the anti-mod search
2d19d51bc7) I still haven't been able to observe the same results.@Kreeblah commented on GitHub (Mar 26, 2021):
Well, I just tried
2d19d51bc7and I can't reproduce the issue at all. Withbfbae5cf5cit happened 100% of the time, but I can't get it to happen with this commit. So, I think it's good.I did notice one cosmetic thing, though, with the anti-mod progress bar. It says "anit-mod" instead of "anti-mod". Anyway, I think this can probably be closed. Thanks for taking a look at it!
@mnadareski commented on GitHub (Mar 26, 2021):
Oops, typo'd that one. I'll fix that and close this right after. Hopefully the extra guard around logging will prevent something like that to happen in the future. Honestly, still no idea why it would have done that before.