Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483396 - media-video/vlc-2.0.7 : Segmentation fault in vlc-cache-gen during build
Summary: media-video/vlc-2.0.7 : Segmentation fault in vlc-cache-gen during build
Status: RESOLVED DUPLICATE of bug 405173
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2013-09-02 14:35 UTC by Phil Stracchino (Unix Ronin)
Modified: 2013-09-02 14:41 UTC (History)
0 users

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

Build log (gzipped) (build.log.gz,132.88 KB, application/x-gzip)
2013-09-02 14:38 UTC, Phil Stracchino (Unix Ronin)

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2013-09-02 14:35:42 UTC
Compile works fine up to the vlc-cache-gen step, at which point work/vlc-2.0.7/bin/.libs/vlc-cache-gen throws a SEGV when executed.

Reproducible: Always

Steps to Reproduce:
1.  emerge -avuDN media-video/vlc
2.  Watch vlc-cache-gen throw a SEGV.
Actual Results:  
rm -f ../modules/plugins.dat
if test "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu"; then \
        ./vlc-cache-gen ../modules ; \
else \
        echo "Cross-compilation: cache generation skipped!" ; \
/bin/sh: line 4: 27191 Segmentation fault      ./vlc-cache-gen ../modules
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
make: *** [all] Error 2
 * ERROR: media-video/vlc-2.0.7 failed (compile phase):

babylon5:root:~:25 # emerge -pqv '=media-video/vlc-2.0.7'
[ebuild     U ] media-video/vlc-2.0.7 [2.0.5] USE="X a52 aac alsa avcodec avformat bidi cdda cddb dbus dirac dts dvbpsi dvd encode ffmpeg flac fontconfig* gcrypt httpd kate kde libnotify live lua matroska mmx mp3 mpeg mtp musepack ncurses ogg opengl png postproc qt4 rtsp schroedinger sdl sdl-image shine* skins speex sse svg swscale theora truetype twolame udev v4l vaapi vlm vorbis wma-fixed x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -dc1394 -debug (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnome -gnutls -growl -ieee1394 (-ios-vout) -jack -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug (-neon) -omxil -optimisememory -opus -oss -portaudio -projectm -pulseaudio -pvr -run-as-root -samba -shout -sid -sqlite -switcher -taglib -upnp -vcdx (-waveout) (-wingdi) -xosd -zvbi"

babylon5:root:~:26 # emerge --info '=media-video/vlc-2.0.7'
Portage (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.5-gentoo-babylon5 x86_64)
                         System Settings
System uname: Linux-3.10.5-gentoo-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16412860 total,   6142864 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 02 Sep 2013 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
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/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.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.3-r2, 4.6.3, 4.7.3
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 perl-experimental overlay-dev-robbat2 mysql mozilla x11 x-alaric
CFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe -mcx16 -mpopcnt"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe -mcx16 -mpopcnt"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="                                                                  "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/robbat2 /var/lib/layman/mysql /var/lib/layman/mozilla /var/lib/layman/x11 /var/lib/alaric"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fltk fortran gdbm gif gpm gtk iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session speex spell sse sse2 ssl startup-notification svg tcpd theora threads tiff tk tools truetype udev udisks unicode upower usb utils v4l v4l2 vorbis wxwidgets x264 xcb xml xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel" 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 ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" 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_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau v4l" 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"
Comment 1 Phil Stracchino (Unix Ronin) 2013-09-02 14:38:45 UTC
Created attachment 357672 [details]
Build log (gzipped)
Comment 2 Mario Kicherer 2013-09-02 14:41:00 UTC
I had the same issue on only one of my two (almost equal) AMD64 Gentoo boxes and compilation succeeded on this machine after I deactivated the svg and libnotify use flag.
Comment 3 Rafał Mużyło 2013-09-02 14:41:37 UTC

*** This bug has been marked as a duplicate of bug 405173 ***