Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-24-09, 06:02 PM   #1
azzie
Registered User
 
Join Date: Oct 2009
Posts: 3
Default [BUG REPORT] glxgears segfaults in libGL.so.1

I experience problems since I upgraded nVidia drivers from 185.18.31 to 185.18.36. Any program that is linked with nVidia's libGL.so.1 crashes with a segfault. I have rebuilt my Xorg-server (1.6.3) and my glibc (2.9), but even glxgears or nvidia-settings will crash immediately.

I went through the Installation Guide (including FAQ and Common Problems), but found no solution to my problems. Furthermore, quite strangely, downgrade does not solve the problem either. I am using Gentoo and consider myself an advanced user. I already filed a Gentoo bugreport (http://bugs.gentoo.org/show_bug.cgi?id=290404), but I am more and more convinced it is a problem with the nVidia libraries. When I replace them with Mesa then everything works. I hope to find some power-users here that help me to resolve the problem.

Code:
overlord ~ # /usr/bin/glxgears
Segmentation fault

overlord ~ # ldd /usr/bin/glxgears
        linux-gate.so.1 =>  (0xb77e0000)
        libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7702000)
        libm.so.6 => /lib/libm.so.6 (0xb76da000)
        libc.so.6 => /lib/libc.so.6 (0xb7598000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7482000)
        libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb6519000)
        libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb6516000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6507000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6503000)
        /lib/ld-linux.so.2 (0xb77e1000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb64e9000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb64e5000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb64df000)

overlord ~ # gdb /usr/bin/glxgears
GNU gdb 6.8
This GDB was configured as "i486-pc-linux-gnu"...
(no debugging symbols found)
(gdb) r
Starting program: /usr/bin/glxgears
(no debugging symbols found)
(...)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xb756bd46 in calloc () from /lib/libc.so.6
(gdb) bt
#0  0xb756bd46 in calloc () from /lib/libc.so.6
#1  0xb6b63e89 in ?? () from /usr/lib/opengl/nvidia/lib/libGLcore.so.1
#2  0x00000001 in ?? ()
#3  0x00000034 in ?? ()
#4  0x00000009 in ?? ()
#5  0x00000002 in ?? ()
#6  0x080640a0 in ?? ()
#7  0x0000029a in ?? ()
#8  0x000010a7 in ?? ()
#9  0xb76c1452 in ?? () from /usr/lib/opengl/nvidia/lib/libGL.so.1
#10 0x0000029a in ?? ()
#11 0x000010a7 in ?? ()
#12 0xb6b63e00 in ?? () from /usr/lib/opengl/nvidia/lib/libGLcore.so.1
#13 0x01b63e2c in ?? ()
#14 0x000010a7 in ?? ()
#15 0xb6b63e00 in ?? () from /usr/lib/opengl/nvidia/lib/libGLcore.so.1
#16 0xbfb4df04 in ?? ()
#17 0xb76c1a11 in _init () from /usr/lib/opengl/nvidia/lib/libGL.so.1
#18 0x000010a7 in ?? ()
#19 0x00000001 in ?? ()
#20 0x00000000 in ?? ()

overlord ~ # valgrind --tool=memcheck --smc-check=all /usr/bin/glxgears
==4374== Memcheck, a memory error detector.
==4374==
==4374== Process terminating with default action of signal 11 (SIGSEGV)
==4374==  General Protection Fault
==4374==    at 0x415DDA6: __strtol_internal (in /lib/libc-2.9.so)
==4374==    by 0x4086C14: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.36)
==4374==
==4374== Process terminating with default action of signal 11 (SIGSEGV)
==4374==  General Protection Fault
==4374==    at 0x42396B5: (within /lib/libc-2.9.so)
==4374==    by 0x4239404: (within /lib/libc-2.9.so)
==4374==    by 0x4239C21: (within /lib/libc-2.9.so)
==4374==    by 0x401F482: _vgnU_freeres (in /usr/lib/valgrind/x86-linux/vgpreload_core.so)
==4374==    by 0x5343F2F: ???
==4374==    by 0x4086C14: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.36)
==4374==
==4374== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 16 from 1)
==4374== malloc/free: in use at exit: 90,971 bytes in 29 blocks.
==4374== malloc/free: 79 allocs, 50 frees, 95,194 bytes allocated.
==4374== For counts of detected errors, rerun with: -v
==4374== searching for pointers to 29 not-freed blocks.
==4374== checked 2,434,060 bytes.
==4374==
Segmentation fault
This could even look like a glibc bug, but how about this:

Code:
overlord ~ # /usr/bin/nvidia-settings      
Segmentation fault

overlord ~ # ldd /usr/bin/nvidia-settings
        linux-gate.so.1 =>  (0xb76ee000) 
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7342000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb72bc000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb72a2000)        
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb723c000)        
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7214000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb71fa000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb71ef000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7180000)                  
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb713f000)          
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb70bd000)            
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7092000)        
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7058000)      
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7053000)      
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6f83000)            
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6e6d000)                      
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6e5d000)                    
        libc.so.6 => /lib/libc.so.6 (0xb6d1b000)                              
        libm.so.6 => /lib/libm.so.6 (0xb6cf3000)                              
        libdl.so.2 => /lib/libdl.so.2 (0xb6cef000)                            
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6ceb000)            
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6ce3000)                
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6cd9000)              
        libuuid.so.1 => /lib/libuuid.so.1 (0xb6cd3000)                        
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6ccf000)        
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6ccb000)              
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6cc5000)                
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6c72000)            
        libglitz-glx.so.1 => /usr/lib/libglitz-glx.so.1 (0xb6c6b000)          
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6c62000)                        
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6c49000)                      
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb6c32000)                      
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb6be1000)                        
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6bd7000)                        
        libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb6b30000)      
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6b17000)                  
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb6af2000)                  
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6acf000)                  
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6ac5000)              
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6aab000)                      
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6aa7000)                      
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6aa0000)                  
        libz.so.1 => /lib/libz.so.1 (0xb6a8e000)                              
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6a69000)                  
        /lib/ld-linux.so.2 (0xb76ef000)                                       
        libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb5aff000)
        libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb5afd000)

overlord ~ # gdb /usr/bin/nvidia-settings
GNU gdb 6.8                              
This GDB was configured as "i486-pc-linux-gnu"...                            
(no debugging symbols found)                                                 
(gdb) r                                                                      
Starting program: /usr/bin/nvidia-settings                                   
(no debugging symbols found)                                                 
(...)
(no debugging symbols found)                                                 
[Thread debugging using libthread_db enabled]                                
(no debugging symbols found)
(...)
(no debugging symbols found)
[New Thread 0xb5c07910 (LWP 4539)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5c07910 (LWP 4539)]
0xb6c8ebe6 in ?? () from /usr/lib/opengl/nvidia/lib/libGL.so.1
(gdb) bt
#0  0xb6c8ebe6 in ?? () from /usr/lib/opengl/nvidia/lib/libGL.so.1
#1  0x00000000 in ?? ()
(gdb) q
The program is running.  Exit anyway? (y or n) y
overlord ~ # valgrind --tool=memcheck --smc-check=all /usr/bin/nvidia-settings
==4611== Memcheck, a memory error detector.
==4611==
==4611== Invalid write of size 4
==4611==    at 0x4B93BE6: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.36)
==4611==  Address 0xff0a0000 is not stack'd, malloc'd or (recently) free'd
==4611==
==4611== Process terminating with default action of signal 11 (SIGSEGV)
==4611==  Access not within mapped region at address 0xFF0A0000
==4611==    at 0x4B93BE6: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.36)
==4611==  If you believe this happened as a result of a stack overflow in your
==4611==  program's main thread (unlikely but possible), you can try to increase
==4611==  the size of the main thread stack using the --main-stacksize= flag.
==4611==  The main thread stack size used in this run was 8388608.
==4611==
==4611== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 15 from 1)
==4611== malloc/free: in use at exit: 89,989 bytes in 25 blocks.
==4611== malloc/free: 76 allocs, 51 frees, 94,252 bytes allocated.
==4611== For counts of detected errors, rerun with: -v
==4611== searching for pointers to 25 not-freed blocks.
==4611== checked 3,502,260 bytes.
==4611==
Segmentation fault
Any clues?
Attached Files
File Type: gz nvidia-bug-report.log.gz (31.3 KB, 101 views)
azzie is offline   Reply With Quote
Old 10-24-09, 06:29 PM   #2
Spyke
Foxie
 
Spyke's Avatar
 
Join Date: Aug 2004
Location: Canada
Posts: 618
Send a message via AIM to Spyke Send a message via MSN to Spyke Send a message via Yahoo to Spyke
Default Re: [BUG REPORT] glxgears segfaults in libGL.so.1

I have no issues here on the latest --sync of Gentoo, but I don't run -rcX kernels either.

Currently 100% stable with x11-drivers/nvidia-drivers-190.42-r1 on Vanilla 2.6.31.4.

Code:
Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31.4 x86_64)
=================================================================
System uname: Linux-2.6.31.4-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 24 Oct 2009 23:30:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
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/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X aac abiword acl acpi alsa amd64 aspell berkdb bzip2 cairo cdda cddb cdparanoia chardet cleartype cli contrast cracklib crypt cups curl custom-optimization dbus encode exif faac faad ffmpeg flac fontconfig gdbm gif gimp glibc-omitfp gmp gnutls gphoto2 gpm gtk hal hpn iconv id3tag idn imap iproute2 isdnlog jpeg lame lcms lm_sensors mad mmap mmx mmxext mng modules mp3 mpeg mtp mudflap multilib ncurses nptl nptlonly offensive ogg openmp openssl pam pcre pdf perl png pppd python readline reflection rtsp samba scrobbler session shm smp sndfile spell spl sqlite sqlite3 sse sse2 ssh ssl ssse3 svg sysfs tcpd theora tiff timezone truetype tta unicode usb vdpau vorbis wavpack wma x264 xattr xft xml xorg xulrunner xvid 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="ladspa extplug plug ioplug lfloat" 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 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" CAMERAS="ptp2 directory" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
__________________
Gaming:
Intel i7 980X @ 4GHz | ASUS Rampage III Extreme | GTX 480 3Way SLI @ 900Mhz | Koolance VID-NX480 | Corsair Obsidian 700D
Corsair H70 CPU Cooler | EK-FB RE3 | Corsair AX1200 | Black Ice SR1 360 | 240GB OCZ Revodrive X2 SSD | Windows 7 Ultimate
12GB Corsair Dominator GT @ 8-8-8-24-1T DDR3-1600 | Onkyo TX SR-707 | 70" Sharp Aquos LCD | KEF Audio 5.1 C3/C6LCR/C7
Workstation:
Intel i7 920 D0 @ 4GHz | ASUS Rampage II Extreme | GTX 480 @ 800Mhz | Koolance VID-NX480 | Lian-Li V1200B | Corsair HX1000
EK NB ASUS HP | Watercool HeatKiller 3.0 | Feser Extreme X-360 | 2x160GB Intel X25-M SSD RAID0 | 4x2TB WD20EARS RAID10
12GB Corsair Dominator @ 8-8-8-24-1T DDR3-1600 | Creative X-Fi Titanium | Pioneer DVR-212D | Gentoo Linux
Dell 3008WFP | JohnBlue JB3 | CityPulse DA2.03e II DAC | KingRex T20U w/ Modded Auricaps & PSU | Glow Audio Sub One
Server:
Quad Socket Opteron 8356 (16 cores) @ 2.3GHz | Supermicro H8QMi-2 | Supermicro 2U Chassis | Redundant 1200W PSU
32GB 2GBx16 DDR2-667 ECC | 4x 300GB Cheetah SAS RAID10 | Adaptec 5805 512MB w/BBU | Colocated | Gentoo Linux
Spyke is offline   Reply With Quote
Old 10-24-09, 08:19 PM   #3
azzie
Registered User
 
Join Date: Oct 2009
Posts: 3
Default Re: [BUG REPORT] glxgears segfaults in libGL.so.1

Thanks for your response Spyke, but it seems to me that you are running a 64-bit system (x86_64) while I am running 32-bit (i686).

Nevertheless, let me attach my system info too. Maybe someone spots something weird that I somehow overlooked.

Code:
Portage 2.1.7.1 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-rc5 i686)
=================================================================
System uname: Linux-2.6.32-rc5-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 24 Oct 2009 15:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa ao apache2 arts audiofile bash-completion berkdb bindist blas bluetooth bzip2 cairo calendar cdr clamav cli cracklib crypt css ctype cups curl curlwrappers cvs cxx dga doc dri dts dv dvb dvd dvdr encode enscript exif expat fam ffmpeg fftw firefox flac fltk foomaticdb fortran ftp gd gdbm geoip gif gimp glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gstreamer gtk gzip handbook hddtemp hdf5 iconv imagemagick imap imlib ipv6 isdnlog jabber jpeg jpeg2k kde kolab kontact lame lapack latex lcms libsamplerate lirc lm_sensors lzo mad matroska mhash mime mmap mmx mng modules mp3 mpeg mpi mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin offensive ofx ogg openal openexr opengl openmp pam pcmcia pcntl pcre pda pdf perl php plotutils png postgres ppds pppd python qt3support qt4 raw readline reflection rss scanner sdl semantic-desktop session sharedmem shorten simplexml sip slang smp sndfile snmp sockets sox spell spl sse sse2 ssl subversion svg sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff truetype unicode usb v4l v4l2 vnc vorbis wavpack wifi win32codecs wxwidgets x264 x86 xcomposite xine xinerama xml xorg xpm xsl xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
azzie is offline   Reply With Quote
Old 10-25-09, 06:04 PM   #4
azzie
Registered User
 
Join Date: Oct 2009
Posts: 3
Default Re: [BUG REPORT] glxgears segfaults in libGL.so.1

Thanks again Spyke, your post actually helped me to find the solution.

The problem is that Gentoo does not use TLS and non-TLS libraries simultaneously (choosing the right one at runtime). Instead it chooses the proper one during installation. And this time for my 32-bit Gentoo the logic behind this choice... failed.

So if you are a Gentoo user, you have x86 profile, and you experience problems similar to the above - check your /usr/lib/opengl/nvidia/lib/libnvidia-tls.so symlink and alike. If the symlink points to a no-tls version of the library, chances are it's wrong.
azzie is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:26 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.