SVN compiles, crashes on start (XP)

Asked by gzotti

Hi!

For a few days I am trying to build Stellarium on WinXP SP3 from SVN as described in the wiki. It compiles fine, but crashes on launch on the msys console. The splash screen shows, but then the classic error panel "instruction at 0x... points to 0x0000000; cannot read from there..." appears. Quitting with OK removes the panel, but keeps the stuck program running.
I can quit via Ctrl-C, then apparently the log file is dumped to the msys console.

Today I had new hope reading an SVN commit comment "fixed startup crash", but it did apparently not change my problem. I recompiled revision 5711 from scratch, removed the Stellarium user directory to avoid problems with previous .ini-s, but it again crashed, repeatedly.

The last lines of the log.txt are:

Creating GUI ...
Loaded plugin "AngleMeasure" .
AngleMeasure plugin - press control-A to toggle angle measure mode
Loaded plugin "CompassMarks" .
CompassMarks plugin - press control-C to toggle compass marks
Loaded plugin "Oculars" .
Ocular plugin - press Command-o to toggle eyepiece view mode. Press ALT-o for configuration.
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::save: Painter not active

I have until now never worked with Qt, so I don't know if these last lines are the critical hint.

I have an Intel Core2 duo, NVidia Geforce 9800M GTS, and downloaded versions 0.10.1, 0.10.2 and builds of 0.10.2 (with Qt 2009.02) worked fine.

Thank you for any help!
Georg.

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Bogdan Marinov
Solved:
Last query:
Last reply:
Revision history for this message
Best Bogdan Marinov (daggerstab) said :
#1

Please have a look at the related bug report I've just attached.

Basically, you need to create manually several directories in Stellarium's user data directory:
- one called "modules";
- inside it, one called "Oculars" and one called "Satellites".

This is because some fellow plug-in developers don't pay attention to the bug tracker.

Revision history for this message
gzotti (georg-zotti) said :
#2

Thank you, that was the trick! The plugins should create their dirs, IMHO.
It now runs, even though not stable. I will experiment a bit, remove/disable unneeded plugins, etc.

This case is closed, however.