Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75070 - edje/enlightment/engage/ecore Segmentation fault when emerged with nvidia opengl
Summary: edje/enlightment/engage/ecore Segmentation fault when emerged with nvidia opengl
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 09:42 UTC by Niko
Modified: 2005-04-08 12:31 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 Niko 2004-12-20 09:42:20 UTC
when emerging edje in combination with the nvidia opengl system an Segmentation fault happens when running. Running it with gdb results in:
Starting program: /usr/bin/edje_cc
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debuggingsymbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(nodebugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25775)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 25775)]
0xb6f5331a in _nv000000gl () from /usr/lib/tls/libnvidia-tls.so.1
Single stepping until exit from function _nv000000gl,
which has no line number information.
Cannot find user-level thread for LWP 25775: generic error

using f.e. xorg-x11 does not result in any error. (even when switching back after the emerge)

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jul 23 2004, 20:28:31)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo http://gentoo.inode.at"
MAKEOPTS="-j2"
PKGDIR="/home/portage/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo bzlib cairo
cddb cdparanoia cdr cdrom crypt cups devfs26 directfb divx4linux dvd dvdr
dvdread eds encode esd evo exif f77 faac faad fam flac foomaticdb fortran gdbm
gif gimp gimpprint gnome gpmgstreamer gtk gtk2 ieee1394 imagemagick imlib imlib2
java jpeg junit kde libg++ libwww mad mikmod mmx motif mozilla moznoirc mozsvg
mp3 mpeg mpeg4 msdav mysql ncurses network nls nvidia oggvorbis opengl oss pam
pcmcia pdf pdflib perl png python qt quicktime readline samba sdl slang spell
sse sse2 ssl svga tcpd theora tidy tiff transcode truetype usb wifi wmf x86 xine
xinerama xml xml2 xmmsxv xvid zlib"
Comment 1 Niko 2004-12-20 11:47:49 UTC
It seems not to be that much of a problem with the enlightment etc. builds, but with the nvidia-glx build. using nvidia-glx-1.0.6111.ebuild  doesnt give me any error (after rebuilding about all stuff that edje/engage depends on), the nvidia-glx-1.0.6629.ebuild does ALWAYS result in the described segmentation fault
Comment 2 SpanKY gentoo-dev 2004-12-20 22:24:56 UTC
works fine for me with 1.0.6629
Comment 3 Niko 2004-12-21 05:55:13 UTC
I have to adjust my previous message: I just recompiled all packages, while installing older nvidia drivers, but it still wont start any gl-stuff. I will post the debug if it changed.
Comment 4 Niko 2005-01-25 08:50:11 UTC
I just emerged media-video/nvidia-kernel-1.0.6629-r2 media-video/nvidia-glx-1.0.6629-r1 and then x11-libs/ecore-1.0.0.20050116_pre7 but I still get the segmentation fault. The options I use are +X -doc -fbcon +nls +opengl.

The debug changed a little but it still crashes:
Starting program: /usr/bin/ecore_test
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 23438)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23438)]
0xb708331a in _nv000000gl () from /usr/X11R6/lib/tls/libnvidia-tls.so.1

I can get ecore etc. to run when compiling/using without opengl enabled... still bothers me
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-10 02:15:08 UTC
It shouldn't be using /usr/X11R6/lib/tls/libnvidia-tls.so.1 as you don't have NPTL in your kernel (according to your use flags).

Can you update to opengl-update-2.1.1 and 'opengl-update nvidia'

Also, what does this print:

# /lib/libc.so.6
# getconf GNU_LIBPTHREAD_VERSION
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-08 12:31:49 UTC
closing due to lack of response.  Please try newer versions of nvidia-glx if you still ahve problems.