Read speed fails to read and crashes DICUI if another instance is running #36

Closed
opened 2026-01-29 16:08:08 +00:00 by claunia · 2 comments
Owner

Originally created by @Jakz on GitHub (Jun 18, 2018).

Originally assigned to: @mnadareski on GitHub.

System.AgumentOutOfRangeException is raised in MainWindow.xaml.cs, inside SetSupportedDriveSpeed() function, here:

string readspeed = Regex.Match(output.Substring(index), @"ReadSpeedMaximum: [0-9]+KB/sec \(([0-9]*)x\)").Groups[1].Value;

when output from DIC fails to produce expected output (for instance if another instance is already dumping).

Originally created by @Jakz on GitHub (Jun 18, 2018). Originally assigned to: @mnadareski on GitHub. System.AgumentOutOfRangeException is raised in `MainWindow.xaml.cs`, inside `SetSupportedDriveSpeed()` function, here: string readspeed = Regex.Match(output.Substring(index), @"ReadSpeedMaximum: [0-9]+KB/sec \(([0-9]*)x\)").Groups[1].Value; when output from DIC fails to produce expected output (for instance if another instance is already dumping).
claunia added the bug label 2026-01-29 16:08:08 +00:00
Author
Owner

@mnadareski commented on GitHub (Jun 18, 2018):

Extra info: Probably related to the Groups[1] part of the code more than anything. Will investigate.

@mnadareski commented on GitHub (Jun 18, 2018): Extra info: Probably related to the `Groups[1]` part of the code more than anything. Will investigate.
Author
Owner

@mnadareski commented on GitHub (Jul 17, 2018):

No longer crashes, but now freezes both the running instance of DIC and DICUI. Good case for #69

@mnadareski commented on GitHub (Jul 17, 2018): No longer crashes, but now freezes both the running instance of DIC and DICUI. Good case for #69
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#36