edrdos icon indicating copy to clipboard operation
edrdos copied to clipboard

UDVD2 + SHSUCDX makes the system freeze on boot

Open boeckmann opened this issue 9 months ago • 3 comments

Happens on VMware and an emulated Pentium system. So chances are that it is a general compatibility problem.

Image

boeckmann avatar Apr 01 '25 14:04 boeckmann

System freezes when SHSUCDX opens the UDVD2 device driver https://github.com/adoxa/shsucd/blob/f905b43436107b9238c11d5f9a1759c98eb5cc7d/shsucdx.nsm#L2959

boeckmann avatar Apr 02 '25 13:04 boeckmann

This runs fine when launched from SvarCOM after installing lDebug with install indos, tsr. It hangs when running directly under lDebug with ldebug C:\svardos\shsucdx.com /D:SVCD0001, then install indos and g. Likely some stack corruption going on? Have to single-step...

boeckmann avatar Apr 02 '25 18:04 boeckmann

This thing behaves very randomly when running under lDebug. Single-stepping through its source makes it run perfectly. Simply running it via g, likely results in stack corruption (sometimes)?!? At least IP goes wild at some point...

However, I tested with the newest UDVD2 version from the FreeDOS repo. This seems to be newer than the one shipped with SvarDOS. It does not seem to be affected from the bug.

So I will update the package, and hope that the updated version indeed fixed this. If not I will have to revisit this...

boeckmann avatar Apr 03 '25 15:04 boeckmann