dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
355 stars 33 forks source link

V4.01 Crash on Exporting a disk #661

Closed bluecursor closed 3 years ago

bluecursor commented 3 years ago

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [97854]

VM Regions Near 0x8: --> __TEXT 10121a000-1013d2000 [ 1760K] r-x/r-x SM=COW /Applications/Emulators/*/VirtualC64.app/Contents/MacOS/VirtualC64

darkterm4b-86.g64.zip

dirkwhoffmann commented 3 years ago

The disk exporter crashes, because it cannot divide the GCR data stream into tracks and sectors (the G64 file contains a disk with a non-standard track / sector format).

TODO: Display a proper error message instead of crashing.

dirkwhoffmann commented 3 years ago

Should be fixed in v4.1.