MakeMKV crashes computer on failure

Please post here for issues related to DVD discs
Post Reply
Tango
Posts: 43
Joined: Fri Nov 05, 2021 6:20 am

MakeMKV crashes computer on failure

Post by Tango »

I'm using an M2 Mac Mini, running Ventura 13.5.2. I just set this Mac up about 10 days ago, downloading the latest in a lot of software. My MakeMKV version is 1.17.4 [darwin(arm64-release] and the drive I have problems with is an Asus USB BD burner [model number here].

Overall, I'm having issues with MakeMKV handling any kind of failure. While I have settings so it will only retry 5 times, if there's a problem with reading the disk, it often stays at that one point for 5, 10, 15 minutes or more. Once MakeMKV finds a problem, I can forget ripping the rest of that disc without quitting MakeMKV and taking multiple other steps to reset. As far as I can see, the Stop button (at the end of the progress bar) is worthless if MakeMKV is stuck - that's on the problem drive and on my other drive. It works maybe once in half a dozen bad rips, if that often.

The biggest issue is with my Asus drive. (I have one other cheap drive hooked up - both are USB.) When MakeMKV encounters a problem on a disc in the Asus drive, it keeps plugging at it and won't stop. I can press the stop button, but either there's no response, or, in a minute or two, the entire computer reboots. If I quit MakeMKV to try to eject the disc and restart (or try it in another drive), my Mac still reboots. So, basically, if I put a DVD or BD in that drive, and MakeMKV can't read it all, I can expect that at some point it'll crash my entire computer.

For 6 months I was using an M1 Mac Mini, running Ventura, and, while using MakeMKV on that drive, I also experienced some system crashes. This has been the only thing I've seen actually crash macOS or OSX in at least a decade - and I've done a lot of experimenting and testing along the way.

I've included an error report my Mac provides after it reboots from one of these errors, attached below.

I want to add something to this that's not directly related to the crashing problem: If I see MakeMKV stuck at a point in reading a file, there is NO easy way to deal with it. The stop button rarely works, even if I press it and wait. (It works if I stop it when there are no drive issues, like if I realize I'm saving files to the wrong directory, but not if there's a problem reading.) If I'm lucky and MakeMKV responds by stopping reading a file, then it won't let me restart ripping to get the other files on the disc. I have to eject the disc and re-insert it and often, once that happens, I still have to quit MakeMKV and restart it if I want to continue. So even when a bad rip doesn't crash my computer, it's still quite difficult to recover from any ripping issues.

--------------------
panic(cpu 0 caller 0xfffffe001c7c8848): IOSCSIPeripheralDeviceType05::setPowerState(0xfffffe24d9561880 : 0xfffffe001e559934, 3 -> 4) timed out after 100770 ms @IOServicePM.cpp:5604
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 22G91
Kernel version: Darwin Kernel Version 22.6.0: Wed Jul 5 22:17:35 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8112
Fileset Kernelcache UUID: 6CCFB677733BE8FC98760A850F9A11F5
Kernel UUID: 73D17A3E-5C8A-3A9E-8506-4670FBE86860
Boot session UUID: FD1848E3-378F-44F2-BB6C-D8EB27C7EBC4
iBoot version: iBoot-8422.141.2
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x0000000013d24000
KernelCache base: 0xfffffe001ad28000
Kernel slide: 0x0000000013d2c000
Kernel text base: 0xfffffe001ad30000
Kernel text exec slide: 0x0000000015120000
Kernel text exec base: 0xfffffe001c124000
mach_absolute_time: 0x787d80918e
Epoch Time: sec usec
Boot : 0x6519e820 0x0006550d
Sleep : 0x00000000 0x00000000
Wake : 0x00000000 0x00000000
Calendar: 0x651a3c55 0x000ce068

Zone info:
Zone map: 0xfffffe100c92c000 - 0xfffffe300c92c000
. VM : 0xfffffe100c92c000 - 0xfffffe14d95f8000
. RO : 0xfffffe14d95f8000 - 0xfffffe1672f90000
. GEN0 : 0xfffffe1672f90000 - 0xfffffe1b3fc5c000
. GEN1 : 0xfffffe1b3fc5c000 - 0xfffffe200c928000
. GEN2 : 0xfffffe200c928000 - 0xfffffe24d95f4000
. GEN3 : 0xfffffe24d95f4000 - 0xfffffe29a62c0000
. DATA : 0xfffffe29a62c0000 - 0xfffffe300c92c000
Metadata: 0xfffffe10003a4000 - 0xfffffe10083a4000
Bitmaps : 0xfffffe10083a4000 - 0xfffffe100c91c000
Extra : 0 - 0

CORE 0 recently retired instr at 0xfffffe001c2aafe4
CORE 1 recently retired instr at 0xfffffe001c2ac6b0
CORE 2 recently retired instr at 0xfffffe001c2ac6b0
CORE 3 recently retired instr at 0xfffffe001c2ac6b0
CORE 4 recently retired instr at 0xfffffe001c2ac6b0
CORE 5 recently retired instr at 0xfffffe001c2ac6b0
CORE 6 recently retired instr at 0xfffffe001c2ac6b0
CORE 7 recently retired instr at 0xfffffe001c2ac6b0
TPIDRx_ELy = {1: 0xfffffe1b3f679800 0: 0x0000000000000000 0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 0 is the one that panicked. Check the full backtrace for details.
CORE 1: PC=0xfffffe001c23880c, LR=0xfffffe001c2248ec, FP=0xfffffe59a71e3b10
CORE 2: PC=0xfffffe001c1add58, LR=0xfffffe001c1add58, FP=0xfffffe59a7773ef0
CORE 3: PC=0xfffffe001c25899c, LR=0xfffffe001c2576c8, FP=0xfffffe59a72ebb30
CORE 4: PC=0xfffffe001c1add58, LR=0xfffffe001c1add58, FP=0xfffffe59a6f1fef0
CORE 5: PC=0xfffffe001c1add58, LR=0xfffffe001c1add58, FP=0xfffffe59a7587ef0
CORE 6: PC=0xfffffe001c2a73ec, LR=0xfffffe001c1add64, FP=0xfffffe59a753fe80
CORE 7: PC=0xfffffe001c2a73dc, LR=0xfffffe001c1add64, FP=0xfffffe59a769bef0
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe167301f498: 0 pages, 529 threads: pid 0: kernel_task
Panicked thread: 0xfffffe1b3f679800, backtrace: 0xfffffe59a77cb720, tid: 1685
lr: 0xfffffe001c177c0c fp: 0xfffffe59a77cb7a0
lr: 0xfffffe001c2b24bc fp: 0xfffffe59a77cb7c0
lr: 0xfffffe001c2a3e00 fp: 0xfffffe59a77cb830
lr: 0xfffffe001c2a24e4 fp: 0xfffffe59a77cb8f0
lr: 0xfffffe001c12b784 fp: 0xfffffe59a77cb900
lr: 0xfffffe001c177508 fp: 0xfffffe59a77cbcb0
lr: 0xfffffe001c8d7d34 fp: 0xfffffe59a77cbcd0
lr: 0xfffffe001c7c8848 fp: 0xfffffe59a77cbd70
lr: 0xfffffe001c7c7de8 fp: 0xfffffe59a77cbd80
lr: 0xfffffe001c7ea808 fp: 0xfffffe59a77cbdd0
lr: 0xfffffe001c7c7da0 fp: 0xfffffe59a77cbdf0
lr: 0xfffffe001c1cd1b8 fp: 0xfffffe59a77cbe30
lr: 0xfffffe001c1ce178 fp: 0xfffffe59a77cbf20
lr: 0xfffffe001c134bd8 fp: 0x0000000000000000

last started kext at 2765130228: com.apple.filesystems.smbfs 5.0 (addr 0xfffffe001b697570, size 78767)
loaded kexts:
com.apple.filesystems.smbfs 5.0
com.apple.filesystems.udf 2.5
com.apple.filesystems.autofs 3.0
com.apple.UVCService 1
com.apple.driver.CoreKDL 1
com.apple.driver.AppleBiometricServices 1
com.apple.driver.AppleUSBODD 554
com.apple.iokit.SCSITaskUserClient 482.120.2
com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0
com.apple.driver.DiskImages.UDIFDiskImage 493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore 493.0.0
com.apple.driver.AppleUSBMassStorageInterfaceNub 554
com.apple.driver.AppleTopCaseHIDEventDriver 6440.7
com.apple.driver.AppleUSBTopCaseDriver 6440.7
com.apple.driver.BCMWLANFirmware4388.Hashstore 1
com.apple.driver.BCMWLANFirmware4387.Hashstore 1
com.apple.driver.BCMWLANFirmware4378.Hashstore 1
com.apple.iokit.AppleBCM5701Ethernet 11.0.0
com.apple.driver.SEPHibernation 1
com.apple.driver.AppleUSBDeviceNCM 5.0.0
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.driver.AppleAOPVoiceTrigger 250.2
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.nke.l2tp 1.9
com.apple.filesystems.tmpfs 1
com.apple.filesystems.nfs 1
com.apple.filesystems.lifs 1
com.apple.filesystems.apfs 2142.140.9
com.apple.IOTextEncryptionFamily 1.0.0
com.apple.filesystems.hfs.kext 627.100.6
com.apple.security.BootPolicy 1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.AudioDMAController-T8112 240.2
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleSmartIO2 1
com.apple.driver.AppleCS42L84Audio 640.8
com.apple.driver.AppleTypeCRetimer 1.0.0
com.apple.driver.AppleAVE2 670.13.2
com.apple.driver.AppleSPMIPMU 1.0.1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleProResHW 276.1.0
com.apple.driver.usb.AppleSynopsysUSB40XHCI 1
com.apple.driver.AppleMobileDispH14G-DCP 140.0
com.apple.driver.AppleAVD 728.3.1
com.apple.AGXG14G 227.7.14
com.apple.driver.AppleJPEGDriver 5.4.0
com.apple.driver.AppleSN012776Amp 640.8
com.apple.driver.ApplePMP 1
com.apple.AppleEmbeddedSimpleSPINORFlasher 1
com.apple.driver.AppleSerialShim 1
com.apple.driver.AppleT8020SOCTuner 1
com.apple.driver.AppleT8112CLPC 1
com.apple.driver.AppleSPIMC 1
com.apple.driver.ApplePMPFirmware 1
com.apple.driver.AppleEventLogHandler 1
com.apple.driver.AppleS5L8960XNCO 1
com.apple.driver.AppleT8112PMGR 1
com.apple.driver.AppleS8000AES 1
com.apple.driver.AppleS5L8920XPWM 1.0.0d1
com.apple.driver.AppleS8000DWI 1.0.0d1
com.apple.driver.AppleInterruptControllerV2 1.0.0d1
com.apple.driver.AppleBluetoothModule 1
com.apple.driver.AppleBCMWLANBusInterfacePCIe 1
com.apple.driver.AppleT8110DART 1
com.apple.driver.AppleS5L8940XI2C 1.0.0d2
com.apple.driver.AppleT8110 1
com.apple.driver.AppleM68Buttons 1.0.0d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.driver.AppleDiskImages2 198.100.13
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall 404
com.apple.kec.InvalidateHmac 1
com.apple.kec.Compression 1
com.apple.kec.AppleEncryptedArchive 1
com.apple.iokit.IOAVBFamily 1140.6
com.apple.plugin.IOgPTPPlugin 1150.2
com.apple.driver.AppleGameControllerPersonality 10.7.1
com.apple.driver.driverkit.serial 6.0.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily 1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 482.120.2
com.apple.iokit.IOBDStorageFamily 1.8
com.apple.iokit.IODVDStorageFamily 1.8
com.apple.iokit.IOCDStorageFamily 1.8
com.apple.driver.DiskImages.KernelBacked 493.0.0
com.apple.driver.AppleXsanScheme 3
com.apple.driver.AppleHSBluetoothDriver 6440.7
com.apple.driver.IOBluetoothHIDDriver 9.0.0
com.apple.driver.AppleActuatorDriver 6440.7
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.AppleMultitouchDriver 6440.7
com.apple.driver.AppleInputDeviceSupport 6460.1
com.apple.driver.AppleHIDKeyboard 231
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.AppleUSBAudio 560.2
com.apple.iokit.IOAudioFamily 440.2
com.apple.vecLib.kext 1.2.0
com.apple.driver.usb.AppleEmbeddedUSBXHCIPCI 1
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.AppleConvergedIPCOLYBTControl 1
com.apple.driver.AppleConvergedPCI 1
com.apple.driver.AppleBluetoothDebug 1
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.driver.AppleAOPAudio 240.5
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleThunderboltDPInAdapter 8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily 8.5.1
com.apple.driver.AppleDCPDPTXProxy 1.0.0
com.apple.driver.DCPDPFamilyProxy 1
com.apple.nke.ppp 1.9
com.apple.driver.AppleSEPHDCPManager 1.0.1
com.apple.driver.AppleTrustedAccessory 1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleBTM 1.0.1
com.apple.AGXFirmwareKextG14GRTBuddy 1
com.apple.AGXFirmwareKextRTBuddy64 227.7.14
com.apple.driver.AppleBSDKextStarter 3
com.apple.kext.triggers 1.0
com.apple.driver.IOHIDPowerSource 1
com.apple.driver.AppleCallbackPowerSource 1
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleSyntheticGameController 10.7.1
com.apple.driver.AppleSPU 1
com.apple.driver.DCPAVFamilyProxy 1
com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0
com.apple.driver.AppleCSEmbeddedAudio 640.8
com.apple.driver.AppleStockholmControl 1.0.0
com.apple.driver.AppleT8112TypeCPhy 1
com.apple.driver.AppleT8103TypeCPhy 1
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleH11ANEInterface 6.602.1
com.apple.driver.AppleUSBXDCIARM 1.0
com.apple.driver.AppleUSBXDCI 1.0
com.apple.iokit.IOUSBDeviceFamily 2.0.0
com.apple.driver.AppleHPM 3.4.4
com.apple.driver.usb.AppleSynopsysUSBXHCI 1
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEmbeddedUSBHost 1
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleSPMI 1.0.1
com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0
com.apple.driver.AppleDCP 1
com.apple.driver.AppleFirmwareKit 1
com.apple.iokit.IOMobileGraphicsFamily 343.0.0
com.apple.driver.AppleMCA2-T8112 740.3
com.apple.iokit.IOGPUFamily 65.60.1
com.apple.driver.AppleEmbeddedAudio 640.8
com.apple.iokit.AppleARMIISAudio 240.2
com.apple.driver.AppleEmbeddedAudioLibs 240.1
com.apple.driver.AppleFirmwareUpdateKext 1
com.apple.driver.ApplePassthroughPPM 3.0
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleNANDConfigAccess 1.0.0
com.apple.driver.AppleSART 1
com.apple.driver.ApplePMGR 1
com.apple.driver.AppleARMWatchdogTimer 1
com.apple.driver.AppleDisplayCrossbar 1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy 1
com.apple.driver.AppleThunderboltNHI 7.2.81
com.apple.driver.AppleT8103PCIeC 1
com.apple.iokit.IOThunderboltFamily 9.3.3
com.apple.driver.ApplePIODMA 1
com.apple.driver.AppleT8112PCIe 1
com.apple.driver.AppleMultiFunctionManager 1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore 1.0.0
com.apple.iokit.IO80211Family 1200.13.0
com.apple.driver.IOImageLoader 1.0.0
com.apple.driver.AppleOLYHAL 1
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleEmbeddedPCIE 1
com.apple.driver.AppleGPIOICController 1.0.2
com.apple.driver.AppleFireStormErrorHandler 1
com.apple.driver.AppleMobileApNonce 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOTimeSyncFamily 1150.2
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily 597
com.apple.iokit.IOBluetoothSerialManager 9.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport 9.0.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport 9.0.0
com.apple.iokit.IOBluetoothHostControllerTransport 9.0.0
com.apple.driver.IOBluetoothHostControllerPCIeTransport 9.0.0
com.apple.iokit.IOBluetoothFamily 9.0.0
com.apple.iokit.CSRBluetoothHostControllerUSBTransport 9.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 9.0.0
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleSEPKeyStore 2
com.apple.driver.AppleUSBTDM 554
com.apple.iokit.IOUSBMassStorageDriver 235.140.2
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOSCSIBlockCommandsDevice 482.120.2
com.apple.iokit.IOSCSIArchitectureModelFamily 482.120.2
com.apple.driver.AppleRSMChannel 1
com.apple.iokit.IORSMFamily 1
com.apple.driver.AppleIPAppender 1.0
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.RTBuddy 1.0.0
com.apple.driver.AppleEmbeddedTempSensor 1.0.0
com.apple.driver.AppleARMPMU 1.0
com.apple.iokit.IOAccessoryManager 1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.4
com.apple.iokit.IOSerialFamily 11
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor 1
com.apple.driver.AppleBiometricSensor 2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.AUC 1.0
com.apple.iokit.IOAVFamily 1.0.0
com.apple.iokit.IOHDCPFamily 1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family 1.0
com.apple.driver.AppleIISController 240.1
com.apple.driver.AppleAudioClockLibs 240.1
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.iokit.IOSurface 336.60.1
com.apple.driver.IODARTFamily 1
com.apple.driver.FairPlayIOKit 71.1.0
com.apple.driver.AppleARMPlatform 1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOReportFamily 47
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.iokit.IOStorageFamily 2.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.security.AppleImage4 5.0.0
com.apple.kext.CoreTrust 1
com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 12.0



** Stackshot Succeeded ** Bytes Traced 489044 (Uncompressed 1228400) **
dcoke22
Posts: 2664
Joined: Wed Jul 22, 2020 11:25 pm

Re: MakeMKV crashes computer on failure

Post by dcoke22 »

It is a little bit hard to decipher especially since so much of Apple's dump is in hexadecimal. However, the dump indicates the kernel is panicking; this is what's causing the reboot. The first line of the dump:

panic(cpu 0 caller 0xfffffe001c7c8848): IOSCSIPeripheralDeviceType05::setPowerState(0xfffffe24d9561880 : 0xfffffe001e559934, 3 -> 4) timed out after 100770 ms @IOServicePM.cpp:5604

mentions IOSCSIPeripheralDeviceType05, which is a subclass of IOSCSIMultimediaCommandsDevice. Those are the macOS classes that let a program interact with an optical drive.

My interpretation/speculation of what's happening is macOS attempts to do something with the optical drive that either fails or times out. The macOS code for the optical drive doesn't seem to have any error handling to deal with the failure/timeout allowing kernel to panic, which causes a reboot. Apple doesn't ship an optical drive with any of their computers anymore and hasn't for a while. I think the bits of macOS that interact with optical drives are slowly falling into disrepair as a consequence.

My Intel based iMac occasionally kernel panics and reboots when I'm attempting to cancel/stop MakeMKV when a drive is failing to read a disc. I find it very frustrating.
Tango
Posts: 43
Joined: Fri Nov 05, 2021 6:20 am

Re: MakeMKV crashes computer on failure

Post by Tango »

dcoke22 wrote:
Mon Oct 02, 2023 12:48 pm
It is a little bit hard to decipher especially since so much of Apple's dump is in hexadecimal. However, the dump indicates the kernel is panicking; this is what's causing the reboot.
What you say about this sounds reasonable - while I've done a lot of programming in the past and still play around, I have never learned to read one of Apple's dumps like this. I did notice that nowhere in there is the actual program mentioned.
My interpretation/speculation of what's happening is macOS attempts to do something with the optical drive that either fails or times out. The macOS code for the optical drive doesn't seem to have any error handling to deal with the failure/timeout allowing kernel to panic, which causes a reboot. Apple doesn't ship an optical drive with any of their computers anymore and hasn't for a while. I think the bits of macOS that interact with optical drives are slowly falling into disrepair as a consequence.
(I just realized I never added the model number for the drive. For anyone following this, it's BD-RE ASUS BW-16D1X-U A105 KLEM5PG3642d, according to MakeMKV.) I find it interesting this happens with the expensive optical reader/burner and not with the cheap one. If the OS doesn't have any way to trap this problem, would it be possible to add it to MakeMKV? Overall, I feel like MakeMKV does a great job of ripping, but is very poor and dealing with anything going wrong and if avoidable, crashing an entire OS, in 2023, should be prevented if at all possible.

Last night I started ripping 2 DVDs, one in each drive, before going to sleep, and got up later to go to the bathroom and found my Mac had rebooted again, so I guess it hit a problem and timed out. But this is happening on this drive so much that, basically, if MakeMKV hits a sector it can't read, it guarantees a system crash. (I could swear it wasn't this bad last time I ripped a number of DVDs, something like 6 months or more ago.)
My Intel based iMac occasionally kernel panics and reboots when I'm attempting to cancel/stop MakeMKV when a drive is failing to read a disc. I find it very frustrating.
On the one hand, it's nice to know I'm not the only one. On the other hand, this indicates a problem. Maybe we could compare dumps and see where the issue is to recommend to MakeMKV developers something specific enough that they could easily add error trapping for any routines that use the OS functions that are crashing?
StrangeBrew
Posts: 7
Joined: Fri Mar 25, 2022 2:13 am

Re: MakeMKV crashes computer on failure

Post by StrangeBrew »

All I know is that I have three to four crashes every day on my iMac Intel 27" 2019 because MakeMKV gets stuck on the cancel button. I hit it nearly 100 times once before it finally crashed on me. I've also hit cancel "just once" and it didn't stop for 37 fucking minutes! It did stop running program scans, but just sat there like an asshole. I know I paid $60 for this schizophrenic software and I'm starting to want my money back! I update every time the developer releases one hoping whoever this developer is will FINALLY fix the CANCEL button, or cancel, or "what-the-fuck-ever" button that makes it stop! This is sickening! I waste several hours of my day babysitting this junk software because I can't trust it to run on its own.
dcoke22
Posts: 2664
Joined: Wed Jul 22, 2020 11:25 pm

Re: MakeMKV crashes computer on failure

Post by dcoke22 »

I don't have any specific insight into how MakeMKV works. However, MakeMKV is interacting with the operating system and the firmware of the optical drive. MakeMKV does not have any control over how the OS or the firmware behave and they're probably responsible for at least some of the bad behavior here.

In any case, I take the opposite approach. I generally put a disc in the drive, set it to backup, and then stop paying attention to it. If I happen to notice things have gone really badly, I often just hit the physical button on the drive to eject the disc.
StrangeBrew
Posts: 7
Joined: Fri Mar 25, 2022 2:13 am

Re: MakeMKV crashes computer on failure

Post by StrangeBrew »

I've been trying to delete my last post-reply because I was frustrated and impulsive when I wrote it (my post-reply about the cancel button). Developer: Please accept my apologies for my outburst. It was just, "A Day." You've done very well for us and I owe you more than I actually paid.
Post Reply