Makemkv hangs OS

Everything related to MakeMKV
Post Reply
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Makemkv hangs OS

Post by nickjpg »

Started somewhere on 1.14.* code set, not sure when unfortunately, currently running 1.15.0 .
Long time (4 years plus) user of Makemkv) user, and paid subscription.

My Linux (Debian 10.3) system sucessfully rips DVD's (not BD's) a few times, can be up to 10 or as little as 2 consecutively, then the Load on my system goes through the roof in a matter of milliseconds (300+). It happens so fast, that there are no smoking guns in syslog, and the xterms I have running top and topas don't get updated with the culprit.

The load basically freezes my system, cannot login remotely and the keyboard, mouse stop responding. I have to power off to recover.

It always occurs after a DVD has been successfully ripped, then I eject that DVD either manually Eject widget on Makemkv app; then I insert the next DVD to rip and then it happens. The CDROM drive starts its pre-read, and then the OS fires off the daemons that handle new media insertion, then freeze.

I replaced the CDROM drive, thinking it was the culprit. Next I replace the PS, as I have seen strange issues with flaky PS and CDROM drives.

Still happening, not really sure what to do, other than to roll back to < 1.14 and try that. But wanted to see if anyone else has seen this. I searched the general and Linux OS specific forums; and didn't see anything, but might have missed it. Depends on the search variables.
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

I am going to run strace next against makemkv, so see if I can capture, hopefully, useful system calls happening at time of crash. Will post here when completed.
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

Took 5 DVD's before crashing this time, attached is the strace (bzip2).
Attachments
makemkv_strace_output.bz2
(512.75 KiB) Downloaded 385 times
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

Using handbrake on same DVD's does not crash the system. Now on DVD #21 consecutively and no issues. Something with the makemkv interplay with the CDROM drive opening and closing media drawer.
aloha
Posts: 34
Joined: Wed Feb 26, 2020 12:56 pm

Re: Makemkv hangs OS

Post by aloha »

Hello:

Out of curiosity... Have you tried opening the drive door via the drive's button (IE: NOT via eject widget)? This would definitely help to isolate if your theory is correct? Also, what distro of Linux, RAM amount, CPU, etc.?

A
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

Thanks for the suggestion. I tried that, as noted in my long rambling first post, understand if you missed that. I tried just using the physical eject button and failed, so next I just tried using the makemkv eject button, and failed as well. Doesn't seem to be a repeatable number of occurrences to cause the failure, except it's always less than 11 so far.
aloha
Posts: 34
Joined: Wed Feb 26, 2020 12:56 pm

Re: Makemkv hangs OS

Post by aloha »

Hello:

My apologies.

You're right I did miss the part regarding about what Linux distro you were using. Regarding the ejection portion, I totally misunderstood your reference of eject via button and via the widget. Thank you for the professional and gracious way of pointing out my mistake/misunderstanding.

Now I look like a complete buffoon. Quoting Doc Brown... Damn. Damn damn!

Regards,
A
jinx100
Posts: 157
Joined: Wed Mar 13, 2013 5:58 pm

Re: Makemkv hangs OS

Post by jinx100 »

You've tried the likely CDROM drive and power supply already.

I don't know the Linux equivalent to a system image but you may want to be ready if your hard drive or SSD is failing.
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

Thanks for the suggestions. FYI, I run mdadm RAID1 w/spare on all my mounted filesystems, so hopefully that shouldn't bite me. Has anyone used any sort of kernel analysis or debug tools, to capture hardware issues up to failure point, in some sort of telemetry file (other than /var/log/messages)?
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Makemkv hangs OS

Post by nickjpg »

Update::
Well handbrake also crashed Linux system, after about 2 days and 20 or so DVD's. So NOT a makemkv issue.


FYI:: Going to upgrade to a 1000W PS as next step.

Thanks for all the help from folks here.

--
Post Reply