Crash on startup with KDE frontend

Report bugs, bug fixes and workarounds here.
Topic author
Mark

Crash on startup with KDE frontend

Post #1by Mark » 30.08.2004, 20:31

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

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #2by hjw » 30.08.2004, 20:44

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

Topic author
Mark

Works now

Post #3by Mark » 30.08.2004, 22:43

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

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #4by hjw » 31.08.2004, 14:45

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

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

Post #5by andyrock » 02.09.2004, 22:51

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
AndyRock

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #6by hjw » 03.09.2004, 07:21

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

manu

Celestia not offers the menu describes on the User guide

Post #7by manu » 20.09.2004, 21:15

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 :)

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

Post #8by andyrock » 21.09.2004, 09:50

Probably you're not using celestia kde frontend.

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


Return to “Bugs”