0.10.6 beta crashes with Ocular plugin

Bug #682031 reported by Khalid AlAjaji
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
treaves

Bug Description

If no eyepiece or telescope is configured for the Ocular plugin, Stellarium 0.10.6 beta will crash if this happens:
- Select an object
- enable Ocular

My system is Vista.

The log:

2010-11-27T08:48:54
Windows Vista
Compiled with GCC 4.4.0
Qt runtime version: 4.7.0
Qt compilation version: 4.7.0
Addressing mode: 32-bit
Total memory: 2037 MB (unreliable)
Total virtual memory: 2047 MB (unreliable)
Physical memory in use: 53%
Processor speed: 2493 MHz
Processor name: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Processor speed: 2493 MHz
Processor name: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
C:\Program Files\Stellarium 0.10.6 beta\stellarium.exe
 -------------------------------------------------------------------
[ This is Stellarium 0.10.5 (BZR r4813) - http://www.stellarium.org ]
[ Copyright (C) 2000-2010 Fabien Chereau et al ]
 -------------------------------------------------------------------
Writing log file to: "C:/Users/zzzzz/AppData/Roaming/Stellarium/log.txt"
File search paths:
  0 . "C:\Users\zzzzz\AppData\Roaming\Stellarium"
  1 . "."
Config file is: "C:\Users\zzzzz\AppData\Roaming\Stellarium/config.ini"
OpenGL supported version: "1.5.0 - Build 7.14.10.1244"
Qt GL paint engine is: "OpenGL"
Cache directory is: "C:\Users\zzzzz\AppData\Local\stellarium\stellarium\cache"
Sky language is "en"
Application language is "en"
Loading Solar System data ...
WARNING : Can't find texture file "textures/vesta.png" : file not found: textures/textures/vesta.png

WARNING : Can't find texture file "textures/Pluto.png" : file not found: textures/textures/Pluto.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/Asteroid.png" : file not found: textures/textures/Asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

WARNING : Can't find texture file "textures/asteroid.png" : file not found: textures/textures/asteroid.png

Loaded 261 / 261 planet orbits from "C:\Users\zzzzz\AppData\Roaming\Stellarium/data/ssystem.ini"
Loading star data ...
"Loading "./stars/default/stars_0_0v0_1.cat": 0_0v0_1; 5013"
"Loading "./stars/default/stars_1_0v0_1.cat": 1_0v0_1; 21999"
"Loading "./stars/default/stars_2_0v0_1.cat": 2_0v0_1; 151416"
"Loading "./stars/default/stars_3_1v0_0.cat": 3_1v0_0; 434064"
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Loading star names from "./skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "./stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Creating GUI ...
Loaded plugin "Oculars" .
Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration.
Oculars::validateIniFile ocular.ini exists at: "C:\Users\zzzzz\AppData\Roaming\Stellarium/modules/Oculars/ocular.ini" . Checking version...
Oculars::validateIniFile found existing ini file version 0.12

Related branches

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Confirmed: Deleting all telescopes and oculars causes a crash when ocular view is activated.

Timothy, will you fix this, or you'll let someone else do it? In the latter case, please remove your name from the "Assigned to" field.

Changed in stellarium:
assignee: nobody → treaves (treaves)
importance: Undecided → Medium
milestone: none → 0.10.6
status: New → Confirmed
Revision history for this message
treaves (treaves) wrote :

Working on it now.

treaves (treaves)
Changed in stellarium:
status: Confirmed → Fix Committed
Revision history for this message
Matthew Gates (matthew-porpoisehead) wrote :

I can still make it crash:

1. Delete all eyepieces
2. Select object
3. Hit control-O

Output:
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 463
Aborted

Changed in stellarium:
status: Fix Committed → Confirmed
Revision history for this message
Matthew Gates (matthew-porpoisehead) wrote :
Revision history for this message
treaves (treaves) wrote :

Yes, I did not check if they were deleted in the config dialog.

Changed in stellarium:
status: Confirmed → Fix Committed
Revision history for this message
Khalid AlAjaji (kajaji) wrote :

I had this bug because Stellarium does not save eyepiece or Telescope settings between sessions. Every time I start stellarium, I find the eyepiece and telescope list empty and I have to re-add eyepiece and telescope settings.

Revision history for this message
treaves (treaves) wrote :

That is a different issue, and has been correted.

Revision history for this message
Khalid AlAjaji (kajaji) wrote :

Yes, I meant I found the bug because settings were not saved.
Thank you all.
Great software and great team.

Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.