makemkvcon causes segfaults in orc

The place to discuss linux version of MakeMKV
dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

makemkvcon causes segfaults in orc

Post by dawgg »

in my gentoo-systems makemkvcon does not run anymore; on intel with 3.12.8-gentoo it causes segfaults in liborc:

Code: Select all

makemkvcon[22625]: segfault at 0 ip 00007f1aaa9e0002 sp 00007fffb2f3fcc8 error 4 in liborc-0.4.so.0.17.0[7f1aaa9e0000+79000]
and on amd with 3.13.0-gentoo-r1:

Code: Select all

makemkvcon[16446]: segfault at 7fc75df2c000 ip 00007fc75df2c000 sp 00007fff782f4d08 error 14 in zero[7fc75df30000+60000]
i've tested it with orc-0.4.16-r1; orc-0.4.17 and orc-0.4.18 (the current version installed by the package-manager)
all systems use glibc-2.18-r1 compiled with linux-headers 3.13.
what can i do to get makemkv up&running again?
Joe Bar
Posts: 7
Joined: Sat Jan 19, 2013 8:23 am

Re: makemkvcon causes segfaults in orc

Post by Joe Bar »

Hello,

I think, it could ba a problem with glibc. The last time I converted some BD/DVDs at Jan. 17th with MakeMKV. If I start it today, makemkv crashes after about 30 seconds with a popup "Fehler aufgetreten, Programm wird beendet" in german, which means "Error occured, program gets terminated". makemkvcon -info iso:<filename> segfaults almost immedeately.
dmesg shows sth like:

Code: Select all

makemkvcon[7668]: segfault at 7f45ffc8d000 ip 00007f45ffc8d000 sp 00007fff444e5878 error 14
The main difference between the last working config and now is a upgrade of the glibc version from 2.17 to 2.18.

Regards,
Knut
Last edited by Joe Bar on Mon Feb 03, 2014 7:26 am, edited 1 time in total.
Joe Bar
Posts: 7
Joined: Sat Jan 19, 2013 8:23 am

Re: makemkvcon causes segfaults in orc

Post by Joe Bar »

Tried today with new version 1.8.8. Same error.
strace makemkvcon shows

Code: Select all

--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7f8ad9711000} ---
dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

Re: makemkvcon causes segfaults in orc

Post by dawgg »

THX for the replies - i already suspected that.
i haven't tested the new version yet and i guess we will not get the source to compile makemkvcon ourselves.
i briefly thought about downgrading glibc but i really do not want to destroy some smoothly-running systems.
so i guess the only thing that's left is to set up and run makemkv from a chroot - a huge PITA.
i'll still check new makemkv-versions and keep you posted.
darkphader
Posts: 10
Joined: Fri Feb 22, 2013 7:41 pm
Location: Motown
Contact:

Re: makemkvcon causes segfaults in orc

Post by darkphader »

I'm seeing the same issue. Makemkv-1.8.9 fails in the same fashion.

[257989.137146] makemkvcon[25383]: segfault at 0 ip 00007f0dee729002 sp 00007f0dce783868 error 4 in liborc-0.4.so.0.18.0[7f0dee729000+7c000]
averylinden
Posts: 8
Joined: Fri Aug 02, 2013 2:59 pm

Re: makemkvcon causes segfaults in orc

Post by averylinden »

Just as a point of reference, 1.8.9 works for me with kernel 3.13.4-1 and libc 2.18-3 on debian. So it might be something else on your system.
dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

Re: makemkvcon causes segfaults in orc

Post by dawgg »

nice for you, but no go on my boxes. i tried 1.8.7, 1.8.8 and 1.8.9; with stable and unstable. i downgraded liborc from 0.4.18 to 0.4.17 - the same results:

Code: Select all

[ 1153.795110] makemkvcon[29950]: segfault at 0 ip 00007fd75c85e002 sp 00007fff682be078 error 4 in liborc-0.4.so.0.18.0[7fd75c85e000+7c000]
[ 1363.470559] makemkvcon[623]: segfault at 0 ip 00007f77f61fb002 sp 00007fff92a76688 error 4 in liborc-0.4.so.0.18.0[7f77f61fb000+7c000]
[ 1496.347117] makemkvcon[28412]: segfault at 0 ip 00007fa97766d002 sp 00007fffc01b3438 error 4 in liborc-0.4.so.0.17.0[7fa97766d000+79000]
the binary nvidia-driver (which causes a lot of troubles even in 3.12.8 now) is not the reason, either; above dmesg is from a system with nouveau.
darkphader
Posts: 10
Joined: Fri Feb 22, 2013 7:41 pm
Location: Motown
Contact:

Re: makemkvcon causes segfaults in orc

Post by darkphader »

averylinden wrote:Just as a point of reference, 1.8.9 works for me with kernel 3.13.4-1 and libc 2.18-3 on debian. So it might be something else on your system.
Hmm... wonder where the difference lies as there is no love on my system - libc 2.18, kernel 3.13.5, orc 0.4.10, and makemkv crashes everytime (it used to run just fine). This is a 64 bit Gentoo box.
averylinden
Posts: 8
Joined: Fri Aug 02, 2013 2:59 pm

Re: makemkvcon causes segfaults in orc

Post by averylinden »

I have liborc 0.4.18-1, so that's a difference between our systems.
darkphader
Posts: 10
Joined: Fri Feb 22, 2013 7:41 pm
Location: Motown
Contact:

Re: makemkvcon causes segfaults in orc

Post by darkphader »

averylinden wrote:I have liborc 0.4.18-1, so that's a difference between our systems.
Typo on my part - I do have 0.4.18.
darkphader
Posts: 10
Joined: Fri Feb 22, 2013 7:41 pm
Location: Motown
Contact:

Re: makemkvcon causes segfaults in orc

Post by darkphader »

Are we getting anywhere on this bug? Any additional information needed in order to resolve?
brotkastn
Posts: 1
Joined: Wed Apr 09, 2014 10:41 am

Re: makemkvcon causes segfaults in orc

Post by brotkastn »

I too, have the problem that makemkvcon segfaults.

The gentoo forums also have a topic about those problems, see here.

If i can help with anything, just let me know. MakeMKV is a fantastic tool, and i would be happy to get it running for me again.

Thanks for your help!
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: makemkvcon causes segfaults in orc

Post by mike admin »

brotkastn wrote:If i can help with anything, just let me know. MakeMKV is a fantastic tool, and i would be happy to get it running for me again.
Please send a core file of makemkvcon (see /onlinehelp/dump.html ) + binaries of all libraries loaded by makemkvcon (ldd makemkvcon). Thanks!
darkphader
Posts: 10
Joined: Fri Feb 22, 2013 7:41 pm
Location: Motown
Contact:

Re: makemkvcon causes segfaults in orc

Post by darkphader »

Code: Select all

# ldd /opt/bin/makemkvcon                                                                                   
        linux-vdso.so.1 (0x00007fff175ff000)
        libmakemkv.so.1 => /usr/lib64/libmakemkv.so.1 (0x00007f1b26b8c000)
        libdriveio.so.0 => /usr/lib64/libdriveio.so.0 (0x00007f1b26986000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1b26769000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f1b263c0000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libstdc++.so.6 (0x00007f1b260bc000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f1b25eb4000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f1b25bbc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f1b259b8000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f1b255ea000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f1b253d4000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f1b251aa000)
        libavcodec.so.55 => /usr/lib64/libavcodec.so.55 (0x00007f1b24231000)
        libavutil.so.52 => /usr/lib64/libavutil.so.52 (0x00007f1b23fed000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1 (0x00007f1b23dd7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f1b26e06000)
        libva.so.1 => /usr/lib64/libva.so.1 (0x00007f1b23bc1000)
        libxvidcore.so.4 => /usr/lib64/libxvidcore.so.4 (0x00007f1b238ab000)
        libx264.so.142 => /usr/lib64/libx264.so.142 (0x00007f1b2353a000)
        libwavpack.so.1 => /usr/lib64/libwavpack.so.1 (0x00007f1b23312000)
        libvpx.so.1 => /usr/lib64/libvpx.so.1 (0x00007f1b22fb5000)
        libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007f1b22d0c000)
        libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f1b22ae0000)
        libvo-aacenc.so.0 => /usr/lib64/libvo-aacenc.so.0 (0x00007f1b228c3000)
        libtheoraenc.so.1 => /usr/lib64/libtheoraenc.so.1 (0x00007f1b22696000)
        libtheoradec.so.1 => /usr/lib64/libtheoradec.so.1 (0x00007f1b22486000)
        libschroedinger-1.0.so.0 => /usr/lib64/libschroedinger-1.0.so.0 (0x00007f1b221d6000)
        libopus.so.0 => /usr/lib64/libopus.so.0 (0x00007f1b21f8e000)
        libopenjpeg.so.5 => /usr/lib64/libopenjpeg.so.5 (0x00007f1b21d6a000)
        libopencore-amrwb.so.0 => /usr/lib64/libopencore-amrwb.so.0 (0x00007f1b21b56000)
        libopencore-amrnb.so.0 => /usr/lib64/libopencore-amrnb.so.0 (0x00007f1b2192c000)
        libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007f1b216b5000)
        libfdk-aac.so.0 => /usr/lib64/libfdk-aac.so.0 (0x00007f1b21405000)
        libfaac.so.0 => /usr/lib64/libfaac.so.0 (0x00007f1b211f3000)
        libaacplus.so.2 => /usr/lib64/libaacplus.so.2 (0x00007f1b20fc5000)
        libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f1b20dbe000)
        liborc-0.4.so.0 => /usr/lib64/liborc-0.4.so.0 (0x00007f1b20b3b000)
tonto
Posts: 1
Joined: Fri Apr 11, 2014 5:30 pm

Re: makemkvcon causes segfaults in orc

Post by tonto »

Taking this a step further; liborc is a dependency of the schroedinger/dirac codec. After completely removing liborc/libschroedinger, a segfault now occurs in libogg.

Code: Select all

$ makemkvcon stream 123.mpeg

kernel: makemkvcon[29751]: segfault at 0 ip 00007f30316ed002 sp 00007fff499897d8 error 4 in libogg.so.0.8.1[7f30316ed000+6000]
Post Reply