Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518854 - media-video/handbrake-0.9.9-r1 - segmentation fault in libavutil.so.52.92.100 at []? during DVD transcoding
Summary: media-video/handbrake-0.9.9-r1 - segmentation fault in libavutil.so.52.92.100...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 18:59 UTC by Mark Knecht
Modified: 2014-08-12 19:02 UTC (History)
2 users (show)

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


Attachments
ghb activity file (Activity.log.18507,10.26 KB, text/plain)
2014-08-02 19:05 UTC, Mark Knecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2014-08-02 18:59:22 UTC
handbrake-0.9.9-r1 GUI segfaults. I've tried 3 DVDs. All fail the same way. All DVDs work in VLC. All DVDs can be ripped in makemkv. VLC can convert the *.mkv files to mp4, but this version of handbrake segfaults doing the same conversion.

There isn't much info left after the segfault to tell me what is actually failing but I do find this in /var/log/messages:

Aug  2 11:30:12 c2RAID6 kernel: [20400.818457] ghb[17176]: segfault at c ip 00007ffbe4666173 sp 00007ffbcfffe6b0 error 6 in libavutil.so.52.92.100[7ffbe4656000+3f000]

which appears to be an ffmpeg file?

c2RAID6 ~ # equery belongs /usr/lib64/libavutil.so.52.92.100 
 * Searching for /usr/lib64/libavutil.so.52.92.100 ... 
media-video/ffmpeg-2.3.1 (/usr/lib64/libavutil.so.52.92.100)
c2RAID6 ~ #

c2RAID6 ~ # emerge -pv ffmpeg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] media-video/ffmpeg-2.3.1:0/52.55.55  USE="X aac alsa bzip2 encode hardcoded-tables iconv jpeg2k mmx mp3 network opengl sdl sse sse2 ssse3 truetype vdpau vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -avx -avx2 -bindist -bluray -bs2b -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fma3 -fma4 -fontconfig -frei0r -fribidi -gme -gnutls -gsm -iec61883 -ieee1394 -jack -ladspa -libass -libcaca -libsoxr -libv4l (-mips32r2) (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -quvi -rtmp -samba -schroedinger -speex -sse3 -sse4 -sse4_2 -ssh -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vpx -wavpack -webp -x265 -xop -zvbi" ABI_X86="(64) -32 (-x32)" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
c2RAID6 ~ #

Reproducible: Always

Steps to Reproduce:
1. Start the handbrake GUI (ghb)
2. Select DVD source
3. Click start
4. Handbrake segfaults
Actual Results:  
mark@c2RAID6 ~ $ ghb 
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Gtk: Error loading theme icon 'gtk-ok' for stock: Failed to load icon
Segmentation fault
mark@c2RAID6 ~ $

Expected Results:  
Used to work, should still work

c2RAID6 ~ # emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_X_980_@_3.33GHz-with-gentoo-2.2
KiB Mem:    24685584 total,  16872940 free
KiB Swap:   12582904 total,  12582904 free
Timestamp of tree: Fri, 01 Aug 2014 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2-r1
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.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 skype-eula google-chrome skype-4.0.0.7-copyright google-talkplugin Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                                     
CXXFLAGS="-O2 -march=native -pipe"                                                                        
DISTDIR="/usr/portage/distfiles"                                                                          
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=5"                                                             
FCFLAGS="-O2 -pipe"                                                                                       
FEATURES="assume-digests binpkg-logs buildpkg 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="http://gentoo.osuosl.org/ "                                                               
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                         
MAKEOPTS="-j13 -l8"                                                                                       
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=""                                                                                        
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"                                                   
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gstreamer gtk iconv java jpeg jpeg2k kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" 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

c2RAID6 ~ #
Comment 1 Mark Knecht 2014-08-02 19:05:34 UTC
Created attachment 382100 [details]
ghb activity file
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-05 09:41:36 UTC
It would be nice to see a gdb backtrace of that segmentation fault.
Comment 3 Mark Knecht 2014-08-05 14:43:37 UTC
Are there any written instructions for user types like me? I'm very happy to give it a try but I'm not clear where to start. Neither handbrake nor ffmpeg seem to have a debug use flag. (Even if they did it would still take some study on my part!) Anyway, I'm happy to try and learn something here.
Comment 4 Mark Knecht 2014-08-05 14:45:11 UTC
Actually, ffmpeg does have a debug flag. Sorry I missed that.
Comment 5 Mark Knecht 2014-08-08 22:15:01 UTC
Through whatever updates have occurred over the last couple of days this problem has resolved itself before I could figure out how to get a stack trace. I've ripped a couple of DVDs as well as converted the *.mkv files saved using MakeMKV. All seem to play fine and no more crashes. 

I've set it to resolved->wontfix. Feel free to change that if some other status is more appropriate.
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-08-12 18:58:57 UTC
For future reference: http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 7 Mark Knecht 2014-08-12 19:02:58 UTC
Thanks! Now bookmarked in my Gentoo links