Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404261 - <media-video/vlc-2.0.0 crash with =x11-drivers/nvidia-drivers-295.20-r1
Summary: <media-video/vlc-2.0.0 crash with =x11-drivers/nvidia-drivers-295.20-r1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
Depends on:
Reported: 2012-02-17 14:58 UTC by PM
Modified: 2012-02-21 17:51 UTC (History)
6 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description PM 2012-02-17 14:58:37 UTC
Playing a video in vlc results in immediate crash after installing the latest drivers:

#0  0x00007f187a53bc0f in _nv022tls () from /usr/lib64/opengl/nvidia/lib/
#1  0x00007f187affba01 in ?? () from /usr/lib64/
#2  0x00007f18840bfe05 in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/fork.c:96
#3  0x00007f18840e3b7b in __spawni (pid=0x7f1840cd5dec, file=0x7f1877c0a88e "xdg-screensaver", file_actions=0x0, attrp=0x202b630, argv=0x7f1840cd5db0, envp=0x7fff0a949660, use_path=1)
    at ../sysdeps/posix/spawni.c:97
#4  0x00007f18840e3900 in posix_spawnp (pid=<optimized out>, file=<optimized out>, file_actions=<optimized out>, attrp=<optimized out>, argv=<optimized out>, envp=<optimized out>) at spawnp.c:30
#5  0x00007f1877c0a559 in Thread (data=0x1f0e5c0) at inhibit/xdg.c:155
#6  0x00007f187afff354 in ?? () from /usr/lib64/
#7  0x00007f18845afd0c in start_thread (arg=0x7f1840cd6700) at pthread_create.c:301
#8  0x00007f18840f28dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

I also noticed it doesn't crash when ran in gdb.

Reproducible: Always

Portage 2.2.0_alpha86 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-pf x86_64)
System uname: Linux-3.2.5-pf-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Fri, 17 Feb 2012 07:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
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.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo multimedia bitcoin sunrise roslin dupa
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=native -pipe -ggdb"
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/env.d/java/ /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 -ggdb"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=native -pipe -ggdb"
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="/usr/local/portage/layman/multimedia /usr/local/portage/layman/bitcoin /usr/local/portage/layman/sunrise /usr/local/portage/layman/roslin /usr/local/portage/moje"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb apng async audiofile automount avahi bash-completion berkdb bfq bineditor bluray branding bzip2 c++0x cairo cdda cddb cdparanoia cdr chdir cli consolekit cracklib crypt css cuda cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix enca encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran g3dvl gd gdbm gdu geoip gif glitz gmedia gphoto2 gpm gtk hddtemp iconv id3 id3tag imagemagick inotify iostats ipod jpeg kde kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lm_sensors lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ogg okteta openal opencore-amr opengl openmp optimized-qmake pam pango pch pcre pdf plasma png policykit portage ppds pppd private-headers pulseaudio qt3 qt3support qt4 qthelp raster readline realmedia roe scanner schroedinger sdl secure-delete sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification suid svg swat symlink sysfs syslog tcpd theora threads tiff truetype udev unicode upnp usb vaapi vamp vcd vdpau vorbis webkit wifi wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver 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="pl" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" 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"
Comment 1 H. Peter Pfeufer 2012-02-19 15:15:46 UTC
Same here
Following line is from the /var/log/messages:

kernel: [   86.506498] vlc[3610]: segfault at 10 ip 00007f96e1b38c0f sp 00007f96b2fc6b48 error 6 in[7f96e1b38000+3000]
Comment 2 Benjamin Réveillé 2012-02-19 17:42:11 UTC
Same here on ~amd64

vlc[31872]: segfault at 10 ip 00007fa2bb008c0f sp 00007fa280886b28 error 6 in[7fa2bb008000+3000]
Comment 3 Ambroz Bizjak 2012-02-19 17:55:31 UTC
Same here, similar backtrace from core dump, and also no crash in gdb, ~amd64. 
Tried recompiling glibc, libX11, libXext, libxcb with gcc4.6 with "-O1 -march=core2", didn't help (previously they were compiled with gcc4.5 at "-O2 -march=core2").
Comment 4 Cănărău Constantin 2012-02-20 17:00:59 UTC
As a work-around: unmask vlc-2.0 and use it.
I have an nvidia GTS 450 video card and the problem mentioned above just disappear when I upgraded vlc.
Comment 5 Benjamin Réveillé 2012-02-20 22:50:55 UTC
Indeed problem gone with vlc-2.0.0
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-02-20 22:55:12 UTC
(In reply to comment #5)
> Indeed problem gone with vlc-2.0.0

Closing then
Comment 7 Chris Smith 2012-02-21 17:51:47 UTC
How can this be a fix?
Especially when vlc-2.0.0 (which is masked) doesn't even compile. I've opened up Bug 405173 for that problem.