OneGeekArmy / Disk-Jockey-Community

19 stars 0 forks source link

"Create a device image" inconsistently crashes in macOS #27

Open briankendall opened 1 month ago

briankendall commented 1 month ago

I'm not sure what the exact trigger is, but frequently when I try to convert a Mini vMac disk image using Disk-o-matic / the "Create device image" button, it crashes. If I run Disk Jockey in a terminal window, it provides this hopefully helpful output:

2024-05-31 12:01:04.664 Disk Jockey[60060:1410039] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007ff80b72611a __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff80b24b0b7 objc_exception_throw + 48
    2   CoreFoundation                      0x00007ff80b74e296 -[NSException raise] + 9
    3   AppKit                              0x00007ff80e7727ee -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 307
    4   AppKit                              0x00007ff80e75ed04 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1227
    5   AppKit                              0x00007ff80e8f787d -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 50
    6   AppKit                              0x00007ff80e75e832 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
    7   AppKit                              0x00007ff80e8f7836 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 59
    8   AppKit                              0x00007ff80f23a470 -[NSSavePanel initWithContentRect:styleMask:backing:defer:] + 91
    9   AppKit                              0x00007ff80f20edf1 -[NSOpenPanel initWithContentRect:styleMask:backing:defer:] + 136
    10  AppKit                              0x00007ff80ea2de02 -[NSPanel init] + 69
    11  AppKit                              0x00007ff80f23a408 -[NSSavePanel init] + 226
    12  Disk Jockey                         0x000000010da81937 Disk Jockey + 18743
    13  Disk Jockey                         0x000000010daa9617 Disk Jockey + 181783
    14  Disk Jockey                         0x000000010daa1bc9 Disk Jockey + 150473
    15  libdispatch.dylib                   0x00007ff80b430d91 _dispatch_call_block_and_release + 12
    16  libdispatch.dylib                   0x00007ff80b432033 _dispatch_client_callout + 8
    17  libdispatch.dylib                   0x00007ff80b4420f6 _dispatch_root_queue_drain + 683
    18  libdispatch.dylib                   0x00007ff80b442768 _dispatch_worker_thread2 + 170
    19  libsystem_pthread.dylib             0x00007ff80b5cfc0f _pthread_wqthread + 257
    20  libsystem_pthread.dylib             0x00007ff80b5cebbf start_wqthread + 15
)
libc++abi: terminating due to uncaught exception of type NSException
Abort trap: 6

I've also attached a couple of crash reports in case it helps sort it out.

This is version 3.3 (145) running on Intel macOS 13.6.6.

disk jockey crash logs.zip

OneGeekArmy commented 4 weeks ago

Hi!

This would appear to be a regression issue on 13.6. I'm building a machine with that version of macOS to see if I can replicate the issue.

Thanks for providing a crash log. Very helpful!