Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33539 - Stellarium segfaults when run with NVIDIA driver.
Summary: Stellarium segfaults when run with NVIDIA driver.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 23:18 UTC by Rob Bean
Modified: 2004-07-16 23:53 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 Rob Bean 2003-11-14 23:18:00 UTC
Stellarium emerges just fine, but segfaults when run.  As a test, I downloaded
the source and compiled.  Same thing.  I noticed that it used OpenGL, so I
switched GL interface to xfree and recompiled (from a clean directory).  After
make, I switched back to the NVIDIA interface and the application started fine.

Reproducible: Always
Steps to Reproduce:
1. emerge stellarium
2. stellarium

Actual Results:  
Segmentation Fault

Expected Results:  
Stellarium should have opened and run.

System uname: 2.6.0-test9-mm2 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.noved.org/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 foomaticdb gif mad xml2 berkdb slang tetex X scanner -3dfx 3dnow aalib
-acl acpi -afs -alsa apache2 -arts avi -bonobo -canna cdr -cjk crypt cups curl
dga directfb doc -dvb -dvd -emacs encode esd ethereal evo faad fbcon flash gd
gdbm ggi gnome gpm gstreamer gtk gtk2 gtkhtml guile -imap imlib -innodb -ipv6
java jikes jpeg -kde lcms -ldap -leim -libg++ libgda libwww -lirc maildir
-matrox mbox mikmod mmx motif mozilla mpeg mysql ncurses -nls nptl oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl snmp spell
sse ssl -svga tcltk tcpd tiff truetype usb -voodoo3 wmf xine xml xmms xv zlib
-apm -nas javascript moznoirc moznocompose moznomail"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-14 23:45:34 UTC
Works fine for me with
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)

Using the NVIDIA driver.  If you're able, you might try downgrading your kernel
and seeing if that makes a difference.

You chopped off the top line of the emerge --info output so I don't know about
the rest of your setup. ;-)
Comment 2 Rob Bean 2003-11-15 00:00:04 UTC
Good point.  I've been using the 2.6 series for a while now and completely disregarded that.

Here's the missing line from emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-mm2)

I did manage to get it to work.  I had the ebuild switch to the xfree interface prior to config.  However, I wasn't able to force it to switch back to the NVIDIA interface afterward.

Performing opengl-update nvidia prior to running stellarium seems to have worked.
Comment 3 Andrew Bevitt 2004-04-13 18:31:02 UTC
I think this might be related to some bad nvidia layouts etc...

If its really an issue please remerge xfree or xorg-x11, and the latest ~x86 nvidia-kernel and then retry. Thats the setup im using and could not reproduce your problem.
Comment 4 Andrew Bevitt 2004-07-16 23:53:52 UTC
Closing due to inactivity.