Celestia 1.3.1 segfault at startup with nvidia glx

Report bugs, bug fixes and workarounds here.
Topic author
skuld
Posts: 6
Joined: 11.07.2004
With us: 20 years 4 months

Celestia 1.3.1 segfault at startup with nvidia glx

Post #1by skuld » 11.07.2004, 15:52

Hi,

When I compile Celestia with X.org GLX, I can start it, but only with basic OpenGL rendering
When I compile it with nVIDIA GLX, I can't start it, it crashed immediatly

Code: Select all

skuld@skuld# celestia
Erreur de segmentation
skuld@skuld# celestia --help
Erreur de segmentation
skuld@skuld#


An ldd gives

Code: Select all

skuld@skuld# ldd /usr/bin/celestia
        linux-gate.so.1 =>  (0xffffe000)
        libkio.so.4 => /usr/kde/3.2/lib/libkio.so.4 (0x40016000)
        libkdeui.so.4 => /usr/kde/3.2/lib/libkdeui.so.4 (0x40316000)
        libkdesu.so.4 => /usr/kde/3.2/lib/libkdesu.so.4 (0x405af000)
        libkdecore.so.4 => /usr/kde/3.2/lib/libkdecore.so.4 (0x405ca000)
        libDCOP.so.4 => /usr/kde/3.2/lib/libDCOP.so.4 (0x407b2000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x407fe000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x4080f000)
        libkdefx.so.4 => /usr/kde/3.2/lib/libkdefx.so.4 (0x40826000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x40853000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x40f32000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40f8a000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40f8f000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40f98000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40faa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40fd0000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41037000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x41055000)
        libutil.so.1 => /lib/libutil.so.1 (0x4105e000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x41061000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x41068000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x41119000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4114a000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x41166000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x411e0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4122f000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41240000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41249000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x41260000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x41275000)
        libz.so.1 => /lib/libz.so.1 (0x4127e000)
        libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0x4128e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x412f6000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x413ba000)
        libdl.so.2 => /lib/libdl.so.2 (0x413c8000)
        libm.so.6 => /lib/libm.so.6 (0x413cb000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1 (0x413ed000)
        libc.so.6 => /lib/libc.so.6 (0x413f6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0x41501000)
        libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0x41bd9000)
skuld@skuld#


System: 512 MB, 2.8GHz Pentium 4C, Gentoo Linux, kernel 2.6.7-ck5
Graphic: 256 MB Geforce FX5600, nVIDIA GLX 1.0.6106
Program: Celestia 1.3.1

Topic author
skuld
Posts: 6
Joined: 11.07.2004
With us: 20 years 4 months

Post #2by skuld » 11.07.2004, 18:18

Here is a GDB output, it may help :

Code: Select all

skuld@skuld# gdb celestia
GNU gdb 6.1.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/celestia
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()

Topic author
skuld
Posts: 6
Joined: 11.07.2004
With us: 20 years 4 months

Post #3by skuld » 11.07.2004, 19:19

I've fixed my problem

I've just had to delete /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 and now celestia start without segfaulting.


Return to “Bugs”