Bug 342142 - KWin Crashes after Closing 'Special Application Settings' Dialog Box
Summary: KWin Crashes after Closing 'Special Application Settings' Dialog Box
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-12-22 22:36 UTC by Corey Bobco
Modified: 2015-01-05 15:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corey Bobco 2014-12-22 22:36:33 UTC
Application: kwin_x11 (5.1.2)

Qt Version: 5.3.2
Operating System: Linux 3.16.0-28-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
Right click on the title bar of an application and select "More Actions' --> 'Special Application Settings.' This will open a dialog box for tweaking KWin settings. Upon closing this dialog box with the window title bar's top-right X button, KWin crashes and restarts. 

On Kubuntu alpha with latest packages.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0b3449e800 (LWP 18237))]

Thread 5 (Thread 0x7f0b16131700 (LWP 18244)):
#0  0x00007f0b33e00283 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0b31ece121 in qt_safe_select (nfds=14, fdread=fdread@entry=0x7f0b08000a78, fdwrite=fdwrite@entry=0x7f0b08000d08, fdexcept=fdexcept@entry=0x7f0b08000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f0b31ece913 in QEventDispatcherUNIX::select (this=this@entry=0x7f0b080008c0, nfds=<optimized out>, readfds=readfds@entry=0x7f0b08000a78, writefds=writefds@entry=0x7f0b08000d08, exceptfds=exceptfds@entry=0x7f0b08000f98, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:328
#3  0x00007f0b31ecfd92 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f0b080008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:204
#4  0x00007f0b31ed0305 in QEventDispatcherUNIX::processEvents (this=0x7f0b080008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:615
#5  0x00007f0b31e78042 in QEventLoop::exec (this=this@entry=0x7f0b16130dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f0b31c38654 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:511
#7  0x00007f0b31c3d6ce in QThreadPrivate::start (arg=0x2624af0) at thread/qthread_unix.cpp:345
#8  0x00007f0b2a68c0a5 in start_thread (arg=0x7f0b16131700) at pthread_create.c:309
#9  0x00007f0b33e0890d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0b0d27a700 (LWP 18246)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0b0f901dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f0b0f901627 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f0b2a68c0a5 in start_thread (arg=0x7f0b0d27a700) at pthread_create.c:309
#4  0x00007f0b33e0890d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f0b07fff700 (LWP 18247)):
#0  0x00007f0b33e00283 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0b31ece121 in qt_safe_select (nfds=17, fdread=fdread@entry=0x7f0b00000a78, fdwrite=fdwrite@entry=0x7f0b00000d08, fdexcept=fdexcept@entry=0x7f0b00000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f0b31ece913 in QEventDispatcherUNIX::select (this=this@entry=0x7f0b000008c0, nfds=<optimized out>, readfds=readfds@entry=0x7f0b00000a78, writefds=writefds@entry=0x7f0b00000d08, exceptfds=exceptfds@entry=0x7f0b00000f98, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:328
#3  0x00007f0b31ecfd92 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f0b000008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:204
#4  0x00007f0b31ed0305 in QEventDispatcherUNIX::processEvents (this=0x7f0b000008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:615
#5  0x00007f0b31e78042 in QEventLoop::exec (this=this@entry=0x7f0b07ffedc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f0b31c38654 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:511
#7  0x00007f0b31c3d6ce in QThreadPrivate::start (arg=0x2e14990) at thread/qthread_unix.cpp:345
#8  0x00007f0b2a68c0a5 in start_thread (arg=0x7f0b07fff700) at pthread_create.c:309
#9  0x00007f0b33e0890d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0b06ffe700 (LWP 18248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0b301d2d34 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f0b301d2d79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f0b2a68c0a5 in start_thread (arg=0x7f0b06ffe700) at pthread_create.c:309
#4  0x00007f0b33e0890d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0b3449e800 (LWP 18237)):
[KCrash Handler]
#6  QOpenGLContext::shareGroup (this=this@entry=0x0) at kernel/qopenglcontext.cpp:956
#7  0x00007f0b326a75f0 in value<QOpenGLFunctionsPrivateEx> (context=0x0, this=0x7f0b32a14d00 <(anonymous namespace)::Q_QGS_qt_gl_functions_resource::innerFunction()::holder>) at ../../include/QtGui/5.3.2/QtGui/private/../../../../../src/gui/kernel/qopenglcontext_p.h:173
#8  qt_gl_functions (context=context@entry=0x0) at opengl/qopenglfunctions.cpp:203
#9  0x00007f0b326b372d in (anonymous namespace)::Resolver<QOpenGLFunctionsPrivate, void (*)(int, unsigned int const*), 3, void>::operator()<int, unsigned int const*> (this=this@entry=0x7fff21101db0, p1=p1@entry=1, p2=p2@entry=0x277cde8) at opengl/qopenglfunctions.cpp:2296
#10 0x00007f0b326b3a82 in qopenglfResolveDeleteRenderbuffers (n=1, renderbuffers=0x277cde8) at opengl/qopenglfunctions.cpp:2754
#11 0x00007f0b30625003 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f0b30625613 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f0b30625649 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007f0b30754f5e in QQuickShaderEffectTexture::~QQuickShaderEffectTexture() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007f0b30754f69 in QQuickShaderEffectTexture::~QQuickShaderEffectTexture() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f0b31eaaa48 in QObject::event (this=0x3a65040, e=<optimized out>) at kernel/qobject.cpp:1232
#17 0x00007f0b32b550ec in QApplicationPrivate::notify_helper (this=0x254f2b0, receiver=0x3a65040, e=0x28d6a20) at kernel/qapplication.cpp:3499
#18 0x00007f0b32b5a5c0 in QApplication::notify (this=0x7fff21102e50, receiver=0x3a65040, e=0x28d6a20) at kernel/qapplication.cpp:3282
#19 0x00007f0b31e7a8fb in QCoreApplication::notifyInternal (this=0x7fff21102e50, receiver=0x3a65040, event=event@entry=0x28d6a20) at kernel/qcoreapplication.cpp:935
#20 0x00007f0b31e7c8f3 in sendEvent (event=0x28d6a20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x2539290) at kernel/qcoreapplication.cpp:1539
#22 0x00007f0b30670ab1 in QQuickWindow::~QQuickWindow() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007f0b30670bb9 in QQuickWindow::~QQuickWindow() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#24 0x00007f0b3145ab2f in cleanup (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:62
#25 ~QScopedPointer (this=0x2b34030, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:109
#26 ~KDecorationPrivate (this=0x2b34010, __in_chrg=<optimized out>) at ../../libkdecorations/kdecoration.cpp:56
#27 KDecoration::~KDecoration (this=0x2a959f0, __in_chrg=<optimized out>) at ../../libkdecorations/kdecoration.cpp:87
#28 0x00007f0b1613df49 in Aurorae::AuroraeClient::~AuroraeClient (this=0x2a959f0, __in_chrg=<optimized out>) at ../../../../clients/aurorae/src/aurorae.cpp:300
#29 0x00007f0b33959a42 in KWin::Client::destroyDecoration (this=this@entry=0x2a86060) at ../client.cpp:579
#30 0x00007f0b3395a8c5 in KWin::Client::updateDecoration (this=0x2a86060, check_workspace_pos=<optimized out>, force=<optimized out>) at ../client.cpp:512
#31 0x00007f0b33982281 in operator() (__args#0=<optimized out>, this=0x7fff21102330) at /usr/include/c++/4.9/functional:2439
#32 std::for_each<QList<KWin::Client*>::const_iterator, std::function<void (KWin::Client*)> >(QList<KWin::Client*>::const_iterator, QList<KWin::Client*>::const_iterator, std::function<void (KWin::Client*)>) (__first=..., __last=..., __f=...) at /usr/include/c++/4.9/bits/stl_algo.h:3755
#33 0x00007f0b33981f05 in forEachClient (func=..., this=0x261f340) at ../workspace.h:704
#34 KWin::DecorationPlugin::recreateDecorations (this=0x261e160) at ../decorations.cpp:174
#35 0x00007f0b31ea960e in call (a=0x7fff21102430, r=0x261e160, this=0x25bc460) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:132
#36 QMetaObject::activate (sender=sender@entry=0x2624240, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3667
#37 0x00007f0b31ea9f77 in QMetaObject::activate (sender=sender@entry=0x2624240, m=m@entry=0x7f0b31670aa0 <KDecorationFactory::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#38 0x00007f0b31466f70 in KDecorationFactory::recreateDecorations (this=this@entry=0x2624240) at moc_kdecorationfactory.cpp:125
#39 0x00007f0b1613dca0 in Aurorae::AuroraeFactory::updateConfiguration (this=0x2624240) at ../../../../clients/aurorae/src/aurorae.cpp:221
#40 0x00007f0b31ea960e in call (a=0x7fff21102640, r=0x2624240, this=0x2705350) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:132
#41 QMetaObject::activate (sender=0x261f840, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x0) at kernel/qobject.cpp:3667
#42 0x00007f0b31ea9f77 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f0b31670b20 <KDecorationOptions::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#43 0x00007f0b31466953 in KDecorationOptions::configChanged (this=<optimized out>) at moc_kdecoration.cpp:333
#44 0x00007f0b3397e26e in KWin::Options::updateSettings (this=<optimized out>) at ../options.cpp:810
#45 0x00007f0b3394b745 in KWin::Workspace::slotReconfigure (this=0x261f340) at ../workspace.cpp:780
#46 0x00007f0b33a7cd2e in KWin::Workspace::qt_static_metacall (_o=0x0, _c=QMetaObject::InvokeMetaMethod, _id=877261072, _a=0x28b49d8) at moc_workspace.cpp:472
#47 0x00007f0b31ea9b0d in QMetaObject::activate (sender=sender@entry=0x261f450, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3681
#48 0x00007f0b31ea9f77 in QMetaObject::activate (sender=sender@entry=0x261f450, m=m@entry=0x7f0b322d87c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#49 0x00007f0b31f297d0 in QTimer::timeout (this=this@entry=0x261f450) at .moc/moc_qtimer.cpp:191
#50 0x00007f0b31eb7588 in QTimer::timerEvent (this=0x261f450, e=<optimized out>) at kernel/qtimer.cpp:255
#51 0x00007f0b31eaa9c3 in QObject::event (this=0x261f450, e=<optimized out>) at kernel/qobject.cpp:1263
#52 0x00007f0b32b550ec in QApplicationPrivate::notify_helper (this=0x254f2b0, receiver=0x261f450, e=0x7fff21102c10) at kernel/qapplication.cpp:3499
#53 0x00007f0b32b5a5c0 in QApplication::notify (this=0x7fff21102e50, receiver=0x261f450, e=0x7fff21102c10) at kernel/qapplication.cpp:3282
#54 0x00007f0b31e7a8fb in QCoreApplication::notifyInternal (this=0x7fff21102e50, receiver=0x261f450, event=event@entry=0x7fff21102c10) at kernel/qcoreapplication.cpp:935
#55 0x00007f0b31ed1b75 in sendEvent (event=0x7fff21102c10, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#56 QTimerInfoList::activateTimers (this=0x258b318) at kernel/qtimerinfo_unix.cpp:643
#57 0x00007f0b31ecf780 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x257d410) at kernel/qeventdispatcher_unix.cpp:557
#58 0x00007f0b31ed02d3 in QEventDispatcherUNIX::processEvents (this=0x257d410, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:619
#59 0x00007f0b1e34e55d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:70
#60 0x00007f0b31e78042 in QEventLoop::exec (this=this@entry=0x7fff21102d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#61 0x00007f0b31e7fc8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#62 0x00007f0b323b974c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1486
#63 0x00007f0b32b536f5 in QApplication::exec () at kernel/qapplication.cpp:2744
#64 0x00007f0b340d7913 in kdemain (argc=3, argv=0x7fff21102fa8) at ../main_x11.cpp:294
#65 0x00007f0b33d2fec5 in __libc_start_main (main=0x4007d0 <main(int, char**)>, argc=3, argv=0x7fff21102fa8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff21102f98) at libc-start.c:287
#66 0x00000000004007fe in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2015-01-05 15:25:23 UTC
This issue should be fixed with either kdecoration2 and/or Qt 5.4.