Crashes under X.org Xserver (Linux)

Report bugs, bug fixes and workarounds here.
Guest

Crashes under X.org Xserver (Linux)

Post #1by Guest » 11.05.2004, 17:58

Celestia worked well under Xfree X11 4.3 but I switched to X.org's Xserver and now it crashes when opening. You should give an eye to this, as lot of people is switching to X.org's.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Re: Crashes under X.org Xserver (Linux)

Post #2by Christophe » 11.05.2004, 20:43

Anonymous wrote:Celestia worked well under Xfree X11 4.3 but I switched to X.org's Xserver and now it crashes when opening. You should give an eye to this, as lot of people is switching to X.org's.


Which Celestia version? GLUT, Gnome/GTK or KDE?

Do other GL programs work on your X.org installation?

Do you get any message on the console when it dies?

Celestia doesn't make any direct X lib calls, it uses the widget and OpenGL APIs. It doesn't depend on XFree86 and should work fine on any X11 implementation provided it supports the required extensions.

The problem probably comes from your installation of X.org or from a toolkit integration issue.
Christophe

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Crashes under X.org Xserver (Linux)

Post #3by t00fri » 14.05.2004, 23:45

Anonymous wrote:Celestia worked well under Xfree X11 4.3 but I switched to X.org's Xserver and now it crashes when opening. You should give an eye to this, as lot of people is switching to X.org's.


Hey anonymous ghost,

I am using the latest Xorg X-server without the slightest problems with Celestia. You must be doing something wrong, I am afraid. Since you do not care to tell us what libs, distro etc you are using, I cannot help you, of course.

And to people without names, shell scripts, Internet robots and Spysoft, I never talk to anyway...

Bye Fridger

Guest

same problem

Post #4by Guest » 17.05.2004, 21:08

I also have the same problem
suse 9.1
xorg 6.7.0-2.1

this guy does too
http://lists.suse.com/archive/suse-kde/ ... /0078.html

Unable to resolve GL/GLX symbols - please check your
GL library installation.
celestia: ERROR: Communication problem with celestia,
it probably crashed.

p.s.
all other gl apps seem fine

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #5by Christophe » 17.05.2004, 21:16

It looks like a Qt linking error on SUSE. Do other Qt OpenGL apps work? (the KDE GL screen savers for example).
Christophe

Guest

other opengl apps in kde work

Post #6by Guest » 17.05.2004, 22:50

I tried the opengl screensavers in kde
they work fine
so I tried to recompile from scratch
but, it did the same thing
so, then I did a ./configure --with-gtk
thinking that would work
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found
/usr/include/jpeglib.h
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.6
/usr/lib/libjpeg.so.6.0.1
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
am I doing something wrong ?

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: other opengl apps in kde work

Post #7by t00fri » 17.05.2004, 23:11

Anonymous wrote:I tried the opengl screensavers in kde
they work fine
so I tried to recompile from scratch
but, it did the same thing
so, then I did a ./configure --with-gtk
thinking that would work
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found
/usr/include/jpeglib.h
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.6
/usr/lib/libjpeg.so.6.0.1
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
am I doing something wrong ?


Still NO-name?

here is what I reported quite a while ago to the developer list:

---------------------------------------------------------
Hi SuSE "fans";-)

there is more wrong with SuSE...

I spent part of my weekend to sort out another nasty bug that crept into their latest update version of the qt3 library: qt3-3.3.2-3.i586.rpm. Don't install it! If you do so, everything continues to compile fine, but Celestia crashes at runtime:

error output: "unresolved Gl/Glx symbols. Communication with Celestia (under KDE3) broken. Celestia probably crashed..."

Some years ago, I still had enough idealism and would have written them a bug report. Not now! You wouldn't even get a response...let alone a "Thank you".

Most other OpenGL programs continued to work though. I have definitely traced the bug to the above SuSE-qt3 version.

Bye Fridger

PS: I am now definitely getting tired with these bug-loaded desktop packages, faulty kernels etc. I just cannot continue spending my time with chasing all those bugs.

My suspicion is that most of the problems actually are introduced by these wild patching habits of distributors like SuSE and NOT by the originally released packages! There is a rumor that my lab will change to Red Hat, which --if true--will start sort of an avalange in Germany's science landscape...
---------------------------------------------------------------

If you had told me the version numbers of all your libs from the start (as well as your name!), I could have told you the solution of your problem right away!

Just go one patch-level back with the SuSE qt3-lib and things will compile smoothly with Celestia.

The nasty feature here is that other OpenGL applications continued to compile fine...

Bye Fridger

Guest

Compiling problem -again.

Post #8by Guest » 28.05.2004, 03:54

I have a problem compiling Celesita-1.3.1 on Gentoo, running ~x86.

The problem is with my X server - I run xorg-x11-6.7.0, and celestia dies when looking for this path (which obviously is not there):

Code: Select all

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-exceptions -fno-check-new  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include   -rdynamic -L/usr/lib -L/usr/X11R6/lib -o celestia  celestiacore.o configfile.o destination.o eclipsefinder.o favorites.o imagecapture.o url.o gtkmain.o  ../celengine/libcelengine.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lglut -lGLU -lGL  -lSM -lICE  -lm   -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -lz  -lGL -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -lgtkgl
libtool: link: cannot find the library `/usr/lib/opengl/xfree/lib/libGL.la'
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/var/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/celestia-1.3.1/work/celestia-1.3.1'
make: *** [all] Error 2


I don't really know what could be causing this path error, but im guessing that it is some kind of configure problem. I compiled using

Code: Select all

opengl-update xorg-x11
because when using

Code: Select all

opengl-update nvidia
configure cannot find the GL headers.

All other GL programs work fine, and I haven't ever seen this error before, so i'm pretty sure its celestia-specific.

System:
Pentium 4 2.8 ghz HT
GeForce 4 MX 440

Sorry for posting as Guest - first time on the forums, and its only a quick support problem (i hope).

Leo

Guest

SUSE 9.1 Qt

Post #9by Guest » 05.06.2004, 02:25

sorry to be anonymous ... but it's too late here :)

Qt from suse is broken... i installed the latest update as well, and celestia did no longer work, with the same bug as the guest above.
If i compile celestia with glut, it just works...

i reverted to the version of Qt that is on the 9.1 CD's and celestia is back again...

Here is the changelog of the version of Qt that crashes celestia:

"Fixes wrong font caching. This fixes wrong fonts in konqueror and khelpcenter on some systems. Font fixes for japanese and chinese fonts. fix OpenGL support without - -devel packages installed. add XCursor support."

I'll report this to SUSE asap

Guest

Post #10by Guest » 21.06.2004, 18:07

I'm the first poster. I apologise for not answering before :$
I'm also using Gentoo Linux, and compiled Celestia in its GTK frontend, so no KDE problem was causing the crash.
It's only celestia related, as I run a bunch of OpenGL programs and none segfaults. Only celestia.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #11by t00fri » 22.06.2004, 12:28

Anonymous wrote:I'm the first poster. I apologise for not answering before :$
I'm also using Gentoo Linux, and compiled Celestia in its GTK frontend, so no KDE problem was causing the crash.
It's only celestia related, as I run a bunch of OpenGL programs and none segfaults. Only celestia.


Why is it so hard to understand:

You want us to spend our time for your problem, but you /repeatedly/ do not care to

--- register and identify yourself, so we know which anonymous guy we are exchanging mail with.

--- to specify the /precise/ versions of Celestia and /all/ libraries you are using!!

You probably have upgraded to gtk-2.2.x or even gtk-2.4.x, for example. Then you would be in deep trouble with the /old/ gtk-1.x-Celestia version that only works with gtk1. This gtk1-version is still contained in the latest official Celestia-1.3.1 distro.

--- The gtk version of Celelstia has been completely rewritten recently and notably adapted to the gtk2 libraries. If you run gtk2-libs then you must get and build Celestia from CVS.

There was also an early CVS version
for gtk2 that compiled OK but produced a SEGFAULT upon start.


Why do you let me spend my time guessing what you might have used??? So it apparently conforms to your idea of "fairness" that you let me first write a long post about the known bug in the qt-3.x library, before you manage to tell us that you actually use gtk.

And so on...

Bye Fridger

andyrock
Posts: 33
Joined: 24.06.2004
With us: 20 years 4 months

Post #12by andyrock » 24.06.2004, 02:21

Hi!

I'm the "sorry to be anonymous ... but it's too late here " guest. :D

Suse users can use celestia with up-to-date Qt versions again. It's fixed. Just run online update.

Code: Select all

Patchname: qt3
Patchversion: 51450
Version: 3.3.1-36.12
Fixes wrong font caching. This fixes wrong fonts in
konqueror and  khelpcenter on some systems. Font fixes for
japanese and chinese fonts. Fix OpenGL support without
installed -devel packages. Add XCursor support. This second
update was done to fix OpenGL support with Nvidia drivers.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #13by t00fri » 24.06.2004, 20:43

andyrock wrote:Hi!

I'm the "sorry to be anonymous ... but it's too late here " guest. :D

Suse users can use celestia with up-to-date Qt versions again. It's fixed. Just run online update.

Code: Select all

Patchname: qt3
Patchversion: 51450
Version: 3.3.1-36.12
Fixes wrong font caching. This fixes wrong fonts in
konqueror and  khelpcenter on some systems. Font fixes for
japanese and chinese fonts. Fix OpenGL support without
installed -devel packages. Add XCursor support. This second
update was done to fix OpenGL support with Nvidia drivers.


Yes I know, but I am already running qt3-3.3.2-5 from SuSE since quite some time.

Bye Fridger


Return to “Bugs”