Bug 275431 - [OpenGL] KStars startup crash
Summary: [OpenGL] KStars startup crash
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
: 280662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-11 22:26 UTC by director84
Modified: 2011-08-25 14:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description director84 2011-06-11 22:26:45 UTC
Application: kstars (2.0.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I tried to launch KStars from the KDE4 Kickoff Starter. It crashed right after clicking the launch icon. It was the first launch of the application, I had just installed it before.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f007e7d4dce in XF86DRIQueryVersion () from /usr/lib/fglrx/libGL.so.1
#7  0x00007f007e7d4f69 in XF86DRIQueryExtension () from /usr/lib/fglrx/libGL.so.1
#8  0x00007f007e7d487c in ?? () from /usr/lib/fglrx/libGL.so.1
#9  0x00007f007e7af78f in ?? () from /usr/lib/fglrx/libGL.so.1
#10 0x00007f007e7abc31 in ?? () from /usr/lib/fglrx/libGL.so.1
#11 0x00007f007e7abe4e in glXChooseVisual () from /usr/lib/fglrx/libGL.so.1
#12 0x00007f007e520014 in QGLTemporaryContext::QGLTemporaryContext (this=0x7fff0141ab40) at qgl_x11.cpp:1243
#13 0x00007f007e4b0edb in QGLDefaultExtensions () at qgl.cpp:5346
#14 qtDefaultExtensions () at qgl.cpp:5353
#15 QGLExtensions::glExtensions () at qgl.cpp:5369
#16 0x00007f007e51d5f1 in QGLContext::chooseVisual (this=0x34e0aa0) at qgl_x11.cpp:773
#17 0x00007f007e5201e9 in QGLContext::chooseContext (this=<value optimized out>, shareContext=0x0) at qgl_x11.cpp:571
#18 0x00007f007e4b458c in QGLContext::create (this=<value optimized out>, shareContext=0x0) at qgl.cpp:3310
#19 0x00007f007e51fb27 in QGLWidget::setContext (this=0x38dbe80, context=<value optimized out>, shareContext=<value optimized out>, deleteOldContext=true) at qgl_x11.cpp:1513
#20 0x00007f007e4b48ca in QGLWidgetPrivate::initContext (this=0x38dec70, context=0x34e0aa0, shareWidget=0x0) at qgl.cpp:5392
#21 0x00007f007e51e5da in QGLWidgetPrivate::init (this=<value optimized out>, context=0x34e0aa0, shareWidget=0x0) at qgl_x11.cpp:1354
#22 0x00007f007e4af916 in QGLWidget::QGLWidget (this=0x38dbe80, context=0x34e0aa0, parent=0x388e970, shareWidget=0x0, f=<value optimized out>) at qgl.cpp:3764
#23 0x0000000000581660 in SkyMapGLDraw::SkyMapGLDraw (this=0x38dbe80, sm=0x388e970) at ../../../kstars/kstars/skymapgldraw.cpp:24
#24 0x000000000056912d in SkyMap::SkyMap (this=0x388e970) at ../../../kstars/kstars/skymap.cpp:231
#25 0x00000000005692e8 in SkyMap::Create () at ../../../kstars/kstars/skymap.cpp:140
#26 0x0000000000559833 in KStars::buildGUI (this=0x22d28d0) at ../../../kstars/kstars/kstarsinit.cpp:666
#27 0x0000000000559a41 in KStars::datainitFinished (this=0x22d28d0) at ../../../kstars/kstars/kstarsinit.cpp:524
#28 0x0000000000533bd0 in KStars::KStars (this=0x22d28d0, doSplash=<value optimized out>, clockrun=<value optimized out>, startdate=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kstars/kstars/kstars.cpp:109
#29 0x0000000000533d65 in KStars::createInstance (doSplash=true, clockrun=true, startdate=...) at ../../../kstars/kstars/kstars.cpp:124
#30 0x000000000055f205 in main (argc=5, argv=<value optimized out>) at ../../../kstars/kstars/main.cpp:188

Reported using DrKonqi
Comment 1 Alexey Khudiakov 2011-06-12 17:38:02 UTC
Obviously this is an OpenGL issue. Could you tell what what videocard and which drivers do you use?

Does glxgears program runs normally?
Comment 2 Christoph Feck 2011-06-21 14:08:41 UTC
A search for "XF86DRIQueryExtension crash" reveals that this is a common error caused by an invalid ATI driver installation.

To fix the installation, run "sudo aticonfig -f --initial" and reboot.

https://bugs.launchpad.net/unity/+bug/747286/comments/5
Comment 3 Christoph Feck 2011-08-25 14:22:48 UTC
*** Bug 280662 has been marked as a duplicate of this bug. ***