Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85958 - segfault in libnvidia-tls.so.1 when mplayer/xine is loaded
Summary: segfault in libnvidia-tls.so.1 when mplayer/xine is loaded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-19 17:10 UTC by Dean Pierce
Modified: 2005-04-27 11:22 UTC (History)
1 user (show)

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 Dean Pierce 2005-03-19 17:10:04 UTC
When I run a video player like mplayer or xine, it segfaults immediately.
The problem looks to be in the /usr/lib/tls/libnvidia-tls.so.1 library.

Reproducible: Always
Steps to Reproduce:
1.mplayer
1.xine

Actual Results:  
$ mplayer 
Segmentation fault
$ 

Expected Results:  
mplayer 

(gdb) bt
#0  0xb6e9231a in _nv000000gl () from /usr/lib/tls/libnvidia-tls.so.1
#1  0xb7958bb5 in ?? () from /usr/lib/opengl/nvidia/lib/libGL.so.1
#2  0xb7968f82 in _init () from /usr/lib/opengl/nvidia/lib/libGL.so.1
#3  0xb8000fb4 in ?? () from /lib/ld-linux.so.2
#4  0xb7adacc0 in ?? ()
#5  0xbffff26c in ?? ()
#6  0xbffff264 in ?? ()
#7  0xbffff264 in ?? ()
#8  0xb7ff6810 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#9  0xb7fea68c in ?? () from /lib/ld-linux.so.2

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125-r1,
2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 10 2005, 03:25:09)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dba
dvd dvdread emboss encode esd f77 fam flac font-server foomaticdb fortran gd
gd-external gdbm gif gnome gpm gtk gtk2 guile imlib ipv6 java jpeg junit kde
libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nvidia oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline ruby sdl silc slang
spell ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
unicode xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Dean Pierce 2005-03-19 17:18:59 UTC
it seems like the problem can be fixed with the command
ln -s /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.7167 /usr/lib/tls/libnvidi
a-tls.so.1


the link in that location was pointing to an older version of the library, and I guess it wasnt updated properly or something.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-27 00:48:36 UTC
Please try nvidia-glx-1.0.7174-r2
Comment 3 Dean Pierce 2005-04-27 08:51:06 UTC
I have not been able to reproduce the error I was having (since I fixed the symlink problem).  I did mess around a bit with the symlinks though before I emerged the r2 of nvidia-glx, and they seemed to get fixed when the merging completed.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-27 11:22:40 UTC
ok, then I'm closing this.  If it becomes a problem again, let me know, but I'm fairly certain bug #90047 has gotten this fixed as it's probably related.