Bug 323298 - KWin crashes on enabling opengl compositing
Summary: KWin crashes on enabling opengl compositing
Status: RESOLVED DUPLICATE of bug 229796
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-08 19:49 UTC by mchugh19@yahoo.com
Modified: 2013-08-08 22:17 UTC (History)
0 users

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 mchugh19@yahoo.com 2013-08-08 19:49:03 UTC
Application: kwin (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.5.0-27-generic x86_64
Distribution: Ubuntu 13.04

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

Activated open-gl compositing by selecting the "Re-enable OpenGL detection" button.

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".
[Current thread is 1 (Thread 0x7f041eaf07c0 (LWP 2716))]

Thread 2 (Thread 0x7f0401583700 (LWP 2728)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f041abf8e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f041abf8ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0411f28f8e in start_thread (arg=0x7f0401583700) at pthread_create.c:311
#4  0x00007f041e306e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f041eaf07c0 (LWP 2716)):
[KCrash Handler]
#6  xcb_glx_query_server_string_string_length (R=R@entry=0x0) at glx.c:2445
#7  0x00007f041a1eb4d4 in __glXQueryServerString (dpy=dpy@entry=0x122ee70, opcode=<optimized out>, screen=screen@entry=0, name=name@entry=2) at glx_query.c:55
#8  0x00007f041a1caa72 in AllocAndFetchScreenConfigs (priv=0x19bcfd0, dpy=0x122ee70) at glxext.c:744
#9  __glXInitialize (dpy=0x122ee70) at glxext.c:859
#10 __glXInitialize (dpy=0x122ee70) at glxext.c:777
#11 0x00007f041a1c6979 in glXQueryVersion (dpy=<optimized out>, major=0x7fff2d4c1e88, minor=0x7fff2d4c1e8c) at glxcmds.c:436
#12 0x00007f041a419f2c in KWin::initGLX () at ../../../kwin/libkwineffects/kwinglutils.cpp:75
#13 0x00007f041e6a28bd in KWin::GlxBackend::init (this=0x19ba030) at ../../kwin/glxbackend.cpp:82
#14 0x00007f041e69c437 in KWin::SceneOpenGL::createScene () at ../../kwin/scene_opengl.cpp:224
#15 0x00007f041e687105 in KWin::Compositor::slotCompositingOptionsInitialized (this=this@entry=0x134d4c0) at ../../kwin/composite.cpp:206
#16 0x00007f041e687533 in setup (this=0x134d4c0) at ../../kwin/composite.cpp:171
#17 KWin::Compositor::setup (this=0x134d4c0) at ../../kwin/composite.cpp:143
#18 0x00007f041e687def in KWin::Compositor::slotConfigChanged (this=0x134d4c0) at ../../kwin/composite.cpp:371
#19 0x00007f04197290ef in QMetaObject::activate (sender=sender@entry=0x12fedd0, m=m@entry=0x7f041e918780 <KWin::Workspace::staticMetaObject>, local_signal_index=local_signal_index@entry=13, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#20 0x00007f041e614ac3 in KWin::Workspace::configChanged (this=this@entry=0x12fedd0) at ./workspace.moc:487
#21 0x00007f041e61d05a in KWin::Workspace::slotReconfigure (this=0x12fedd0) at ../../kwin/workspace.cpp:1022
#22 0x00007f041e61dcea in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./workspace.moc:318
#23 KWin::Workspace::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./workspace.moc:234
#24 0x00007f04197290ef in QMetaObject::activate (sender=0x12ff0a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#25 0x00007f041972e3ec in QObject::event (this=0x12ff0a0, e=<optimized out>) at kernel/qobject.cpp:1156
#26 0x00007f0418aba8ec in QApplicationPrivate::notify_helper (this=this@entry=0x12060f0, receiver=receiver@entry=0x12ff0a0, e=e@entry=0x7fff2d4c2c20) at kernel/qapplication.cpp:4567
#27 0x00007f0418abd25b in QApplication::notify (this=this@entry=0x7fff2d4c3260, receiver=receiver@entry=0x12ff0a0, e=e@entry=0x7fff2d4c2c20) at kernel/qapplication.cpp:4428
#28 0x00007f041ddf31a6 in KApplication::notify (this=0x7fff2d4c3260, receiver=0x12ff0a0, event=0x7fff2d4c2c20) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f041971463e in QCoreApplication::notifyInternal (this=0x7fff2d4c3260, receiver=0x12ff0a0, event=event@entry=0x7fff2d4c2c20) at kernel/qcoreapplication.cpp:946
#30 0x00007f0419745b72 in sendEvent (event=0x7fff2d4c2c20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=0x1206c38) at kernel/qeventdispatcher_unix.cpp:622
#32 0x00007f0419745bd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x11abad0) at kernel/qeventdispatcher_unix.cpp:879
#33 0x00007f0419745d28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x11abad0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#34 0x00007f0418b60b9f in QEventDispatcherX11::processEvents (this=0x11abad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#35 0x00007f041971338f in QEventLoop::processEvents (this=this@entry=0x7fff2d4c2f70, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f0419713618 in QEventLoop::exec (this=this@entry=0x7fff2d4c2f70, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f0419718cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#38 0x00007f0418ab8ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#39 0x00007f041e63cf0a in kdemain (argc=3, argv=0x7fff2d4c33a8) at ../../kwin/main.cpp:537
#40 0x00007f041e22eea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff2d4c33a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2d4c3398) at libc-start.c:260
#41 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 305718.

Possible duplicates by query: bug 306361, bug 229796.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-08-08 20:04:24 UTC
fglrx, ie. Catalyst driver?

What's the output of "glxinfo"?
Comment 2 mchugh19@yahoo.com 2013-08-08 22:13:40 UTC
(In reply to comment #1)
> fglrx, ie. Catalyst driver?
> 
> What's the output of "glxinfo"?

That's a great question!
$ glxinfo 
name of display: :0
Segmentation fault (core dumped)


Guessing I'll have to attempt another catalyst install ;)
Comment 3 Thomas Lübking 2013-08-08 22:17:20 UTC
check /var/log/Xorg.0.log about which driver is loaded and whether there were errors on loading GLX.
In doubt "sudo aticonfig --initial" might solve the installation issues.

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