Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409387 - media-video/vlc-1.1.13 - segmentation fault at startup
Summary: media-video/vlc-1.1.13 - segmentation fault at startup
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 03:32 UTC by mbr
Modified: 2013-12-15 21:56 UTC (History)
2 users (show)

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


Attachments
4 tests with segmentation fault. (vlc-1.1.13.log,154.22 KB, text/plain)
2012-03-23 03:32 UTC, mbr
Details
vlc gdb log (gdb_vlc-1.1.13.log,30.20 KB, text/x-log)
2012-03-25 02:33 UTC, mbr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mbr 2012-03-23 03:32:34 UTC
Created attachment 306379 [details]
4 tests with segmentation fault.

Hi,
media-video/vlc-1.1.13 crashes since the lastest updates (see attached log) :

[0x936dd8] main inhibit debug: TIMER module_need() : 0.293 ms - Total 0.293 ms / 1 intvls (Avg 0.293 ms)
Segmentation fault

Remark : vlc runs normally with 'strace' and 'gdb' !


emerge --info :

Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_940_@_2.93GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 22 Mar 2012 17:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apcupsd bash-completion berkdb bidi branding bzip2 cairo caps cdda cdr cjk cli colord consolekit cracklib crypt css cups cxx dbus dga dmraid dri dts dvb dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran fuse gd gdbm gdu gif gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gzip hddtemp iconv ipv6 jpeg lcd lcms ldap libgda libnotify lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl openmp oss pam pango pcre pdf png policykit posix ppds pppd profile pulseaudio python qt3support qt4 readline sdl session smp socialweb spell sqlite sse sse2 ssl startup-notification static-libs svg sysfs tcpd theora threads tiff tordns truetype udev unicode usb userlocales v4l v4l2 vaapi vdpau vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-23 15:13:34 UTC
(In reply to comment #0)
> Remark : vlc runs normally with 'strace' and 'gdb' !

Open a bash shell and run:

# ulimit -c unlimited; vlc; gdb /usr/bin/vlc core;
Comment 2 Kai Damm 2012-03-23 15:30:25 UTC
You seem to have an nVidia card. =x11-drivers/nvidia-drivers-295* can cause this. If this is the case for you: Downgrade nvidia driver to 290*, or upgrade vlc to 2*.

https://forums.gentoo.org/viewtopic-t-912998.html
Comment 3 mbr 2012-03-25 02:33:20 UTC
Created attachment 306579 [details]
vlc gdb log
Comment 4 mbr 2012-03-25 02:34:33 UTC
In case the gdm log would be useful :

Reading symbols from /usr/bin/vlc...done.
[New LWP 28012]
[New LWP 27970]
[New LWP 27968]
[New LWP 27967]
[New LWP 28009]
[New LWP 27971]
[New LWP 28005]
[New LWP 28008]
[New LWP 28011]
[New LWP 28010]

warning: Can't read pathname for load map: Erreur d'entrée/sortie.
[Thread debugging using libthread_db enabled]
Core was generated by `vlc channels.conf'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fbd31053c0f in _nv022tls () from /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.295.20

and :

(gdb) bt
#0  0x00007fbd31053c0f in _nv022tls () from /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.295.20
#1  0x00007fbd31704a01 in ?? () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
#2  0x00007fbd4dd29755 in fork () from /lib64/libc.so.6
#3  0x00007fbd4dd4bd45 in ?? () from /lib64/libc.so.6
#4  0x00007fbd4dd4ba80 in posix_spawnp () from /lib64/libc.so.6
#5  0x00007fbd2abbd529 in Thread (data=0x8aaa98) at inhibit/xdg.c:155
#6  0x00007fbd31708354 in ?? () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
#7  0x00007fbd4e216c5c in start_thread () from /lib64/libpthread.so.0
#8  0x00007fbd4dd59fcd in clone () from /lib64/libc.so.6


Thanks for your aid...
Comment 5 Alexis Ballier gentoo-dev 2012-03-25 15:09:47 UTC
(In reply to comment #2)
> You seem to have an nVidia card. =x11-drivers/nvidia-drivers-295* can cause
> this. If this is the case for you: Downgrade nvidia driver to 290*, or
> upgrade vlc to 2*.

please try this then, from your log, the crash is in nvidia drivers.
Comment 6 Maciej Mrozowski gentoo-dev 2012-04-01 20:34:31 UTC
Happens here as well.
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 21:56:57 UTC
As per the segmentation fault this is a NVIDIA drivers problem; thus if we reopen this we should reassign this to the NVIDIA drivers maintainers, and an upstream bug report with NVIDIA should also be done then. So, as this bug is more than a year old: Can you still reproduce this with recent versions?