Page 1 of 1

Crash on startup with KDE frontend

Posted: 30.08.2004, 20:31
by Mark
I compiled Celestia 1.3.2 on FC2 Linux today, with KDE support enabled. I got the following messages:

[mark@gort]$ celestia
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
[mark@gort]$ KCrash: Application 'celestia' crashing...

No windows appeared, just this commandline output (followed by the KDE crash handler). This machine is using the NVidia binary drivers.

Any suggestions? With the GLUT frontend, it runs fine.

TIA,
Mark

Posted: 30.08.2004, 20:44
by hjw
Hello Mark,

I had a problem when celestia-splash.jpg was not installed into my
home-directory (/home/your-user-name/.kde/share/apps/celestia.
I got a crash on startup.
"strace -f celestia" showed me the problem and I copied the splash
image to my home directory and everything was fine...

MfG - HJW

Works now

Posted: 30.08.2004, 22:43
by Mark
Thanks, it works now. Seems that your suggested fix solved the problem - presumably this ought to be part of the default install though.

Happy now, thanks ;-)

Mark

Posted: 31.08.2004, 14:45
by hjw
Mark: glad I could help! :D

Anybody out there with CVS access to fix this bug?
Just let me know if you need additional info.

MfG - HJW

Posted: 02.09.2004, 22:51
by andyrock
Is this a bug?

I use Celestia CVS since 3 monthes ago and never noticed that crash bug

This is my build script:

Code: Select all

make -f Makefile.cvs
./configure --prefix=/opt/kde3 --with-kde
make
su
make install

Posted: 03.09.2004, 07:21
by hjw
Yes, I think this is a bug.

I just verified it on my office computer.
I used the official celestia-1.3.2.tgz with

configure --with-kde --with-lua=/usr/local
make
su
make install


If you start celestia as normal (non-root-user) it tries to load
"/home/your-user-name/.kde/share/apps/celestia/celestia-splash.jpg"
(this file does not exist) and crashes.

This happened to me also a few weeks ago after I installed SuSE 9.1
from scratch during the 1.3.2pre-phase. I've found the problem quite
quickly and then forgot about it. As soon as you copy it once to your
home directory celestia keeps working...

A solution would be to fall back to celestia-splash.jpg in the
installation tree (if there is none in the /home/user tree), but
I personally don't care about having different splash-screens
for different users on the same system.

I'm sure the better way to do it is to use the splash-image from
the installation tree ONLY, because then you allways get the
splash-image that is associated with the celestia package you
are starting (in case you have more than one installed) and
not the one that is associated with the user...

If you are a casual try-this-package-out-user and celestia
crashes after your first try the current behaviour is a real
show stopper. Most users will believe the problem is
the graphics card or opengl or the driver release...
but not a missing splash-image!!!

btw I'm using SuSE 9.0 here in my office.


MfG - HJW

Celestia not offers the menu describes on the User guide

Posted: 20.09.2004, 21:15
by manu
I have install celestia on my fedora core 2, it ok but I have no Menu on the screen, I can see different planet but for instance I can find the Tools Bar with the other menus like File, Navigation, Time , Render and so on.

Perhaps this menu are not yet available with KDE 3.2 and my fedora version.

help or advise will be appreciated ?
Manu :)

Posted: 21.09.2004, 09:50
by andyrock
Probably you're not using celestia kde frontend.

Did you compile with the --with-kde configure option?