Page 1 of 1

Makemkv hangs OS

Posted: Fri Mar 27, 2020 9:07 pm
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.

Re: Makemkv hangs OS

Posted: Fri Mar 27, 2020 9:40 pm
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.

Re: Makemkv hangs OS

Posted: Fri Mar 27, 2020 11:14 pm
by nickjpg
Took 5 DVD's before crashing this time, attached is the strace (bzip2).

Re: Makemkv hangs OS

Posted: Sat Mar 28, 2020 4:26 am
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.

Re: Makemkv hangs OS

Posted: Sat Mar 28, 2020 9:36 am
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

Re: Makemkv hangs OS

Posted: Sun Mar 29, 2020 8:11 pm
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.

Re: Makemkv hangs OS

Posted: Sun Mar 29, 2020 8:31 pm
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

Re: Makemkv hangs OS

Posted: Sun Mar 29, 2020 8:37 pm
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.

Re: Makemkv hangs OS

Posted: Mon Mar 30, 2020 1:39 pm
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)?

Re: Makemkv hangs OS

Posted: Mon Mar 30, 2020 7:23 pm
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.

--