Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
makemkv / makemkvcon crash; cause segfaults in liborc
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 647

PostPosted: Wed Jan 29, 2014 1:36 pm    Post subject: makemkv / makemkvcon crash; cause segfaults in liborc Reply with quote

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:
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:
makemkvcon[10364]: segfault at 7f2758e84000 ip 00007f2758e84000 sp 00007fff44c78558 error 14 in zero[7f2758e88000+60000]

dmesg on intel-box:
Code:
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:
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.
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 434
Location: Cambridge, UK

PostPosted: Thu Feb 13, 2014 6:55 pm    Post subject: Reply with quote

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!"
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 647

PostPosted: Sun Feb 16, 2014 9:32 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Mon Feb 17, 2014 6:18 am    Post subject: Reply with quote

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. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 434
Location: Cambridge, UK

PostPosted: Mon Feb 17, 2014 8:39 am    Post subject: Reply with quote

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!"
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Fri Feb 21, 2014 12:28 am    Post subject: Reply with quote

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. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 434
Location: Cambridge, UK

PostPosted: Fri Feb 21, 2014 8:07 pm    Post subject: Reply with quote

Thanks. Giving it a try.

I have
Code:
-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!"
Back to top
View user's profile Send private message
takhisis_astrafall
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2004
Posts: 115
Location: rennes

PostPosted: Sun Feb 23, 2014 5:23 pm    Post subject: Reply with quote

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 :/
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Thu Feb 27, 2014 6:43 pm    Post subject: Reply with quote

What's the last version that was working for you guys?
_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Thu Feb 27, 2014 6:55 pm    Post subject: Reply with quote

Also, 1.8.9 is available now, but not in the tree.
_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1146
Location: Motown

PostPosted: Thu Feb 27, 2014 7:20 pm    Post subject: Reply with quote

beandog wrote:
Also, 1.8.9 is available now, but not in the tree.


Unfortunately it has the same issue.
_________________
A mouse is a device used to point at the xterm you want to type in.
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Thu Feb 27, 2014 7:51 pm    Post subject: Reply with quote

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. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 647

PostPosted: Mon Mar 03, 2014 4:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2014
Location: /usa/utah

PostPosted: Tue Mar 04, 2014 6:30 pm    Post subject: Reply with quote

Hmm, dunno. Seems odd to me that glibc of all things would be the one causing problems ..
_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 321

PostPosted: Fri Mar 28, 2014 6:28 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2639
Location: Dallas area

PostPosted: Fri Mar 28, 2014 7:11 pm    Post subject: Reply with quote

I just compiled the 1.8.9 version and ran the op command
Code:
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.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 321

PostPosted: Sun Apr 06, 2014 12:02 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1146
Location: Motown

PostPosted: Sun Apr 06, 2014 2:36 pm    Post subject: Reply with quote

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.
_________________
A mouse is a device used to point at the xterm you want to type in.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2639
Location: Dallas area

PostPosted: Sun Apr 06, 2014 4:23 pm    Post subject: Reply with quote

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
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 2524
Location: Germany

PostPosted: Mon Apr 07, 2014 6:12 am    Post subject: Reply with quote

Same error here on a amd64 no-multilib system
Code:
$ 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:
$ 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)
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 647

PostPosted: Fri May 02, 2014 12:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 812
Location: Edinburgh, Scotland

PostPosted: Sun May 11, 2014 9:18 am    Post subject: Reply with quote

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:
#!/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:
LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd vlc


Enjoy! :D
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2639
Location: Dallas area

PostPosted: Tue May 13, 2014 5:47 pm    Post subject: Reply with quote

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.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
sessa
n00b
n00b


Joined: 06 Apr 2008
Posts: 6

PostPosted: Tue May 13, 2014 7:51 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 812
Location: Edinburgh, Scotland

PostPosted: Tue May 13, 2014 8:47 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum