Upon launching celestia (1.3.2) it segfaults before producing any output. Backtrace: (gdb) bt #0 0x00002aaaab0a0867 in std::locale::operator=(std::locale const&) () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/libstdc++.so.5 #1 0x00002aaaab098e81 in std::ios_base::_M_init() () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/libstdc++.so.5 #2 0x00002aaaab09741d in std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) () from /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/libstdc++.so.5 #3 0x0000000000488af4 in Console::Console(int, int) () #4 0x000000000044d09c in CelestiaCore::addFavorite(std::string, std::string, __gnu_cxx::__normal_iterator<FavoritesEntry**, std::vector<FavoritesEntry*, std::allocator<Favorite sEntry*> > >*) () #5 0x00000000005069f6 in __libc_csu_fini () (gdb) Reproducible: Always Steps to Reproduce: 1.Launch Celestia. 2. 3. Actual Results: Celestia segfaulted. Expected Results: Celestia should run :) Celestia Use flags: -arts -debug -gnome +gtk -kde
amd64 herd: I'm not sure, but isn't using gcc-3.3 on this arch the very first problem?
yep, you shouldn't use gcc 3.3 anymore.. upgrade to 3.4, and please give emerge --info
gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) emerge --info Tranquility dave # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /u sr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib /mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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 alsa avi berkdb bitmap-fonts cdr crypt curl dvd eds encode esd fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit libwww lzw lzw-tiff mad motif mozilla mp3 m peg ncurses nls nvidia ogg opengl pam pcmcia pdflib perl png python qt quicktime readline ruby samba sdl slang s pell sqlite ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xp m xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Sorry. Didn't mean to re-assign that :|
Seeing if I can fix my unintended reassignment myself :)
dave, is this bug reproducible with gcc 3.4.3 or any higher? it works fine here
Just tested with gcc 3.4.4 and compiles fine. Mark as resolved I guess :) Solution: Move to gcc 3.4.4 :)
I am running GCC 3.4.4 and this bug still happens for me: Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.7-gentoo-r11 i686) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 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.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -s -march=athlon -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -s -march=athlon -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.osuosl.org/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac alsa amd64 apm arts avi berkdb bitmap-fonts cdr cpudetection crypt cups curl divx4linux dts dvb dvd eds emboss encode fam ffmpeg foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jpeg kde libg++ libwww mad mikmod mjpeg mmx motif mp3 mpeg mysql ncurses network nls nvidia ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline real rtc samba sdl slang spell sse sse2 ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts v4l vorbis win32codecs xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY Starting program: /usr/bin/celestia (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)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 3882)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 3882)] 0x41228cf0 in std::locale::operator=(std::locale const&) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 (gdb) bt #0 0x41228cf0 in std::locale::operator=(std::locale const&) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 #1 0x4122153b in std::ios_base::_M_init() () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 #2 0x4121f7ab in std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 #3 0x080ca9d5 in QListViewItem::removeItem(QListViewItem*) () #4 0x0819fb74 in typeinfo for QObject () #5 0x0819fb4c in typeinfo for QObject () #6 0x40015c80 in ?? () from /lib/ld-linux.so.2 #7 0xbffff398 in ?? () #8 0x416ce8f4 in __cxa_atexit () from /lib/libc.so.6 #9 0x08059c81 in _init () #10 0x0814ae4b in Tokenizer::nextToken() () #11 0x0814ae80 in Tokenizer::nextToken() () #12 0x417b6ff4 in ?? () from /lib/libc.so.6
okay, then let's reopen it
...and reassign, since it's happening on other arches too
Read the backtrace in Comment #8. It's still using the gcc 3.3.x c++ library. The environment must have not been updated or something.
Please try out celestia-1.4.0 from source, it just came out. Hopefully the ebuild will be along in not-too-long.
Check bug #116600 for celestia-1.4 new ebuild
if you haven't tried it yet, please test celestia 1.4.0, it should show on mirrors in ~ 2 hours, please sync and test, your feedback is appreciated
On 4.0.2 too... gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.0.2-r3/work/gcc-4.0.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.0.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libgcj --enable-languages=c,c++,f95 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) emerge --info Portage 2.0.53 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.3.5, 2.4.2 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.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/splash /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LINGUAS="ru" 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="x86 3dnow 3dnowext X a52 aac aalib alsa apm arts athlon-xp audiofile avi berkdb bitmap-fonts bzip2 canna cdr crypt cups curl dshow dv dvd dvdread eds emboss encode esd exif expat fam ffmpeg firebird flac foomaticdb fortran freetype gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde lcms libg++ libwww lirc lua mad matroska mhash mikmod mmx mmx2 mmxext mng motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qemu-fast qt quicktime readline real recode remote ruby samba scanner sdl slang softmmu spell sqlite sse ssl stream subtitles svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v41 visualization vorbis win32 win32codecs wmv wxwindows x11 xine xml xml2 xmms xosd xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS gbd too... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 28548)] 0xb6ce8d50 in std::locale::operator= () from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.so.5 (gdb) bt #0 0xb6ce8d50 in std::locale::operator= () from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.so.5 #1 0xb6ce187b in std::ios_base::_M_init () from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.so.5 wtf?
might be a long shot, but it shouldnt be using libstdc++ from 3.3.5: fix_libtool_files.sh 3.3.5 then try emerging celestia 1.4.0 again
1.4.0 works fine, this does not seem to be valid
Just to let you all know, I had a similar problem with Celestia Both the "x86" 1.3.2 and the "~x86" 1.4.1 emerged fine (with or without the KDE flag), but segfaulted when ran if they were emerged with KDE. As per the suggestions of previous posts I checked 'gdb celestia' and it again showed something for gcc 3.3.*, and fix_libtool_files.sh worked for me to get it going again. So I guess this bugreport was real, and more importantly it was useful to me to solve my problems, even if you insist on leaving the status as "INVALID" Thanks for the help.