Bug 346269

Summary: Crash when using aurorae decoration
Product: [Plasma] kwin Reporter: Børre Gaup <albbas>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Børre Gaup 2015-04-16 16:25:31 UTC
Application: systemsettings5 (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-14-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Chose Application Style->Window Decorations
Fetched aurorae window decorations from the GHNS plugin and chose the air-oxygen decoration. The view stopped responding and after a short while systemsettings5 crashed.

This happens every time I start up systemsettings5 and open Window Decorations.

This is the output when I start systemsettings5 from the command line and choose Application Style->Window Decorations

kf5.kiconthemes: "Theme tree: (Oxygen)"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/boerre/.cache/ksycoca5"
Plugin changed to:  "org.kde.breeze"
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.
Factory:  true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
file:///usr/share/kwin/kcm_kwindecoration/Previews.qml:34:20: Unable to assign [undefined] to QColor
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:41:16: Unable to assign [undefined] to QColor
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:53:24: Unable to assign [undefined] to QColor
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:145: ReferenceError: iconLabel is not defined
file:///usr/share/kwin/kcm_kwindecoration/Buttons.qml:193:24: Unable to assign [undefined] to QColor
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.
Plugin changed to:  "org.kde.breeze"
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.        
Factory:  true                                                                   
Setting  width : -8                                                              
Setting  height : -29                                                            
Setting  width : -34                                                             
Setting  height : -55                                                            
Setting  width : -8                                                              
Setting  height : -29                                                            
Setting  width : -34                                                             
Setting  height : -55                                                            
Setting  height : 145                                                            
Setting  height : 145                                                            
Setting  caption : "org.kde.breeze"                                              
Setting  width : -58                                                             
Setting  height : 115                                                            
Setting  height : 121                                                            
Setting  caption : "org.kde.breeze"                                              
Setting  active : false                                                          
Setting  width : -64                                                             
Setting  width : -58
Setting  height : 121
Plugin changed to:  "org.kde.kwin.aurorae"
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.
Factory:  true
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
aurorae: No button for:  "keepabove"
aurorae: No button for:  "keepbelow"
aurorae: No button for:  "shade"
aurorae: No button for:  "help"
Setting  width : -8
Setting  height : -26
Setting  width : -26
Setting  height : -43
aurorae: No button for:  "keepabove"
aurorae: No button for:  "keepbelow"
aurorae: No button for:  "shade"
aurorae: No button for:  "help"
Setting  width : -8
Setting  height : -26
Setting  width : -26
Setting  height : -43
Setting  height : 157
Setting  height : 157
Setting  caption : "air-oxygen"
Setting  width : -27
Setting  width : -58
Setting  height : 125
Setting  height : 124
Setting  caption : "air-oxygen"
Setting  active : false
Setting  width : -57
Setting  width : -58
Setting  height : 155
Setting  height : 124
Setting  width : 450
Setting  width : 450
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Setting  active : false
Setting  providesContextHelp : true
Plugin changed to:  "org.kde.kwin.aurorae"
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so" instead of kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of kservice_desktop_to_json() in your CMake code.
Factory:  true
aurorae: No button for:  "alldesktops"
aurorae: No button for:  "keepabove"
aurorae: No button for:  "keepbelow"
aurorae: No button for:  "shade"
aurorae: No button for:  "help"
Setting  height : -23
Setting  width : -18
Setting  height : -41
aurorae: No button for:  "alldesktops"
aurorae: No button for:  "keepabove"
aurorae: No button for:  "keepbelow"
aurorae: No button for:  "shade"
aurorae: No button for:  "help"
Setting  height : -23
Setting  width : -18
Setting  height : -41
Setting  width : 490
Setting  height : 159
Setting  width : 490
Setting  height : 159
Setting  caption : "airglass-black"
Setting  width : 489
Setting  width : 458
Setting  height : 128
Setting  height : 127
Setting  caption : "airglass-black"
Setting  active : false
Setting  width : 459
Setting  width : 458
Setting  height : 158
Setting  height : 127
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings5 path = /usr/bin pid = 7054
KCrash: Arguments: /usr/bin/systemsettings5 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1002/kdeinit5__0

The crash can be reproduced every time.

-- Backtrace:
Application: Vuogádatheivehus (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4824c87780 (LWP 6794))]

Thread 5 (Thread 0x7f4812230700 (LWP 6795)):
#0  0x00007f48213f88dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f481f712b72 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f481f71464f in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4814ff1099 in QXcbEventReader::run() (this=0x208da70) at qxcbconnection.cpp:1105
#4  0x00007f4821a79b0e in QThreadPrivate::start(void*) (arg=0x208da70) at thread/qthread_unix.cpp:337
#5  0x00007f481e62c6aa in start_thread (arg=0x7f4812230700) at pthread_create.c:333
#6  0x00007f4821403eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4802ad0700 (LWP 6872)):
#0  0x00007ffef9e53c58 in clock_gettime ()
#1  0x00007f482141238d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f4821b2fcb6 in qt_gettime() (ts=0x7f4802acfb80, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f4821b2fcb6 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  0x00007f4821b2fcb6 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f4821d0e639 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f47fc002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f4821d0eba5 in QTimerInfoList::timerWait(timespec&) (this=0x7f47fc002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f4821d1003e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f4802acfc54, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f4821d1003e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f4802acfc54) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f481e10d3fd in g_main_context_prepare (context=context@entry=0x7f47fc000990, priority=priority@entry=0x7f4802acfce0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3410
#10 0x00007f481e10dde8 in g_main_context_iterate (context=context@entry=0x7f47fc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3788
#11 0x00007f481e10dfcc in g_main_context_iteration (context=0x7f47fc000990, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#12 0x00007f4821d10c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f47fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#13 0x00007f4821cb53e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4802acfe20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f4821a74b44 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f4820a3ff45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007f4821a79b0e in QThreadPrivate::start(void*) (arg=0x2809820) at thread/qthread_unix.cpp:337
#17 0x00007f481e62c6aa in start_thread (arg=0x7f4802ad0700) at pthread_create.c:333
#18 0x00007f4821403eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f47fb0d6700 (LWP 6873)):
#0  0x00007f481e152789 in g_mutex_lock (mutex=mutex@entry=0x7f47f4000990) at /build/buildd/glib2.0-2.44.0/./glib/gthread-posix.c:1342
#1  0x00007f481e10d2d7 in g_main_context_prepare (context=context@entry=0x7f47f4000990, priority=priority@entry=0x7f47fb0d5ce0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3350
#2  0x00007f481e10dde8 in g_main_context_iterate (context=context@entry=0x7f47f4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3788
#3  0x00007f481e10dfcc in g_main_context_iteration (context=0x7f47f4000990, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#4  0x00007f4821d10c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f47f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007f4821cb53e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f47fb0d5e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f4821a74b44 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f4820a3ff45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f4821a79b0e in QThreadPrivate::start(void*) (arg=0x2be8090) at thread/qthread_unix.cpp:337
#9  0x00007f481e62c6aa in start_thread (arg=0x7f47fb0d6700) at pthread_create.c:333
#10 0x00007f4821403eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f47f8df5700 (LWP 6874)):
#0  0x00007f481e631da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4821a7ac6b in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x2f4d0e0) at thread/qwaitcondition_unix.cpp:128
#2  0x00007f4821a7ac6b in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x2e82e90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007f48204ebfab in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f48204ec3a0 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f4821a79b0e in QThreadPrivate::start(void*) (arg=0x2e82e10) at thread/qthread_unix.cpp:337
#6  0x00007f481e62c6aa in start_thread (arg=0x7f47f8df5700) at pthread_create.c:333
#7  0x00007f4821403eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4824c87780 (LWP 6794)):
[KCrash Handler]
#6  0x00007f480330e6b7 in KDecoration2::Decoration::update(QRect const&) () at /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#7  0x00007f480330e75b in KDecoration2::Decoration::update() () at /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#8  0x00007f47fb393370 in Breeze::Decoration::setOpacity(double) (this=this@entry=0x2b62730, value=<optimized out>) at ../../kdecoration/breezedecoration.cpp:92
#9  0x00007f47fb3b37a8 in Breeze::Decoration::qt_metacall(QMetaObject::Call, int, void**) (this=0x2b62730, _c=QMetaObject::WriteProperty, _id=0, _a=0x7ffef9dfde80) at moc_breezedecoration.cpp:146
#10 0x00007f4821a5a5ca in QPropertyAnimation::updateCurrentValue(QVariant const&) (newValue=..., this=0x2b864b0) at animation/qpropertyanimation.cpp:135
#11 0x00007f4821a5a5ca in QPropertyAnimation::updateCurrentValue(QVariant const&) (this=<optimized out>, value=...) at animation/qpropertyanimation.cpp:242
#12 0x00007f4821a55f48 in QVariantAnimationPrivate::setCurrentValueForProgress(double) (this=this@entry=0x2b864b0, progress=progress@entry=0.96444444444444444) at animation/qvariantanimation.cpp:290
#13 0x00007f4821a56d1b in QVariantAnimation::updateCurrentTime(int) (force=false, this=0x2b864b0) at animation/qvariantanimation.cpp:275
#14 0x00007f4821a56d1b in QVariantAnimation::updateCurrentTime(int) (this=<optimized out>) at animation/qvariantanimation.cpp:693
#15 0x00007f4821a52baf in QAbstractAnimation::setCurrentTime(int) (this=0x2b8e6a0, msecs=130) at animation/qabstractanimation.cpp:1321
#16 0x00007f4821a52e96 in QUnifiedTimer::updateAnimationTimers(long long) (delta=20, this=0x22e2f20) at animation/qabstractanimation.cpp:606
#17 0x00007f4821a52e96 in QUnifiedTimer::updateAnimationTimers(long long) (this=0x2377000) at animation/qabstractanimation.cpp:323
#18 0x00007f4821a537dc in QAnimationDriver::advanceAnimation(long long) (this=<optimized out>, timeStep=-1) at animation/qabstractanimation.cpp:820
#19 0x00007f48204d01ee in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007f48204ee68a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007f48204f0a8b in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007f48204f130a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007f48224ef7b5 in QWindow::event(QEvent*) (this=0x271a870, ev=<optimized out>) at kernel/qwindow.cpp:2051
#24 0x00007f4820522dd3 in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#25 0x00007f4822aa3b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x2060550, receiver=0x271a870, e=0x7ffef9dfe5e0) at kernel/qapplication.cpp:3720
#26 0x00007f4822aa9000 in QApplication::notify(QObject*, QEvent*) (this=0x7ffef9dfe9e0, receiver=0x271a870, e=0x7ffef9dfe5e0) at kernel/qapplication.cpp:3503
#27 0x00007f4821cb7c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffef9dfe9e0, receiver=receiver@entry=0x271a870, event=event@entry=0x7ffef9dfe5e0) at kernel/qcoreapplication.cpp:935
#28 0x00007f48224e7e86 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (event=0x7ffef9dfe5e0, receiver=0x271a870) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 0x00007f48224e7e86 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x22f37e0) at kernel/qguiapplication.cpp:2613
#30 0x00007f48224e8bbd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x22f37e0) at kernel/qguiapplication.cpp:1638
#31 0x00007f48224cd34f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:572
#32 0x00007f481501b590 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#33 0x00007f481e10dc3d in g_main_context_dispatch (context=0x7f480c001710) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
#34 0x00007f481e10dc3d in g_main_context_dispatch (context=context@entry=0x7f480c001710) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
#35 0x00007f481e10df20 in g_main_context_iterate (context=context@entry=0x7f480c001710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
#36 0x00007f481e10dfcc in g_main_context_iteration (context=0x7f480c001710, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#37 0x00007f4821d10c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x20f02a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#38 0x00007f4821cb53e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffef9dfe8c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#39 0x00007f4821cbd02c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#40 0x00007f48224de31c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1510
#41 0x00007f4822a9f7a5 in QApplication::exec() () at kernel/qapplication.cpp:2956
#42 0x000000000040eebc in main(int, char**) (argc=1, argv=<optimized out>) at ../../app/main.cpp:54

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-04-16 20:05:23 UTC

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