Page 1 of 1

Hi and rant

Posted: 03.07.2002, 19:40
by dreamer
I'm new to Celestia, so...

hi all.

I like Celestia: Thanks for this great prog.

Celestia 1.2.4 stopped working: #"ยง$@*!

The most important bits about my system:

RedHat 7.3
GeForce2 graphics card, NVidia drivers installed.

One fact is that other OpenGL programs work well.
Another fact is that the very day I move my /usr tree to a new partition, one program stopped working: Celestia.
I do not know whether these facts might be related (don't think they are), but heck, maybe they are, after all.

When I start Celestia, it prints

Code: Select all

Parent body 'BD -10 3166' of 'b' not found.
fv: 6


and then segfaults. No display, no further output, no... freaking anything - anymore.

the last few lines of output of "strace celestia --disable-crash-dialog" under gnome:

Code: Select all

open("/usr/lib/libGL.so", O_RDONLY)     = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\302"..., 1024) = 1024
fstat64(10, {st_mode=S_IFREG|0755, st_size=424268, ...}) = 0
old_mmap(NULL, 439100, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0) = 0x412ad000
mprotect(0x41312000, 25404, PROT_NONE)  = 0
old_mmap(0x41312000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 10, 0x64000) = 0x41312000
old_mmap(0x41316000, 9020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41316000
close(10)                               = 0
mprotect(0x412ad000, 413696, PROT_READ|PROT_WRITE) = 0
mprotect(0x412ad000, 413696, PROT_READ|PROT_EXEC) = 0
munmap(0x40d33000, 81843)               = 0
munmap(0x412ad000, 439100)              = 0
open("/etc/ld.so.cache", O_RDONLY)      = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=81843, ...}) = 0
old_mmap(NULL, 81843, PROT_READ, MAP_PRIVATE, 10, 0) = 0x40d33000
close(10)                               = 0
open("/usr/lib/libGL.so", O_RDONLY)     = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\302"..., 1024) = 1024
fstat64(10, {st_mode=S_IFREG|0755, st_size=424268, ...}) = 0
old_mmap(NULL, 439100, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0) = 0x412ad000
mprotect(0x41312000, 25404, PROT_NONE)  = 0
old_mmap(0x41312000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 10, 0x64000) = 0x41312000
old_mmap(0x41316000, 9020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41316000
close(10)                               = 0
mprotect(0x412ad000, 413696, PROT_READ|PROT_WRITE) = 0
mprotect(0x412ad000, 413696, PROT_READ|PROT_EXEC) = 0
munmap(0x40d33000, 81843)               = 0
munmap(0x412ad000, 439100)              = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Can anybody deduce anything from this?

I've tried deleting /usr/local/share/celestia and a successive recompile, but to no avail. This means I'm pretty lost out here, I'm afraid, and quite unhappy, too. My towel's gone.

Posted: 03.07.2002, 21:03
by Thilo
This rather looks like the data files are corrupted ... if you had an old version, maybe you have to delete the old celestia directory and do a "make install" again.

Posted: 03.07.2002, 21:45
by t00fri
Thilo wrote:This rather looks like the data files are corrupted ... if you had an old version, maybe you have to delete the old celestia directory and do a "make install" again.


I agree with Thilo. Just start from zero again. Download fresh sources and recompile everything new. Make a new install. Only takes minutes...

If you know how to handle strace, why don't you stick celestia into your favorite debugger (ddd...). Then you know...

Question: did you modify the default startup script by chance such as to display a ringed planet initially?

Bye Fridger

Posted: 03.07.2002, 22:20
by dreamer
As stated before, I already tried deleting the celestia dir and binary, followed by a recompile and reinstall. Didn't work.
Trying with a fresh download now... [make]

A question in the meantime...
is it possible to declare an object in celestia as inifinitely far away but still visible? I'm aiming at something like decal textures/objects... Maybe constellation lines might do what I want... Where could I get info regarding those?

OK, build is finished.....[make install] Does it work?....[celestia] Nope. Dang.

Any other ideas? I'd really like to be able to run this without resorting to wine.

update

Posted: 03.07.2002, 22:31
by dreamer
AARGH!

:oops:

looks like my /usr/lib/libGL.so was not as healthy as all gl progs but celestia considered it to be. resorted to reinstalling the NVidia driver rpms and ... voila! celestia is back - as beautiful and interesting as it used to be.

Thx for caring about newbie probs, ppl! :roll:

Posted: 03.07.2002, 22:33
by Rassilon
dreamer wrote:A question in the meantime...
is it possible to declare an object in celestia as inifinitely far away but still visible? I'm aiming at something like decal textures/objects... Maybe constellation lines might do what I want... Where could I get info regarding those?


Not yet...Within solar systems its based on the size of the sun before planets/objects dissapear...for Sol the max Ive placed an object is 200 AU with success...as for stars...they cannot be placed further than ~16000 ly distant...but I think chris is working this out for the next version of Celestia...

Posted: 03.07.2002, 22:37
by t00fri
dreamer wrote:As stated before, I already tried deleting the celestia dir and binary, followed by a recompile and reinstall. Didn't work.
Trying with a fresh download now... [make]

A question in the meantime...
is it possible to declare an object in celestia as inifinitely far away but still visible? I'm aiming at something like decal textures/objects... Maybe constellation lines might do what I want... Where could I get info regarding those?

OK, build is finished.....[make install] Does it work?....[celestia] Nope. Dang.

Any other ideas? I'd really like to be able to run this without resorting to wine.


Your hardware is of "reference type" : NVIDIA, GeForce 2,3,4 is usually very stable under Linux. Chris runs Redhad, I use SuSE 7.3. Usually very stable. Only 2 known problems:
1) fragment, vertex shading does give a SEGFAULT in case of objects with external bumpmap files (e.g. mercury). But this is OFF by default.

2) Sometimes the approach to ringed planets may give a segfault. Thats why I asked and you did not answer yet.

Otherwise the chances are high that something is wrong after you did some modifications within your system as you described.

Here, we can only help if we go systematically through your system, which is sort of tedious remotely.

Bye Fridger

Posted: 04.07.2002, 14:09
by Thilo
He already answered in a follow-up posting that after reinstalling the GL drivers it worked ;-)