Bug 329698 - kwin crashed when Re-enable OpenGL detection button is pressed
Summary: kwin crashed when Re-enable OpenGL detection button is pressed
Status: RESOLVED DUPLICATE of bug 314602
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-07 21:33 UTC by Liviu Petcu
Modified: 2014-01-07 21:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Petcu 2014-01-07 21:33:38 UTC
Application: kwin (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
After marked "I have saved my data" field in kwin, I pressed "Re-enable OpenGL detection button" and attached error was generated.
The KDE is running on Ubuntu 13.10 and video adapter is AMD Radeon HD  8670M with 1 GB Dedicated VRAM.
I think I have now the minimum functionalities of video adapter in place. Catalyst Control Center is not working.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa6eba08c0e in glXGetFBConfigs () from /usr/lib/fglrx/libGL.so.1
#7  0x00007fa6eba0988a in ?? () from /usr/lib/fglrx/libGL.so.1
#8  0x00007fa6eba09ae9 in glXChooseFBConfigSGIX () from /usr/lib/fglrx/libGL.so.1
#9  0x00007fa6f0eb94c5 in KWin::GlxBackend::initDrawableConfigs (this=this@entry=0xd648e0) at ../../kwin/glxbackend.cpp:302
#10 0x00007fa6f0eba201 in KWin::GlxBackend::init (this=0xd648e0) at ../../kwin/glxbackend.cpp:85
#11 0x00007fa6f0eb525c in KWin::SceneOpenGL::createScene () at ../../kwin/scene_opengl.cpp:199
#12 0x00007fa6f0e9a195 in KWin::Compositor::slotCompositingOptionsInitialized (this=this@entry=0xa22430) at ../../kwin/composite.cpp:202
#13 0x00007fa6f0e9a51d in KWin::Compositor::setup (this=0xa22430) at ../../kwin/composite.cpp:161
#14 0x00007fa6f0e9a8c5 in setup (this=0xa22430) at ../../kwin/composite.cpp:403
#15 KWin::Compositor::slotConfigChanged (this=0xa22430) at ../../kwin/composite.cpp:398
#16 0x00007fa6f0e217f5 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_composite.cpp:200
#17 0x00007fa6eaf40a58 in QMetaObject::activate (sender=sender@entry=0x9dacb0, m=m@entry=0x7fa6f116af60 <KWin::Workspace::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007fa6f0e3251f in configChanged (this=0x9dacb0) at ./workspace.moc:416
#19 KWin::Workspace::slotReconfigure (this=0x9dacb0) at ../../kwin/workspace.cpp:798
#20 0x00007fa6f0e32b2d in KWin::Workspace::qt_static_metacall (_o=0x9dacb0, _id=1, _a=0xd63990, _c=<optimized out>) at ./workspace.moc:272
#21 0x00007fa6eaf40a58 in QMetaObject::activate (sender=0x9dade0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#22 0x00007fa6eaf44be1 in QObject::event (this=0x9dade0, e=<optimized out>) at kernel/qobject.cpp:1156
#23 0x00007fa6ea2c9dfc in QApplicationPrivate::notify_helper (this=this@entry=0x860b70, receiver=receiver@entry=0x9dade0, e=e@entry=0x7fffe3b52680) at kernel/qapplication.cpp:4567
#24 0x00007fa6ea2d0470 in QApplication::notify (this=this@entry=0x7fffe3b52b50, receiver=receiver@entry=0x9dade0, e=e@entry=0x7fffe3b52680) at kernel/qapplication.cpp:4353
#25 0x00007fa6ef74fa6a in KApplication::notify (this=0x7fffe3b52b50, receiver=0x9dade0, event=0x7fffe3b52680) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fa6eaf2c8bd in QCoreApplication::notifyInternal (this=0x7fffe3b52b50, receiver=0x9dade0, event=0x7fffe3b52680) at kernel/qcoreapplication.cpp:946
#27 0x00007fa6eaf5c403 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QTimerInfoList::activateTimers (this=0x8617e8) at kernel/qeventdispatcher_unix.cpp:622
#29 0x00007fa6eaf5c480 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x860b00) at kernel/qeventdispatcher_unix.cpp:879
#30 0x00007fa6eaf5cd90 in QEventDispatcherUNIX::processEvents (this=this@entry=0x860b00, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#31 0x00007fa6ea36c2f6 in QEventDispatcherX11::processEvents (this=0x860b00, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#32 0x00007fa6eaf2b5ef in QEventLoop::processEvents (this=this@entry=0x7fffe3b529c0, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fa6eaf2b8e5 in QEventLoop::exec (this=this@entry=0x7fffe3b529c0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fa6eaf30e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007fa6ea2c834c in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x00007fa6f0e52956 in kdemain (argc=3, argv=0x7fffe3b52c98) at ../../kwin/main.cpp:597
#37 0x00007fa6f0a30de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fffe3b52c98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe3b52c88) at libc-start.c:260
#38 0x00000000004006fe in _start ()

Possible duplicates by query: bug 329443, bug 327028, bug 325545, bug 324896, bug 314602.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-01-07 21:37:56 UTC
Your GL installation is broken, the loaded GL library is from fglrx (catalyst) but apparently your loading some other (vesa, radeon) driver. Since the fglrx libGL is incompatible with the mesa one, each and every OpenGL application will crash.

Check the contents of /var/log/Xorg.0.log about what X11 driver is loaded and why.
Running "sudo aticonfig --initial -f" *might* fix the setup (towards using fglrx)

*** This bug has been marked as a duplicate of bug 314602 ***