mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-03 21:29:23 +00:00
Scanning NE files throws exception #172
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 @Hendi48 on GitHub (May 12, 2024).
I have a couple discs containing Win3.11 binaries and BinaryObjectScanner runs into an exception opening them on net8.0.
Btw. there seems to be a misplaced
nameof()in SabreTools.IO.It's not exclusive to RainbowSentinel, this throws in all modules utilizing
ReadArbitraryRange.@mnadareski commented on GitHub (May 12, 2024):
The issue seen above seems to have been fixed from a combination of unrelated changes including
66da74e00a. This item will be left open until BOS gets the library updates that actually allow this to be fixed, however.@mnadareski commented on GitHub (May 13, 2024):
The changes that should have fixed this are now in the rolling release of Serialization. The test program for that library can be found here: https://github.com/SabreTools/SabreTools.Serialization/releases/tag/rolling
@mnadareski commented on GitHub (May 15, 2024):
Newest BOS rolling release (https://github.com/SabreTools/BinaryObjectScanner/releases/tag/rolling) includes the changes above. Please test when possible.
@Hendi48 commented on GitHub (May 16, 2024):
It's not fixed, unfortunately. The exception string is better now.
I analyzed the root cause and found that it's a concurrency issue. The NE scans are done using TPL. In
ReadFromDataSourcethere's aSeek/Read/Seeksequence that will fault when not guarded against concurrent execution.@TheRogueArchivist commented on GitHub (Jun 11, 2024):
Hello, it should be fixed within the newest rolling release (https://github.com/SabreTools/BinaryObjectScanner/releases/tag/rolling), I'd been running into the same issues personally and made sure they're fixed now.