Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

makemkv / makemkvcon crash; cause segfaults in liborc

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
61 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

makemkv / makemkvcon crash; cause segfaults in liborc

  • Quote

Post by DawgG » Wed Jan 29, 2014 1:36 pm

i noticed that makemkv (or rather makemkvcon) cannot be used on any of my systems anymore: the gui exits on any actions with "fatal error" and makemkvcon causes segfaults in liborc (from dev-lang/orc)

Code: Select all

ice@medi ~ $ makemkvcon info dev:/dev/sr0
MakeMKV v1.8.7 linux(x64-release) started
Profile parsing error: default profile missing, using builtin default
Segmentation fault
dmesg on amd-boxes:

Code: Select all

makemkvcon[10364]: segfault at 7f2758e84000 ip 00007f2758e84000 sp 00007fff44c78558 error 14 in zero[7f2758e88000+60000]
dmesg on intel-box:

Code: Select all

makemkvcon[22625]: segfault at 0 ip 00007f1aaa9e0002 sp 00007fffb2f3fcc8 error 4 in liborc-0.4.so.0.17.0[7f1aaa9e0000+79000]
i've re-emerged makemkv and also different versions of dev-lang/orc but the problem remains the same. i've extracted the files from the makemkv-archives that the ebuild downloads and run makemkvcon manually but (not surprisingly) the problem remains the same.
the makemkvcon-version from the archive:

Code: Select all

ice@x2 ~/tmp $ ldd makemkv-bin-1.8.7/bin/amd64/makemkvcon
<SNIP>
liborc-0.4.so.0 => /usr/lib64/liborc-0.4.so.0 (0x00007fe15c566000)
i've also tested that with the oldest version of dev-lang/orc available in portage - no change.

all systems are ~amd64 with the latest updates; the amd-boxes run kernel 3.13-r1 with radeon-os-drivers and the intel-box runs 3.12.8 (because of nvidia-drivers)

how can i get makemkv up&running again?
DUMM KLICKT GUT.
Top
ferg
Guru
Guru
User avatar
Posts: 542
Joined: Fri Nov 15, 2002 9:38 am
Location: Cambridge, UK
Contact:
Contact ferg
Website

  • Quote

Post by ferg » Thu Feb 13, 2014 6:55 pm

Did you ever fix this? A recent Bluray purchase has made me revisit Makemkc and my previously working installation now segfaults like yours.
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

  • Quote

Post by DawgG » Sun Feb 16, 2014 9:32 am

no, i never got this fixed (the makemkvcon-binary is closed-source).
i had some very moderate success inside a chroot (on the same system): dvds can be extracted, but blurays still cannot. ppl report the same probs in the makmkv-forums. i ended up temporarily using a different distro for this.
GOOD LUCK!
DUMM KLICKT GUT.
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Mon Feb 17, 2014 6:18 am

Have you tried using an older version of MakeMKV?

It's pretty simple to compile, not using an ebuild. Just curious if there was something critical that you needed latest version for ... :)
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
ferg
Guru
Guru
User avatar
Posts: 542
Joined: Fri Nov 15, 2002 9:38 am
Location: Cambridge, UK
Contact:
Contact ferg
Website

  • Quote

Post by ferg » Mon Feb 17, 2014 8:39 am

Initially I was using an older version and that worked. I must have upgraded it, since last using it, and it started coredumping.

I'll put an older version on and try that.
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Fri Feb 21, 2014 12:28 am

ferg wrote:Initially I was using an older version and that worked. I must have upgraded it, since last using it, and it started coredumping.

I'll put an older version on and try that.
Looks like 1.8.8 hit the tree recently, see if that helps.

Also do you guys have copies of the old tarballs ... any at all? I wanna do some testing on the older versions, but I only have latest.
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
ferg
Guru
Guru
User avatar
Posts: 542
Joined: Fri Nov 15, 2002 9:38 am
Location: Cambridge, UK
Contact:
Contact ferg
Website

  • Quote

Post by ferg » Fri Feb 21, 2014 8:07 pm

Thanks. Giving it a try.

I have

Code: Select all

-rw-rw-r-- 1 portage portage 6.6M Nov  5  2012 /mnt/distfiles/makemkv-bin-1.7.8.tar.gz
-rw-rw-r-- 1 portage portage 5.3M May 22  2013 /mnt/distfiles/makemkv-bin-1.8.3.tar.gz
-rw-rw-r-- 1 portage portage 7.6M Sep 13 07:14 /mnt/distfiles/makemkv-bin-1.8.5.tar.gz
-rw-rw-r-- 1 portage portage  12M Dec 12 04:40 /mnt/distfiles/makemkv-bin-1.8.7.tar.gz
-rw-rw-r-- 1 portage portage 483K Nov  5  2012 /mnt/distfiles/makemkv-oss-1.7.8.tar.gz
-rw-rw-r-- 1 portage portage 4.0M May 22  2013 /mnt/distfiles/makemkv-oss-1.8.3.tar.gz
-rw-rw-r-- 1 portage portage 4.0M Sep 13 07:16 /mnt/distfiles/makemkv-oss-1.8.5.tar.gz
-rw-rw-r-- 1 portage portage 4.1M Dec 12 04:40 /mnt/distfiles/makemkv-oss-1.8.7.tar.gz
Cheers
Ferg
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Top
takhisis_astrafall
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sun Apr 04, 2004 10:41 pm
Location: rennes

  • Quote

Post by takhisis_astrafall » Sun Feb 23, 2014 5:23 pm

Hello,

Same here,

Tried with the 1.8.7 and 1.8.8 installed manually and the 1.8.8 installed by emerge and still the same error :/
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Thu Feb 27, 2014 6:43 pm

What's the last version that was working for you guys?
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Thu Feb 27, 2014 6:55 pm

Also, 1.8.9 is available now, but not in the tree.
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
darkphader
Veteran
Veteran
User avatar
Posts: 1225
Joined: Thu May 09, 2002 11:24 pm
Location: Motown
Contact:
Contact darkphader
Website

  • Quote

Post by darkphader » Thu Feb 27, 2014 7:20 pm

beandog wrote:Also, 1.8.9 is available now, but not in the tree.
Unfortunately it has the same issue.
WYSIWYG - What You See Is What You Grep
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Thu Feb 27, 2014 7:51 pm

darkphader wrote:
beandog wrote:Also, 1.8.9 is available now, but not in the tree.
Unfortunately it has the same issue.
Blah. Well I updated my own archives to have old versions, so if you wanna rollback, that's your option.

http://bluray.beandog.org/makemkv/
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

  • Quote

Post by DawgG » Mon Mar 03, 2014 4:00 pm

i tested 1.8.7 thru 1.8.9 - still the same error. i installed it with portage , w/ and w/out the makefile.patch and manually (with the included makefiles) - no go. i downgraded orc - same problem(s).
i think the problem lies somewhere else - because users report they have no problems with glibc-2.18 and kernel 3.13:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7517
what do you suggest we do now?
DUMM KLICKT GUT.
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Tue Mar 04, 2014 6:30 pm

Hmm, dunno. Seems odd to me that glibc of all things would be the one causing problems ..
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
brot
Guru
Guru
Posts: 322
Joined: Tue Apr 06, 2004 9:32 pm

  • Quote

Post by brot » Fri Mar 28, 2014 6:28 pm

Phew, i though i had gone crazy.

I used makemkv to get the first two seasons of breaking bad onto my tablet. Then, my friend wanted his bluray drive back, so i tried to rip the rest of the seasons - and got the segfault. This was with the version 1.8.7. Since i was very busy at that time, i ignored the problems and gave his drive back. He then said, his drive was broken, so i assumed the problem was the drive.

Now i bought two BR-Writers (one for him and another one for me), and tried to continue where i left off. However, i got the same problem.

So, are there any solutions yet? Or could i help with some informations?

Thanks anyways,
brot
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Fri Mar 28, 2014 7:11 pm

I just compiled the 1.8.9 version and ran the op command

Code: Select all

makemkvcon info dev:/dev/sr0
No problem with seeing Green Lantern extended cut BR (just one I had laying around)

Software is in my sig.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
brot
Guru
Guru
Posts: 322
Joined: Tue Apr 06, 2004 9:32 pm

  • Quote

Post by brot » Sun Apr 06, 2014 12:02 pm

Your sig mentions glibc-2.17, so maybe there are indeed problems with newer glibc. Since that is hard to downgrade: Is anyone here having problems and is running glibc-2.18?
Top
darkphader
Veteran
Veteran
User avatar
Posts: 1225
Joined: Thu May 09, 2002 11:24 pm
Location: Motown
Contact:
Contact darkphader
Website

  • Quote

Post by darkphader » Sun Apr 06, 2014 2:36 pm

brot wrote:Your sig mentions glibc-2.17, so maybe there are indeed problems with newer glibc. Since that is hard to downgrade: Is anyone here having problems and is running glibc-2.18?
I think that's when the problem started for me, at the install of glibc-2.18, and it has persisted through glibc-2.18-r1 and now glibc-2.19.
WYSIWYG - What You See Is What You Grep
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Sun Apr 06, 2014 4:23 pm

Sounds like glibc changed the way they handle one or more function calls.

All you can do is pester the makemkv people.
I do have to wonder why they don't just create a static makemkv binary,
at least the glibc part as it would keep problems like this from happening.

Good luck
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Mon Apr 07, 2014 6:12 am

Same error here on a amd64 no-multilib system

Code: Select all

$ makemkvcon info dev:/dev/sr0
MakeMKV v1.8.9 linux(x64-release) started
Segmentation fault

# dmesg
[ 8137.846752] makemkvcon[8063]: segfault at 0 ip 00007f34f9ffe002 sp 00007fffa6e31c38 error 4
[ 8137.846759]  in liborc-0.4.so.0.18.0[7f34f9ffe000+7b000]
I do not think it is up to the glibc version (tested with glibc-2.17 and glibc-2.18-r1) with makemkv-1.8.8 and 1.8.9

==========================================================
It's probably a 32/64 bit Story
On the same hardware with an x86 (i686) System makemkv-1.8.8 and 1.8.9 works here fine, with glibc-2.17

Code: Select all

$ makemkvcon info dev:/dev/sr0
MakeMKV v1.8.9 linux(x86-release) started
Using direct disc access mode
File 00005.mpls was added as title #0
File 00500.mpls was added as title #1
....
(Sorry for me bad English)
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

  • Quote

Post by DawgG » Fri May 02, 2014 12:12 pm

i just re-checked this with 1.8.10 on a completely up-to-date ~x86-system: same problems.
for me the only way to run it on gentoo is to run it in an ancient amd64-chroot or use it in a different distro installed exclusively for this purpose (mint).
DUMM KLICKT GUT.
Top
Chewi
Developer
Developer
User avatar
Posts: 890
Joined: Mon Sep 01, 2003 4:29 pm
Location: Edinburgh, Scotland
Contact:
Contact Chewi
Website

  • Quote

Post by Chewi » Sun May 11, 2014 9:18 am

I think Josef.95's finding may be false, it definitely worked with glibc 2.17 here and other people appear to be reporting the same. I have just updated to glibc 2.19 and it stopped working. I couldn't be bothered to install Gentoo to a ROOT so I used debootstrap to install a base Ubuntu Saucy instead. I chrooted into that system and installed MakeMKV but I wanted to use the libaacs emulation feature that I mentioned in bug #509838. The patch attached there gets it to execute /opt/bin/makemkvcon rather than /usr/bin/makemkvcon but in this case, ignore the patch and use the latter path to invoke a wrapper to the Ubuntu system instead.

/usr/bin/makemkvcon:

Code: Select all

#!/bin/sh

exec /mnt/makemkv/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 --library-path /mnt/makemkv/usr/lib:/mnt/makemkv/lib/x86_64-linux-gnu:/mnt/makemkv/usr/lib/x86_64-linux-gnu /mnt/makemkv/usr/bin/makemkvcon "${@}"
Then invoke vlc or mplayer from Gentoo like this:

Code: Select all

LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd vlc
Enjoy! :D
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue May 13, 2014 5:47 pm

Has anyone tried (that is having problems with glibc >2.17) to build the older glibc libraries,
put them somewhere else, and use LD_PRELOAD to point to them instead of the newer glibc?

Edit to add: Yes, I know it's a pain, but if it works it would allow one to use the program until the program gets fixed to work with later glibc's.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
sessa
n00b
n00b
Posts: 6
Joined: Sun Apr 06, 2008 4:30 pm

  • Quote

Post by sessa » Tue May 13, 2014 7:51 pm

Hello,

I made a downgrade of glibc from 2.19 to 2.17
After that I started emerge -e @system @world
Luckily everythings works.

Expect makemkv - Still the same Errors

Installed version of ffmpeg was 2.22
I also tested it with libav-9, ffmpeg-1.2, ffmpeg-2.1

Im using a 64-bit system, gcc 4.8.2
Last edited by sessa on Tue May 13, 2014 10:34 pm, edited 1 time in total.
Top
Chewi
Developer
Developer
User avatar
Posts: 890
Joined: Mon Sep 01, 2003 4:29 pm
Location: Edinburgh, Scotland
Contact:
Contact Chewi
Website

  • Quote

Post by Chewi » Tue May 13, 2014 8:47 pm

Anon-E-moose wrote:Has anyone tried (that is having problems with glibc >2.17) to build the older glibc libraries,
put them somewhere else, and use LD_PRELOAD to point to them instead of the newer glibc?
Actually yes, I tried that before the Ubuntu solution but it doesn't work because glibc is not forwards-compatible. Even if you rebuild MakeMKV with the older glibc (possible with -Wl,-rpath), it still doesn't work because all the libraries it depends on would also need to be rebuilt. There are quite a few. The Ubuntu solution is much easier.
Top
Post Reply

61 posts
  • 1
  • 2
  • 3
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic