Stell. crashes when run inside vnc (xrdp)

Bug #1194838 reported by Tomasz Buchert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Alexander Wolf

Bug Description

I relay this bug from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709303

To reproduce (assumes Debian/Ubuntu):
   1) Install xrdp and rdesktop
   2) rdesktop localhost (and login)
   3) Launch stellarium in a console

Simply: the problem is that when you run Stellarium in GL-uncapable X (e.g., using rdesktop with xrdp),
it will show information about missing GL2 support ("This system does not support OpenGL."),
then will try to fallback to OpenGL 1, and then will crash.

My output from 0.12.1:

Using default graphics system specified at build time: raster
 -------------------------------------------------------
[ This is Stellarium 0.12.1 - http://www.stellarium.org ]
[ Copyright (C) 2000-2013 Fabien Chereau et al ]
 -------------------------------------------------------
Writing log file to: "/home/toma/.stellarium/log.txt"
File search paths:
  0 . "/home/toma/.stellarium"
  1 . "/usr/share/stellarium"
Attempting to use an existing older config file.
Config file is: "/home/toma/.stellarium/config.ini"
Going to initialize the OpenGL 2 renderer
QGLContext::makeCurrent(): Cannot make invalid context current.
StelQGL2Renderer::init : StelQGL2Renderer needs OpenGL 2.1 or OpenGL ES 2.0
Failed to initialize the OpenGL 2 renderer, falling back to the OpenGL 1 renderer
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
GL vendor is ""
GL renderer is ""
QGLTempContext: No GL capable X visuals available.
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.

[1] 7757 segmentation fault stellarium

Cheers,
Tomasz

Related branches

Revision history for this message
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 6093 of the trunk branch in Stellarium's Bazaar repository at Launchpad:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/6093

Changed in stellarium:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Alexander Wolf (alexwolf)
milestone: none → 0.12.2
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

Remote bug watches

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