Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486330 - media-video/makemkv - Segmentation fault
Summary: media-video/makemkv - Segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-28 14:12 UTC by Daniel Pielmeier
Modified: 2015-03-08 11:02 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2013-09-28 14:12:56 UTC
This an update to bug #439380. I open a new one because the old bug was a version bump request and my issue is different and not related to a specific version.

I have bought a new computer and switched to amd64, however I still get the same segmentation faults I reported in bug #439380. This happened to me with any version of makemkv since 1.7.9 and older. I hoped switching to amd64 would make the issue go away but apparently it did not.

If required I can provide additional infos.

emerge --info

Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16312296 total,  14715428 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Sat, 28 Sep 2013 11:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise gentoo-billie
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/source/distfiles"
EMERGE_DEFAULT_OPTS="--oneshot --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="POSIX"
LC_ALL="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
MAKEOPTS="-j9"
PKGDIR="/var/portage/source/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/var/portage/repos/gentoo"
PORTDIR_OVERLAY="/var/portage/repos/sunrise /var/portage/repos/gentoo-billie"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl adns alsa amd64 amr avx bash-completion berkdb bidi bluray branding bs2b bzip2 cairo caps cdda cddb cdio cli consolekit cracklib crypt cups curl cxx dbus dga dirac djvu dri drm dts dv dvb dvd encode exif faac fbcon ffmpeg fftw flac fontconfig fortran gallium gdbm gif gimp gles gles1 gles2 gnutls gpm graphviz gsm gstreamer gtk gtk3 iconv icu id3tag idn iec61883 ieee1394 imlib introspection ipv6 java jbig jpeg jpeg2k kate ladspa lame lcms libass libcaca libnotify libproxy libsamplerate lua lzma lzo mad metalink midi mms mmx mmxext mng modplug modules mono mp3 mpeg mudflap multilib musepack ncurses nls nptl nsplugin ogg openal opengl openmp opus oss pam pcre pdf phonon png policykit postscript pvr qt4 readline rle rtmp scanner schroedinger session sid slang sndfile speex spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg taglib tcpd theora threads tiff truetype twolame udev unicode v4l vaapi vcd vim-syntax vorbis vpx wavpack webkit wmf wxwidgets x264 xattr xcb xlib-xcb xml xmp xpm xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer report-builder" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev intel v4l vesa vga" XFCE_PLUGINS="clock logout trash"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-video/makemkv-1.8.5 was built with the following:
USE="(multilib)" ABI_X86="64"
CFLAGS="-march=core-avx-i -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=core-avx-i -Os -pipe -fomit-frame-pointer"
Comment 1 Matthew Marlowe (RETIRED) gentoo-dev 2013-12-17 20:07:31 UTC
please try again with 1.8.7
Comment 2 Daniel Pielmeier gentoo-dev 2014-01-05 16:34:15 UTC
(In reply to Matthew Marlowe from comment #1)
> please try again with 1.8.7

Still does not work.
Comment 3 S.Holzbach 2014-02-15 21:22:41 UTC
makemkv not working here also anymore. I tried 1.8.7 and 1.8.8 (copied 1.8.7 ebuild and modified).

makemkv gui shows, freezes and exits with "A fatal error occurred. [...]". If I start "makemkvcon info" I get a segfault immediately:

makemkvcon[20393]: segfault at 0 ip 00007fe862cfb002 sp 00007fffc9f94dd8 error 4 in libogg.so.0.8.1[7fe862cfb000+6000]

emerge --info:

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.13.3-gentoo x86_64)
=================================================================
System uname: Linux-3.13.3-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_V2_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16438576 total,   9532812 free
KiB Swap:   16777396 total,  16777396 free
Timestamp of tree: Sat, 15 Feb 2014 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo kde ikelos sunrise multimedia hasufell je_fro
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE MakeMKV-EULA AdobeFlash-11_beta google-chrome AdobeFlash-10.3 AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://mirror.opteamax.de/gentoo/ rsync://ftp.snt.utwente.nl/gentoo rsync://mirror.netcologne.de/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://de-mirror.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.bytemark.co.uk/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/ikelos /var/lib/layman/sunrise /var/lib/layman/multimedia /var/lib/layman/hasufell /var/lib/layman/je_fro"
SYNC="rsync://rsync15.de.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aacplus aacs accessibility acl acpi additions aio alsa amd64 apache2 apm archive asf audiofile avcodec avx bash-completion bluetooth bluray branding btrfs bzip2 c++0x cairo cdda cdparanoia cdr cgi cli clucene cmake consolekit cracklib crypt css ctype cups curl cvs cxx dar64 dbus declarative dga dri drm dts dvd dvdr embedded emboss encode exif extensions extra fam fbcon fbcondecor fbsplash festival ffmpeg filter firefox flac foomaticdb fortran fts3 g3dvl gallium gbm gd gdbm gif git glamor gles gles2 glib gpm graphite graphviz gs gtk gzip hbci hwdb hwinfo iconv icq icu id3tag imagemagick imlib inotify jabber java java6 javascript jpeg jpeg2k json kdcraw kde kde-qt kdepim keymap kipi kontact kpathsea ladspa lame latex lcms libkms libnotify lm_sensors logrotate mad matroska mbrola mime mjpeg mmap mmx mng modules mp3 mp4 mpeg mplayer mtp multilib musicbrainz mysql mysqli ncurses nls nptl nsplugin odbc offensive ogg ogm opengl openmp orc osc oscar pam pango pch pcre pdf pdo phonon php plasma png policykit ppds pulseaudio python python3 qmake qt3support qt4 qthelp quicktime raster rdesktop readline redeyes samba sasl scanner sdl secure-delete semantic-desktop sensord server session smbclient sndfile soap sox speex spell sql srt sse sse2 sse3 sse4_1 ssl startup-notification subversion svg sysvipc tcpd theora threads tidy tiff tokenizer truetype udev udisks unicode upcall upnp upower usb vaapi valgrind vcd virtuoso vnc vorbis webdav webkit wmf wxwidgets x264 xcb xcomposite xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xpm xprint xscreensaver xv xvid xvmc zip zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias worker access compat socache_shmcb authn_core authz_core unixd" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20 ruby21" SANE_BACKENDS="mustek_usb" USERLAND="GNU" VIDEO_CARDS="radeon r600 r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-19 20:14:10 UTC
Guys,
I'm not sure yet what the best way to track down this bug or even if you both are seeing the same issue...but for S.Holzbach, the fact that we are getting an error message about libogg would seem to point there or some dependency of libogg.  You might want to recompile libogg, any packages libogg depends on for a few steps down, and then re-emerge makemkv.  

Daniel - are there any messages in dmesg with more segfault/coredump info?  Like S. Hozbach's?

Thanks.
Comment 5 jospezial 2014-02-20 01:06:02 UTC
makemkvcon[24345]: segfault at 0 ip 00007fcb08f36002 sp 00007fcae8f90868 error 4 in libfftw3f.so.3.3.2[7fcb08f36000+16e000]

~ $ equery b libfftw3f.so.3.3.2
 * Searching for libfftw3f.so.3.3.2 ... 
app-emulation/emul-linux-x86-soundlibs-20131008-r2 (/usr/lib32/libfftw3f.so.3.3.2)
sci-libs/fftw-3.3.3-r3 (/usr/lib64/libfftw3f.so.3.3.2)

=================================================================
                        Package Settings
=================================================================

app-emulation/emul-linux-x86-soundlibs-20131008-r2 was built with the following:
USE="alsa development pulseaudio" ABI_X86="-32"


sci-libs/fftw-3.3.3-r3 was built with the following:
USE="fortran openmp sse sse2 threads (-altivec) -avx -doc -fma -mpi (-neon) -quad -static-libs -test (-zbus)" ABI_X86="64 -32 -x32"
Comment 6 Daniel Pielmeier gentoo-dev 2014-02-20 13:03:44 UTC
(In reply to Matthew Marlowe from comment #4)
> 
> Daniel - are there any messages in dmesg with more segfault/coredump info? 
> Like S. Hozbach's?

I get the same segfault like jospezial.
Comment 7 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:23:38 UTC
OK..the emul-libs packages went a major revamp lately and it's possible that makemkv is being confused by it.

I am running the pre-revamp package here and makemkv runs perfectly.
[U] app-emulation/emul-linux-x86-soundlibs
     Available versions:  20130224^s 20131008-r2^s {alsa +development +pulseaudio ABI_X86="32"}
     Installed versions:  20120520-r2^s(06:08:25 PM 10/03/2012)(alsa -development)
     Homepage:            http://dev.gentoo.org/~pacho/emul.html
     Description:         Provides precompiled 32bit libraries

Note that the purpose of the emul packages is to provide 32 bit libraries on a 64 bit system.  And, indeed - /usr/lib32/libfftw3f.so.3.3.2 should be a 32 bit library...however, the package was built with ABI_X86="-32" so who knows...I don't really follow how the post-revamp packages work.  But, yeah, I wouldn't be surprised if this is the problem.  Perhaps try building the library again with +32 enabled.
Comment 8 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:27:35 UTC
Perhaps we should file a bug upstream and see if there is a reason that on x86_64 systems that it should try to be linking to a 32 bit library.
Comment 9 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:29:42 UTC
Actually, it isn't clear yet if it is the 64 bit native or the 32 bit emulation library that is the issue here...but that does seem to be a difference and a recent change that could be causing the issue.
Comment 10 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:39:58 UTC
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7614
Comment 11 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:43:56 UTC
hyperion mjpegtools # cd /opt/bin
hyperion bin # file makemkvcon
makemkvcon: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, stripped

So, odds are - this is not 32 bit emulation related.

I have the following for the 64 bit fftw library:
[I] sci-libs/fftw
     Available versions:  
     (2.1)  2.1.5-r8
     (3.0)  3.3.3-r2 ~3.3.3-r3
       {altivec avx doc float fma fortran mpi neon openmp quad sse sse2 static-libs test threads zbus ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  3.3.3-r2(3.0)(06:51:21 PM 10/30/2013)(doc fortran mpi openmp sse sse2 threads -altivec -avx -fma -neon -quad -static-libs -test -zbus ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
Comment 12 Matthew Marlowe (RETIRED) gentoo-dev 2014-02-20 19:46:22 UTC
Only difference I can see is that I have mpi use flag enabled for fftw.
Comment 13 Daniel Pielmeier gentoo-dev 2014-02-20 20:01:30 UTC
Matt, thanks for taking care of this.

It should be related to the native 64bit library as makemkvcon links to
libfftw3f.so.3 => /usr/lib64/libfftw3f.so.3

I have the same version of fftw installed. Use flags are almost the same, doc and mpi is unset however. I have rebuilt fftw with the mpi USE flag and then makemkv again to be sure, but the result is the same
Comment 14 Knut Masanetz 2014-02-21 10:35:00 UTC
Maybe it's a glibc related bug as my makemkv installations (1.8.7 and 1.8.8, x86 and x86_64) stopped working around the glibc-update on my systems. See upstream:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7517
I even sent a dump-file to MakeMKV support (support@makemkv.com)...
Comment 15 Chris Smith 2014-02-27 19:27:49 UTC
[179198.149773] makemkvcon[27250]: segfault at 0 ip 00007f6ac3e4f002 sp 00007f6aa3ea9868 error 4 in liborc-0.4.so.0.18.0[7f6ac3e4f000+7c000]

Fails with makemkv-1.8.9 (not in tree yet) as well.
Comment 16 S.Holzbach 2014-03-12 20:09:38 UTC
tried again after update to makemkv-1.8.9
same error :
makemkvcon[8422]: segfault at 0 ip 00007ff3817e1002 sp 00007fffc8ed2ae8 error 4 in libogg.so.0.8.1[7ff3817e1000+6000]
Comment 17 Chris Smith 2014-04-02 16:09:45 UTC
Any clues to a resolution here? App has been unusable for some time.
Comment 18 Chris Smith 2014-04-25 18:59:15 UTC
Sigh... problem still exists in 1.8.10.
Comment 19 Steve Dibb (RETIRED) gentoo-dev 2014-04-25 19:25:28 UTC
(In reply to Chris Smith from comment #18)
> Sigh... problem still exists in 1.8.10.

Chris, can I go ahead and get an emerge --info from you as well?  Thanks.
Comment 20 Chris Smith 2014-04-25 19:27:39 UTC
emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.2, glibc-2.19, 3.14.1-gentoo x86_64)
=================================================================
System uname: Linux-3.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32897568 total,  28135920 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of tree: Fri, 25 Apr 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo desktop server
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/desktop /usr/local/portage/server"
SYNC="rsync://rsync11.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 audiofile avahi bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cli cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg firefox flac fortran gdbm gif gmp gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea lame lash lcms libav libffi libnotify lzma mad marble midi mmap mmx mng modules mozilla mp3 mp4 mpeg mtp multilib musicbrainz mythtv ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime readline rtmp samba sasl scanner sdl semantic-desktop session slp smp sndfile spell sse sse2 ssl startup-notification subversion svg systemd theora threads tiff tk transparency truetype udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx wav wavpack wmf wxwidgets x264 xattr xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 21 Steve Dibb (RETIRED) gentoo-dev 2014-04-25 21:06:54 UTC
I think it's about time we look at maybe putting some of the older versions back in the tree, if possible.

I don't suppose anyone has any anecdotal memory of when the last best-working versions were?
Comment 22 jospezial 2014-04-25 23:01:15 UTC
As long as the core part of that nice tool is not open source, I think the developer is the only one who can fix this binary distributed part.

There was another good tool DVD-Decryptor that was going down because it was not open source and then the developer was denied by the movies-industry to give any part of the source away.

Btw, Google Earth could work without crashes too if it was open source.
Comment 23 Daniel Pielmeier gentoo-dev 2014-04-26 07:47:29 UTC
(In reply to Steve Dibb from comment #21)
> I think it's about time we look at maybe putting some of the older versions
> back in the tree, if possible.
> 
> I don't suppose anyone has any anecdotal memory of when the last
> best-working versions were?

For there is no working version. I got the segfaults on x86 and now on amd64 as well.
Comment 24 Matthew Marlowe (RETIRED) gentoo-dev 2014-04-26 22:38:01 UTC
Latest versions work fine here -- as some of the upstream forum posts have stated, there may be incompatibilities with newer versions of glibc or some dependency - but we haven't determined what/why and upstream seems to be focusing more on addressing binary distribution support than source ones.
Comment 25 Tony Vroon (RETIRED) gentoo-dev 2014-04-27 10:36:35 UTC
(In reply to Matthew Marlowe from comment #24)
> Latest versions work fine here

Just tell us how you did that and we will get out of your hair.
Comment 26 Ferry 2014-04-30 21:44:16 UTC
Been having the issue for a while too (since around 1.8.8 was fine before then).

[38825.991503] makemkvcon[11393]: segfault at 0 ip 00007f715a50c002 sp 00007f713a566868 error 4 in libogg.so.0.8.1[7f715a50c000+6000]
[39295.852825] makemkvcon[11447]: segfault at 0 ip 00007ff8c2b9f002 sp 00007fff4357e868 error 4 in libogg.so.0.8.1[7ff8c2b9f000+6000]
[39911.437850] makemkvcon[11497]: segfault at 0 ip 00007f4f1bc1c002 sp 00007fff862673f8 error 4 in libogg.so.0.8.1[7f4f1bc1c000+6000]

With the multilib flag doesn't make a difference btw, I disabled it to test.

R2D2 opt # emerge --info makemkv
Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.19, 3.14.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-4670_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16432580 total,   9807072 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 30 Apr 2014 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.2.5-r3, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo multimedia
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j 5 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.leaseweb.com/gentoo/ http://mirror.gentoo.no/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/multimedia"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gstreamer gtk iconv introspection ipv6 jpeg kde lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-video/makemkv-1.8.10 was built with the following:
USE="-multilib"
CFLAGS="-march=native -Os -pipe"
CXXFLAGS="-march=native -Os -pipe"
Comment 27 Matthew Marlowe (RETIRED) gentoo-dev 2014-06-25 19:18:06 UTC
1.8.11 bump just pushed to CVS, it is supposed to address some glibc incompatibilities specific to gentoo/more aggressive linux distributions/etc.
Please test against 1.8.11 and let me which crashes/issues still exist.
Comment 28 Chris Smith 2014-06-25 19:39:49 UTC
(In reply to Matthew Marlowe from comment #27)
> 1.8.11 bump just pushed to CVS, it is supposed to address some glibc
> incompatibilities specific to gentoo/more aggressive linux distributions/etc.
> Please test against 1.8.11 and let me which crashes/issues still exist.

I built it yesterday with local ebuild based on previous - same problem as before. Unless something was drastically changed by your 1.8.11 ebuild the problem remains.

All that is necessary to test is to run "makemkvcon info" in a terminal, a segfault occurs immediately.
Comment 29 Daniel Pielmeier gentoo-dev 2014-06-26 18:13:47 UTC
(In reply to Matthew Marlowe from comment #27)
> 1.8.11 bump just pushed to CVS, it is supposed to address some glibc
> incompatibilities specific to gentoo/more aggressive linux distributions/etc.
> Please test against 1.8.11 and let me which crashes/issues still exist.

The same here. It still segfaults with:
makemkvcon[11248]: segfault at 0 ip 00007f81b267a002 sp 00007f81926d4868 error 4 in libfftw3f.so.3.3.2[7f81b267a000+1c7000]
Comment 30 Matthew Marlowe (RETIRED) gentoo-dev 2014-07-03 23:16:32 UTC
Just for the pessimists here, recent versions of makemkv do work for some gentoo systems.

Example:
matt@hyperion /tmp/foo $ makemkvcon info
MakeMKV v1.8.9 linux(x64-release) started
The new version 1.8.11 is available for download at http://www.makemkv.com/download
Use: makemkvcon [switches] Command [Parameters]

No seg fault.  I haven't upgraded to 1.8.11 yet.  Will try again with it, but all releases I've tested in last few months have worked except for the initial 1.8.0.  This system is using an older version of glibc.

I see on the upstream forums that others have submitted coredumps for 1.8.11 which should aid their devs which newer libs/software (glibc?) on some gentoo boxes is triggering the crashes.
Comment 31 Chris Smith 2014-07-04 00:03:32 UTC
(In reply to Matthew Marlowe from comment #30)
> Just for the pessimists here, recent versions of makemkv do work for some
> gentoo systems.

I don't really think that's a useful comment, that is unless you're planning to close the bug with a "works for me". Maybe I'm one of the pessimists, or maybe it's just that it simply hasn't worked here in quite some time.
Comment 32 Chris Smith 2014-07-12 20:22:26 UTC
Building glibc-2.19 locally from the tar file in disfiles (applying none of the patches the ebuild applies) and running:

LD_PRELOAD=/locally/built/libc.so /opt/bin/makemkv

...works just fine.

It appears the issue may be a patch applied or something else in the build process when emerging glibc.
Comment 33 James Le Cuirot gentoo-dev 2014-07-13 10:34:29 UTC
Sorry for being late to this party. I've been tracking the issue elsewhere. I believe I've found the cause. Our glibc is built with this.

# We take care of patching our binutils to use both hash styles, 
# and many people like to force gnu hash style only, so disable 
# this overriding check.  #347761 
export libc_cv_hashstyle=no

If you manually build glibc with this and LD_PRELOAD then it fails. If you build glibc with Portage and disable this then it works. I need to do more research to find out exactly what it means and who needs to fix or workaround it.
Comment 34 James Le Cuirot gentoo-dev 2014-07-13 12:18:06 UTC
I don't think there's much we can do about this on our end and the problem lies in the closed source code so I've now sent mike admin a PM on the MakeMKV forums.
Comment 35 Daniel Pielmeier gentoo-dev 2014-07-13 12:24:34 UTC
(In reply to James Le Cuirot from comment #34)
> I don't think there's much we can do about this on our end and the problem
> lies in the closed source code so I've now sent mike admin a PM on the
> MakeMKV forums.

Just want to confirm that bulding glibc with libc_cv_hashstyle=yes fixes the issue here.
Comment 36 Chris Smith 2014-07-13 22:24:30 UTC
(In reply to Daniel Pielmeier from comment #35)
> Just want to confirm that bulding glibc with libc_cv_hashstyle=yes fixes the
> issue here.

Patching: 

/usr/portage/sys-libs/glibc/files/eblits/src_compile.eblit

 to comment out the line:

export libc_cv_hashstyle=no

 and emerge glibc also resolves the issue.
Comment 37 James Le Cuirot gentoo-dev 2014-07-14 13:49:15 UTC
mike admin said this makes a lot of sense and should be fixed in the next version. :)
Comment 38 Chris Smith 2014-07-14 14:34:38 UTC
Just wondering if using:

export libc_cv_hashstyle=no

 when building glibc is still necessary or if it's just some cruft left over from 3 years ago. Seems none of the other distros are building it this way.
Comment 39 James Le Cuirot gentoo-dev 2014-07-14 15:06:35 UTC
The "gnu" hash style gives better performance but the upstream binutils defaults to "sysv" so some packages like glibc try to use "gnu" explicitly. Gentoo's binutils defaults to "both" for performance and compatibility but we need to fix up the few packages like glibc that override this. Would anything bad happen from just allowing it to use gnu? Probably not but "both" seems like the safer option.
Comment 40 Chris Smith 2014-07-14 19:09:00 UTC
(In reply to James Le Cuirot from comment #39)
> The "gnu" hash style gives better performance but the upstream binutils
> defaults to "sysv" so some packages like glibc try to use "gnu" explicitly.
> Gentoo's binutils defaults to "both" for performance and compatibility but
> we need to fix up the few packages like glibc that override this. Would
> anything bad happen from just allowing it to use gnu? Probably not but
> "both" seems like the safer option.

It seems the "safer" option causes this issue (greater compatibility = greater problems?). And if it is "safer" why does no one else do it?
Comment 41 James Le Cuirot gentoo-dev 2014-07-14 19:39:07 UTC
Heh. Okay so MakeMKV probably assumed a gnu hash style, which isn't entirely unreasonable since glibc normally uses that where possible. But it made the mistake of assuming that no other hash style would also be present. This is probably quite easy to fix. If there was some software that only worked with a sysv hash style, it would probably be harder to convert that to the gnu style. I'm just guessing here but hey. I suspect the only reason it's even poking at these hashes is because it's closed source and needs to work out what version of glibc it's being run against at run time.
Comment 42 Chris Smith 2014-07-14 20:34:56 UTC
(In reply to James Le Cuirot from comment #41)
> Heh. Okay so MakeMKV probably assumed a gnu hash style, which isn't entirely
> unreasonable since glibc normally uses that where possible. But it made the
> mistake of assuming that no other hash style would also be present. This is
> probably quite easy to fix. If there was some software that only worked with
> a sysv hash style, it would probably be harder to convert that to the gnu
> style. I'm just guessing here but hey. I suspect the only reason it's even
> poking at these hashes is because it's closed source and needs to work out
> what version of glibc it's being run against at run time.

When I set LDFLAGS to add --hash-style=gnu and rebuilt binutils and glibc (with export libc_cv_hashstyle=no) makemkv still segfaults. Shouldn't the LDFLAGS setting disable both hashstyles?
Comment 43 James Le Cuirot gentoo-dev 2014-07-14 21:34:02 UTC
Did you add --hash-style=gnu or -Wl,--hash-style=gnu. You'll need the latter.
Comment 44 Chris Smith 2014-07-14 22:00:05 UTC
(In reply to James Le Cuirot from comment #43)
> Did you add --hash-style=gnu or -Wl,--hash-style=gnu. You'll need the latter.

LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed"
Comment 45 James Le Cuirot gentoo-dev 2014-07-14 22:19:16 UTC
Looking at the glibc code, it actually forces -Wl,--hash-style=both and then does surgery on the hashes using sed afterwards but only if libc_cv_hashstyle=yes.
Comment 46 James Le Cuirot gentoo-dev 2014-07-14 22:21:38 UTC
Sorry, that last bit was wrong. It always does sed surgery, but exactly what it does depends on the value of libc_cv_hashstyle.
Comment 47 Knut Masanetz 2014-08-18 08:55:26 UTC
MakeMKV v1.8.12 fixed this bog for me...
Comment 48 Matthew Marlowe (RETIRED) gentoo-dev 2014-08-19 20:47:44 UTC
1.8.12 in CVS.
Comment 49 jospezial 2014-08-20 10:21:10 UTC
Wow! For the first time I can open it without the crash/hang.

media-video/makemkv-1.8.12-r1 was built with the following:
USE="multilib" ABI_X86="64"
CFLAGS="-march=native -Os -pipe"
CXXFLAGS="-march=native -Os -pipe"


sys-libs/glibc-2.19-r1 was built with the following:
USE="gd (multilib) -debug (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" ABI_X86="64"
CFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"

Now I wish it would be completely open source. Oh, I wrote that before.
Comment 50 Matthew Marlowe (RETIRED) gentoo-dev 2014-08-22 21:59:37 UTC
OK, I'd like to have a few more confirmations that 1.8.12 has indeed fixed this issue before closing as resolved.

Going forward, I have cleared the tree of older legacy ebuilds, except that:

1.8.12 is retained as the fixed version for systems running >= glibc 2.12
1.8.10 is the last release that is compatible with systems running < glibc 2.12
Comment 51 James Le Cuirot gentoo-dev 2014-08-22 22:10:48 UTC
I don't have a Blu-ray handy right now but "makemkvcon info" doesn't segfault like it used to.
Comment 52 James Le Cuirot gentoo-dev 2014-08-22 22:12:10 UTC
Also, I'm not so sure that 1.8.12 would break under older glibc versions. Have you tried it?
Comment 53 Matthew Marlowe (RETIRED) gentoo-dev 2014-08-22 22:16:52 UTC
yep, 1.8.11 and 1.8.12 crash and give an error about glibc 2.12 symbols not being defined when running makemkvcon with older glibc.
Comment 54 jospezial 2015-01-07 23:37:46 UTC
https://bugs.gentoo.org/show_bug.cgi?id=528698
media-video/makemkv-1.9.0 version bump

MakeMKV v1.9.0 ( 17.11.2014 )

    Added support for AACS v50
    Updated BD+ engine
    Improved handling for discs with mastering errors
    Small miscellaneous improvements
    Bug fixes:
        Regression in 1.8.14 - some discs with BD+ released in 2010-2011 could fail to open
    Expert mode:
        Manual DVD mode - custom content selection, split titles by chapters

MakeMKV v1.8.14 ( 21.10.2014 )

    Added support for Dolby Atmos audio streams
    Updated BD+ engine
    Improved handling for discs with mastering errors
    Bug fixes:
        Program could crash on some DVD discs with incorrect structure

MakeMKV v1.8.13 ( 1.9.2014 )

    Added support for AACS v48
    Added support for DTS-HD streams with variable bit depth
    Improved handling for discs with mastering errors
    Bug fixes:
        Regression in 1.8.12 - program failed to process multi-channel LPCM audio
        Linux: lowered minimal required GLIBC version
Comment 55 James Le Cuirot gentoo-dev 2015-03-08 11:02:09 UTC
I still haven't seen this problem since 1.8.11 so closing. I've cleared out all older versions except 1.8.10 because it supports older glibc versions.