Page 1 of 1

segfault during demo on redhat7.3 PIII

Posted: 24.08.2002, 19:52
by mwm
Hi,

Celestia looks really interesting, but it's a bit disconcerting that I can't seem to get through
its complete demo. I get a segfault just as it's zooming in towards Saturn on two distinct Redhat 7.3 installations (one a PIII Dell desktop the other a PIII Dell notebook). The stack gets majorly trashed, running under gdb doesn't produce anything usefu:


Program received signal SIGSEGV, Segmentation fault.
0x0811aec8 in glActiveTextureARB ()
(gdb) bt
#0 0x0811aec8 in glActiveTextureARB ()
Cannot access memory at address 0x3f800000
(gdb) up
Cannot access memory at address 0x3f800000

Here's a list of the libraries against which I'm linking:

> ldd celestia
libpng.so.2 => /usr/lib/libpng.so.2 (0x4002f000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40050000)
libglut.so.3 => /usr/lib/libglut.so.3 (0x4006f000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x400a1000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x400b5000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40289000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40293000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x402aa000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x403d8000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4040e000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40411000)
libdl.so.2 => /lib/libdl.so.2 (0x40435000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4043a000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40442000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40450000)
libm.so.6 => /lib/i686/libm.so.6 (0x40546000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40569000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4057f000)
libc.so.6 => /lib/i686/libc.so.6 (0x405c2000)
libz.so.1 => /usr/lib/libz.so.1 (0x406fe000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4070c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thanks for any suggestions on how I might fix this, I've love to see the rest of the demo and learn more about it.

oops! re: redhat segfault in demo

Posted: 24.08.2002, 20:05
by Guest
Hi again,

I should have searched for "Saturn" instead of "Demo" before posting, sorry about that.

I see in http://www.celestiaproject.net/forum/viewtopic.php?t=512 that a simple workaround is
to disable the rendering of multiple textures. Doing that let me see the demo to
completion.