Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478414 - media-video/vlc-2.07 segfault with USE="svg"
Summary: media-video/vlc-2.07 segfault with USE="svg"
Status: RESOLVED DUPLICATE of bug 463558
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-27 23:47 UTC by tarek
Modified: 2013-07-28 19:04 UTC (History)
0 users

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 tarek 2013-07-27 23:47:07 UTC
Emerge fails with segfault after recent revdep-rebuild, after an emerge --deep --newuse --update @world @system

libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -DTOP_BUILDDIR=\"/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7\" -DTOP_SRCDIR=\"/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7\" -march=native -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o vlc-static vlc_static-vlc.o vlc_static-override.o  -Wl,--as-needed ../lib/.libs/libvlc.so /var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/src/.libs/libvlccore.so ../src/.libs/libvlccore.so -ldbus-1 -lrt -lm -lpthread -ldl -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/lib/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/src/.libs
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!" ; \
fi
/bin/sh: line 4: 10313 Segmentation fault      ./vlc-cache-gen ../modules


Same version had been successfully built prior to the world/system update. 
Unfortunately have emerged with USE="-svg" so cannot tell what recent library change caused it.



Reproducible: Always

Steps to Reproduce:
1.USE="svg" emerge vlc
2.
3.
Actual Results:  
segfault
Comment 1 Zoltan Puskas 2013-07-28 10:53:37 UTC
Portage 2.1.13.1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.3-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8181064 total,   5507900 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 27 Jul 2013 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
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.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.4, 4.7.3
sys-devel/gcc-config:     1.8
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.17
Repositories: gentoo sinustrom proaudio java
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=core2 -mtune=core2 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc 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://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.inf.elte.hu/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pro-audio /var/lib/layman/java"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dell dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gphoto2 gpm handbook hardened iconv ipv6 java6 javascipt jpeg jpeg2k kde kipi laptop lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcmcia pcre pdf phonon plasma png policykit posix ppds qt3support qt4 readline sdl semantic-desktop session smp spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vaapi vcd vdpau vim-syntax vorbis wifi wxwidgets x264 xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc 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="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="keyboard mouse evdev wacom synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="alsa_usb" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="plustek" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Zoltan Puskas 2013-07-28 10:54:38 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=core2 -mtune=core2 -mcx16 -msahf -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o .libs/vlc-cache-gen cachegen.o  -Wl,--as-needed ../compat/.libs/libcompat.a ../lib/.libs/libvlc.so /tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/src/.libs/libvlccore.so ../src/.libs/libvlccore.so -ldbus-1 -lrt -lpthread -ldl -lm
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!" ; \
fi
/bin/sh: line 4: 20230 Segmentation fault      ./vlc-cache-gen ../modules
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: *** Waiting for unfinished jobs....
In file included from override.c:22:0:
../config.h:737:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
override.c:1:0: note: this is the location of the previous definition
In file included from vlc.c:29:0:
../config.h:737:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
vlc.c:1:0: note: this is the location of the previous definition
make[2]: Leaving directory `/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
make: *** [all] Error 2
Comment 3 Zoltan Puskas 2013-07-28 10:55:31 UTC
Also whether the SVG flag is on or off does not make any difference.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-28 19:04:00 UTC

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