Summary: | app-sci/celestia-1.3.2 segfault on startup with "USE=gnome" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gregory McLean <gregm> |
Component: | Current packages | Assignee: | Disenchanted (RETIRED) <morfic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gad.kadosh, magnade |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gregory McLean
2004-09-29 16:22:38 UTC
emerging without gnome support 'fixes' the seg fault. i just tried this and its working for me what video card and xorg/xfree are you using? from looks of backtrace it looks like its having a problem with loading some prefs but i didnt know celestia had any to save... if you can find out where that file is might try trashing it and see if it loads Using an Nvidia card, XOrg 6.8.0-r1 Here is what it is trying to load: void readGConfMain(AppPreferences* p) { // This area should, in theory, have error checking p->winWidth = gconf_client_get_int(client, "/apps/celestia/winWidth", NULL); p->winHeight = gconf_client_get_int(client, "/apps/celestia/winHeight", NULL); p->winX = gconf_client_get_int(client, "/apps/celestia/winX", NULL); p->winY = gconf_client_get_int(client, "/apps/celestia/winY", NULL); p->ambientLight = gconf_client_get_float(client, "/apps/celestia/ambientLight", NULL); p->visualMagnitude = gconf_client_get_float(client, "/apps/celestia/visualMagnitude", NULL); p->showLocalTime = gconf_client_get_bool(client, "/apps/celestia/showLocalTime", NULL); p->hudDetail = gconf_client_get_int(client, "/apps/celestia/hudDetail", NULL); p->fullScreen = gconf_client_get_bool(client, "/apps/celestia/fullScreen", NULL); p->starStyle = (Renderer::StarStyle)gconf_client_get_int(client, "/apps/celestia/starStyle", NULL); p->altSurfaceName = gconf_client_get_string(client, "/apps/celestia/altSurfaceName", NULL); } I'm guessing its choaking on that p->atlSurfaceName bit as its not set. gconftool-2 -a /apps/celestia winWidth = 640 winHeight = 480 starStyle = 0 altSurfaceName = winX = -1 hudDetail = 1 winY = -1 ambientLight = 0.10000000149011612 showLocalTime = true fullScreen = false visualMagnitude = 8.5 I don't understand enough about the code in celestia to know what its doing, trying to do. But looking at it: p->altSurfaceName = ""; #ifdef GNOME readGConfMain(p); The string gets set to an empty string, then later looks like it gets NULL'd out. which strlen will barf on. Beats me. well i looked at my configuration info and it matchs yours perhaps try --recursive-unset with gconftool on the celestia config items and see if it loads then or perhaps set a string for the altSurfaceName item and see if it works then ill look over the code for this section in the mean time and see if i can setup a quick NULL check as i cant reproduce it after i make it ill have to have you test it if your still having the problem by then hmm i notice your on 808 glibc snapshot on another bug the user upgraded to the glibc snapshot 1006 perhaps this is also your problem ill play with this idea on my test system also I'm having a segfault on celestia startup too. version 1.3.2. I have a radeon 9000 IGP card if that matters. My emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.149.10.102/ ftp://212.219.56.152/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.gentoo.org/gentoo-portage" USE="X acl acpi alsa avi berkdb bitmap-fonts cdr crypt cups dbus dvd encode f77 fam flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww mad mikmod mmx mozilla mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl pic png posix ppds python quicktime readline rtc samba scanner sdl spell sse sse2 ssl tcpd tiff truetype unicode usb userlocales x86 xml2 xv zlib" is there still an issue i can still not reproduce any segfaults with USE=gnome if anyone still has this issue i need feedback or else the bug will be closed in the next 24-48 hours Seems to be fixed with gnome 2.8.1 works here fine indeed some aweful long 48 hours later..... |