Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132008 - sci-astronomy/stellarium-0.8.0: Segmentation fault at startup
Summary: sci-astronomy/stellarium-0.8.0: Segmentation fault at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 03:50 UTC by Paul Taylor
Modified: 2006-05-03 02:30 UTC (History)
2 users (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 Paul Taylor 2006-05-02 03:50:43 UTC
$ stellarium
 -------------------------------------------------------
[ This is Stellarium 0.8.0 - http://www.stellarium.org ]
[ Copyright (C) 2000-2005 Fabien Chereau et al         ]
 -------------------------------------------------------
Segmentation fault


The output from strace isn't enlightening:
$ strace stellarium
[snip]
write(1, " -------------------------------"..., 57 -------------------------------------------------------
) = 57
write(1, "[ This is Stellarium 0.8.0 - htt"..., 57[ This is Stellarium 0.8.0 - http://www.stellarium.org ]
) = 57
write(1, "[ Copyright (C) 2000-2005 Fabien"..., 57[ Copyright (C) 2000-2005 Fabien Chereau et al         ]
) = 57
write(1, " -------------------------------"..., 57 -------------------------------------------------------
) = 57
open("/usr/share/stellarium/data/hipparcos.fab", O_RDONLY) = 3
close(3)                                = 0
open("/home/birder/.stellarium/config.ini", O_RDONLY) = 3
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 24481 detached


Removing the .stellarium directory (in case it was incompatible) made no difference.
Comment 1 Paul Taylor 2006-05-02 03:51:24 UTC
Forgot to include the "emerge --info" output:

Portage 2.1_pre10-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.4.3
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sfperms strict"
GENTOO_MIRRORS="http://bower/gentoo ftp://ftp.iinet.com.au/pub/Gentoo http://distfiles.gentoo.org/"
LANG="en_AU"
LC_ALL="en_AU"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://bower/gentoo-portage"
USE="amd64 X a52 aac alsa arts audiofile bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cdrom chroot cli crypt cups curl dpms dri dts dv dvb dvd dvdr dvdread eds emboss encode exif expat fame fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint gpm gps gsl gstreamer gtk gtk2 hal idn imagemagick imap imlib ipv6 isdnlog jack java jpeg jpeg2k junit kde lcms lirc lm_sensors lzo lzw lzw-tiff mad mmap mng mp3 mpeg mpeg4 musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pam pcre pda pdflib perl pic png ppds pppd python qt quicktime readline reflection sdk sdl session slang sndfile speex spell spl sqlite ssl svg tcpd test theora threads tiff truetype truetype-fonts type1-fonts usb userlocales vcd vorbis vorbis-psy wmf xcomposite xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc yv12 zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-05-02 04:45:25 UTC
Try remerging with CXXFLAGS="-pipe" emerge stellarium

works fine here but I'm on x86.  Could be amd64 only?
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-05-02 06:03:03 UTC
works fine here:

# emerge --info
Portage 2.1_pre9-r5 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks keeptemp keepwork metadata-transfer multilib-strict nostrip sandbox sfperms test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_GB.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts cli crypt cups curl debug dri dvd eds emboss encode fam flac font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jp2 jpeg kde lzw lzw-tiff motif mozilla mp3 mpeg ncurses network nls nptl ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales utf8 vorbis xml xml2 xorg xpm xrandr xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 4 Scott Stoddard (RETIRED) gentoo-dev 2006-05-02 20:31:02 UTC
I cannot reproduce the segfault here.  (~amd64 system and same CXXFLAGS as you)

tesla ~ # emerge --info
Portage 2.1_pre10-r2 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r6 x86_64 AMD Turion(tm) 64 Mobile Technology ML-32
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.3.5-r2, 2.4.3
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig collision-protect cvs distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 asf avi bash-completion berkdb bitmap-fonts browserplugin cdr cli crypt cups dbus divx4linux dri dvd dvdr dvdread eds emboss encode firefox flac foomaticdb fortran gif glitz gnome gpm gstreamer gtk gtk2 hal icq imap imlib ipv6 isdnlog jabber jpeg live lzw lzw-tiff mad mjpeg mng mono moznocompose moznoirc moznomail mp3 mpeg msn musepack native ncurses network nls no-old-linux nptl nptlonly nsplugin offensive ogg oggvorbis opengl pam pcre pda pdflib perl png postgres ppds pppd python quicktime radeon read readline reflection rtc sdk sdl session slang snmp spell spl ssl svg tcpd theora tiff transcode truetype truetype-fonts type1-fonts usb v4l v4l2 visualization vorbis wmf xine xorg xpm xv xvid xvmc yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Paul Taylor 2006-05-03 02:30:56 UTC
I tried recompiling without "-pipe" and "-ftracer", and also without the "nls" USE flag.  None of these.

What I did discover is that my OpenGL implementation had changed back to xorg-x11, probably as a result of a recent upgrade/rebuild.  Changing it back to nvidia fixed the problem.

I'll close this bug, but it may need to be reopened if those using the xorg-x11 OpenGL implementation have the same problem.