makemkvcon on fedora FC10 SIGSEGV

The place to discuss linux version of MakeMKV
Post Reply
vartista
Posts: 4
Joined: Sun Aug 09, 2009 5:52 pm

makemkvcon on fedora FC10 SIGSEGV

Post by vartista »

Hi There,

I've tried previously with 1.4.4 and now with 1.4.6 but I'm unable to run makemkvcon on Fedora 10:

Code: Select all

$ sudo  /usr/bin/makemkvcon info
001014:000000:0000 MakeMKV v1.4.6 beta linux(x86-release) started
Current action: Scanning CD-ROM devices
Segmentation fault
or sometimes with a different output:

Code: Select all

$ sudo  /usr/bin/makemkvcon info
001014:000000:0000 MakeMKV v1.4.6 beta linux(x86-release) started
Current action: Scanning CD-ROM devices
Current progress - 0%  , Total progress - 0%   
Current progress - 0%  , Total progress - 0%   
Segmentation fault
One suspicious thing is that I have to add an exception to SELinux after compiling and installing the makemkv libs:
message from SELinux: "The makemkvcon application attempted to load /usr/lib/libmakemkv.so.1 which requires text relocation."

Code: Select all

$sudo chcon -t textrel_shlib_t '/usr/lib/libmakemkv.so.1'


Running an strace did not help:

Code: Select all

...
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2da9000
mprotect(0x2da9000, 4096, PROT_NONE)    = 0
clone(child_stack=0x37a94a4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x37a9bd8, {entry_number:6, base_addr:0x37a9b90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x37a9bd8) = 29200
futex(0x83c956c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x83c9568, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
nanosleep({0, 100000000},  <unfinished ...>
+++ killed by SIGSEGV +++



gdb did not help either:

Code: Select all

Starting program: /usr/bin/makemkvcon info
[Thread debugging using libthread_db enabled]
001014:000000:0000 MakeMKV v1.4.6 beta linux(x86-release) started
[New Thread 0xb7fe26d0 (LWP 29252)]
[New Thread 0x177fb90 (LWP 29253)]
[New Thread 0x795eb90 (LWP 29254)]
Current action: Scanning CD-ROM devices
Current progress - 0%  , Total progress - 0%   
Current progress - 0%  , Total progress - 0%   

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x795eb90 (LWP 29254)]
0x082192e4 in strcpy () at strcpy.c:39
39	      c = *s++;
(gdb) where
#0  0x082192e4 in strcpy () at strcpy.c:39
#1  0x0795e0d8 in ?? ()
#2  0x082197b8 in strcpy () at strcpy.c:39
#3  0x00000001 in ?? ()
#4  0x00844d7c in ?? ()
#5  0x0a1c0aeb in ?? ()
#6  0x41b3ad52 in ?? ()
#7  0x0000000a in ?? ()
#8  0xe54e175c in ?? ()
#9  0x00000001 in ?? ()
#10 0x0116e3fd in ?? ()
#11 0xe4762da6 in ?? ()
#12 0x23a8cfdf in ?? ()
#13 0x00000000 in ?? ()
(gdb) 

any ideas?

Thanks a lot
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: makemkvcon on fedora FC10 SIGSEGV

Post by mike admin »

We can try to debug. We would need core dump and makemkv libs compiled on your system (I assume that you're getting the core dump when app crashes).
vartista
Posts: 4
Joined: Sun Aug 09, 2009 5:52 pm

Re: makemkvcon on fedora FC10 SIGSEGV

Post by vartista »

The core dump is too big to post here -> http://rapidshare.de/files/48091242/mak ... ar.gz.html

I can also confirm that I get the same exact behaviour on my other machine running FC9.

Would it help with a debug enabled version of makemkvcon executable? even without the source code one could see the stack.

Is it possible that I'm the only one with this problem on FC9, 10?

Thanks again,
Last edited by vartista on Tue Aug 11, 2009 6:12 pm, edited 1 time in total.
vartista
Posts: 4
Joined: Sun Aug 09, 2009 5:52 pm

Re: makemkvcon on fedora FC10 SIGSEGV

Post by vartista »

Here's the entry I get in /var/log/messages:
makemkvcon[11132]: segfault at af1d7f ip 082192e4 sp 03b7e018 error 4 in makemkvcon[8048000+380000]
CybrFyre
Posts: 17
Joined: Fri Aug 21, 2009 10:11 pm

Re: makemkvcon on fedora FC10 SIGSEGV

Post by CybrFyre »

Hi. I am having pretty much the same experience on Fedora 11 64-bit

I do have a core I can upload if you have a ftp someplace.

Thanks.

ps Fedora 11's stock openssl also is lacking the elliptical curve crypto. So, I ended up just compiling the latest snapshot of openssl 1.0 from source and pointing makemkv at that.
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: makemkvcon on fedora FC10 SIGSEGV

Post by mike admin »

MakeMKV 1.4.7 should compile and run fine. Please confirm.
vartista
Posts: 4
Joined: Sun Aug 09, 2009 5:52 pm

Re: makemkvcon on fedora FC10 SIGSEGV

Post by vartista »

I can confirm that v1.4.8 works on FC10.
Thanks and you can close this thread.

btw great work with makemkv !
Post Reply