Segfault with DVD in drive
Posted: Thu Nov 30, 2023 9:47 pm
I have a few machines here - 2 Kubuntu, one Ubuntu server. I get various segfaults using 1.17.4 depending on what I'm trying to do. However one consistent one I'm seeing is a Kubuntu 23.10 machine segfaults with a disc in but not when the drive is empty:
With no DVD the drive I can scan the machine for disc IDs:
mark@science:~/mkv_test$ makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
MSG:2016,0,3,"Failed to get full access to drive \"Optiarc DVD RW AD-7241S\". Make sure that you either have write access to device \"/dev/sr0\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Failed to get full access to drive \"%1 %2\". Make sure that you either have write access to device \"%3\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Optiarc","DVD RW AD-7241S","/dev/sr0"
MSG:5075,131072,2,"The new version 1.17.5 is available for download at http://www.makemkv.com/download/","The new version %1 is available for download at %2","1.17.5","http://www.makemkv.com/download/"
DRV:0,0,999,0,"DVD+R-DL Optiarc DVD RW AD-7241S 1.03 Ll19Y9HHhHy2","","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5021,131332,1,"This application version is too old. Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.","This application version is too old. Please download the latest version at %1 or enter a registration key to continue using the current version.","http://www.makemkv.com/"
mark@science:~/mkv_test$
However if I put a disc in it segfaults:
mark@science:~/mkv_test$ makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
MSG:2016,0,3,"Failed to get full access to drive \"Optiarc DVD RW AD-7241S\". Make sure that you either have write access to device \"/dev/sr0\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Failed to get full access to drive \"%1 %2\". Make sure that you either have write access to device \"%3\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Optiarc","DVD RW AD-7241S","/dev/sr0"
MSG:5075,131072,2,"The new version 1.17.5 is available for download at http://www.makemkv.com/download/","The new version %1 is available for download at %2","1.17.5","http://www.makemkv.com/download/"
Segmentation fault (core dumped)
I've used makemkv for years and am a licensed user but I've not posted here in a long, long time. If there's specific info I can provide to help identify the root cause please let me know.
With no DVD the drive I can scan the machine for disc IDs:
mark@science:~/mkv_test$ makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
MSG:2016,0,3,"Failed to get full access to drive \"Optiarc DVD RW AD-7241S\". Make sure that you either have write access to device \"/dev/sr0\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Failed to get full access to drive \"%1 %2\". Make sure that you either have write access to device \"%3\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Optiarc","DVD RW AD-7241S","/dev/sr0"
MSG:5075,131072,2,"The new version 1.17.5 is available for download at http://www.makemkv.com/download/","The new version %1 is available for download at %2","1.17.5","http://www.makemkv.com/download/"
DRV:0,0,999,0,"DVD+R-DL Optiarc DVD RW AD-7241S 1.03 Ll19Y9HHhHy2","","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5021,131332,1,"This application version is too old. Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.","This application version is too old. Please download the latest version at %1 or enter a registration key to continue using the current version.","http://www.makemkv.com/"
mark@science:~/mkv_test$
However if I put a disc in it segfaults:
mark@science:~/mkv_test$ makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
MSG:2016,0,3,"Failed to get full access to drive \"Optiarc DVD RW AD-7241S\". Make sure that you either have write access to device \"/dev/sr0\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Failed to get full access to drive \"%1 %2\". Make sure that you either have write access to device \"%3\", are member of \"cdrom\" group or have CAP_SYS_RAWIO enabled.","Optiarc","DVD RW AD-7241S","/dev/sr0"
MSG:5075,131072,2,"The new version 1.17.5 is available for download at http://www.makemkv.com/download/","The new version %1 is available for download at %2","1.17.5","http://www.makemkv.com/download/"
Segmentation fault (core dumped)
I've used makemkv for years and am a licensed user but I've not posted here in a long, long time. If there's specific info I can provide to help identify the root cause please let me know.