Bug 350847

Summary: KDE Control Module crashes when showing a preview of a window decoration
Product: [I don't know] kde Reporter: m8r-ird881
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m8r-ird881 2015-08-01 05:17:55 UTC
Application: kdeinit5 (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-25-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
With this window decoration installed https://opendesktop.org/content/show.php?content=108333
Opened "Window Manager Settings" through the "More Actions" menu after right clicking a window.
In the list of available window decorations, scrolled down so that decoration comes into view.
The program crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdd9371f780 (LWP 1929))]

Thread 6 (Thread 0x7fdd7fadf700 (LWP 1930)):
#0  0x00007fdd91df38dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdd90379b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fdd9037b64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fdd83e0b099 in QXcbEventReader::run (this=0x1b849d0) at qxcbconnection.cpp:1105
#4  0x00007fdd9216bb0e in QThreadPrivate::start (arg=0x1b849d0) at thread/qthread_unix.cpp:337
#5  0x00007fdd8fabf6aa in start_thread (arg=0x7fdd7fadf700) at pthread_create.c:333
#6  0x00007fdd91dfeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fdd73035700 (LWP 1931)):
#0  0x00007fdd91df38dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdd8f059ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdd8f059fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdd92402c6c in QEventDispatcherGlib::processEvents (this=0x7fdd6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007fdd923a73e2 in QEventLoop::exec (this=this@entry=0x7fdd73034e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdd92166b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fdd84781f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fdd9216bb0e in QThreadPrivate::start (arg=0x1cf38a0) at thread/qthread_unix.cpp:337
#8  0x00007fdd8fabf6aa in start_thread (arg=0x7fdd73035700) at pthread_create.c:333
#9  0x00007fdd91dfeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fdd6a93f700 (LWP 1932)):
#0  0x00007fdd92400b92 in QTimerInfoList::timerWait (this=0x7fdd64002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:378
#1  0x00007fdd9240203e in timerSourcePrepareHelper (timeout=0x7fdd6a93ec54, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#2  timerSourcePrepare (source=<optimized out>, timeout=0x7fdd6a93ec54) at kernel/qeventdispatcher_glib.cpp:160
#3  0x00007fdd8f0593fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdd8f059de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdd8f059fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fdd92402c6c in QEventDispatcherGlib::processEvents (this=0x7fdd640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007fdd923a73e2 in QEventLoop::exec (this=this@entry=0x7fdd6a93ee20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007fdd92166b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007fdd84781f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fdd9216bb0e in QThreadPrivate::start (arg=0x273f2e0) at thread/qthread_unix.cpp:337
#11 0x00007fdd8fabf6aa in start_thread (arg=0x7fdd6a93f700) at pthread_create.c:333
#12 0x00007fdd91dfeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fdd63d57700 (LWP 1933)):
#0  0x00007fdd8f09e798 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdd8f058f38 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdd8f059e76 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdd8f059fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdd92402c6c in QEventDispatcherGlib::processEvents (this=0x7fdd5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007fdd923a73e2 in QEventLoop::exec (this=this@entry=0x7fdd63d56e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fdd92166b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fdd84781f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fdd9216bb0e in QThreadPrivate::start (arg=0x2b3df00) at thread/qthread_unix.cpp:337
#9  0x00007fdd8fabf6aa in start_thread (arg=0x7fdd63d57700) at pthread_create.c:333
#10 0x00007fdd91dfeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdd60f5c700 (LWP 1934)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd9216cc6b in wait (time=18446744073709551615, this=0x2d5dad0) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b1fb10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007fdd8422afab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007fdd8422b3a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fdd9216bb0e in QThreadPrivate::start (arg=0x2b1fa90) at thread/qthread_unix.cpp:337
#6  0x00007fdd8fabf6aa in start_thread (arg=0x7fdd60f5c700) at pthread_create.c:333
#7  0x00007fdd91dfeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdd9371f780 (LWP 1929)):
[KCrash Handler]
#6  0x00007fdd7d6736b7 in KDecoration2::Decoration::update(QRect const&) () from /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#7  0x00007fdd7d67375b in KDecoration2::Decoration::update() () from /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#8  0x00007fdd6bbbe370 in Breeze::Decoration::setOpacity (this=this@entry=0x2ae2a00, value=<optimized out>) at ../../kdecoration/breezedecoration.cpp:92
#9  0x00007fdd6bbde7a8 in Breeze::Decoration::qt_metacall (this=0x2ae2a00, _c=QMetaObject::WriteProperty, _id=0, _a=0x7ffe256a4b70) at moc_breezedecoration.cpp:146
#10 0x00007fdd9214c5ca in updateProperty (newValue=..., this=0x2b03630) at animation/qpropertyanimation.cpp:135
#11 QPropertyAnimation::updateCurrentValue (this=<optimized out>, value=...) at animation/qpropertyanimation.cpp:242
#12 0x00007fdd92147f48 in QVariantAnimationPrivate::setCurrentValueForProgress (this=this@entry=0x2b03630, progress=progress@entry=0.97724444444444436) at animation/qvariantanimation.cpp:290
#13 0x00007fdd92148d1b in recalculateCurrentInterval (force=false, this=0x2b03630) at animation/qvariantanimation.cpp:275
#14 QVariantAnimation::updateCurrentTime (this=<optimized out>) at animation/qvariantanimation.cpp:693
#15 0x00007fdd92144baf in QAbstractAnimation::setCurrentTime (this=0x2b02b20, msecs=134) at animation/qabstractanimation.cpp:1321
#16 0x00007fdd92144e96 in updateAnimationsTime (delta=16, this=0x2ae7e40) at animation/qabstractanimation.cpp:606
#17 QUnifiedTimer::updateAnimationTimers (this=0x25f62e0) at animation/qabstractanimation.cpp:323
#18 0x00007fdd921457dc in QAnimationDriver::advanceAnimation (this=<optimized out>, timeStep=-1) at animation/qabstractanimation.cpp:820
#19 0x00007fdd8420f1ee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007fdd8422d68a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007fdd8422fa8b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007fdd8423030a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007fdd930dc7b5 in QWindow::event (this=0x1cc8790, ev=<optimized out>) at kernel/qwindow.cpp:2051
#24 0x00007fdd84261dd3 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#25 0x00007fdd908f3b2c in QApplicationPrivate::notify_helper (this=0x1b6e1a0, receiver=0x1cc8790, e=0x7ffe256a52d0) at kernel/qapplication.cpp:3720
#26 0x00007fdd908f9000 in QApplication::notify (this=0x7ffe256a5730, receiver=0x1cc8790, e=0x7ffe256a52d0) at kernel/qapplication.cpp:3503
#27 0x00007fdd923a9c2b in QCoreApplication::notifyInternal (this=0x7ffe256a5730, receiver=receiver@entry=0x1cc8790, event=event@entry=0x7ffe256a52d0) at kernel/qcoreapplication.cpp:935
#28 0x00007fdd930d4e86 in sendSpontaneousEvent (event=0x7ffe256a52d0, receiver=0x1cc8790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QGuiApplicationPrivate::processExposeEvent (e=0x2b044a0) at kernel/qguiapplication.cpp:2613
#30 0x00007fdd930d5bbd in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x2b044a0) at kernel/qguiapplication.cpp:1638
#31 0x00007fdd930ba34f in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#32 0x00007fdd83e35590 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#33 0x00007fdd8f059c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fdd8f059f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fdd8f059fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fdd92402c57 in QEventDispatcherGlib::processEvents (this=0x1ba6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007fdd923a73e2 in QEventLoop::exec (this=this@entry=0x7ffe256a55c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007fdd90af54b5 in QDialog::exec (this=0x1c112f0) at dialogs/qdialog.cpp:541
#39 0x00007fdd83b509cb in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:307
#40 0x0000000000408716 in launch (argc=argc@entry=14, _name=_name@entry=0x1b49918 "kcmshell5", args=<optimized out>, args@entry=0x1b49922 "--icon", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x1b499d6 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b710 "0") at ../../../src/kdeinit/kinit.cpp:741
#41 0x000000000040a132 in handle_launcher_request (sock=8, who=who@entry=0x40b6c6 "launcher") at ../../../src/kdeinit/kinit.cpp:1180
#42 0x000000000040a6ee in handle_requests (waitForPid=waitForPid@entry=0) at ../../../src/kdeinit/kinit.cpp:1369
#43 0x000000000040501b in main (argc=5, argv=<optimized out>) at ../../../src/kdeinit/kinit.cpp:1860

Reported using DrKonqi
Comment 1 Christoph Feck 2015-08-02 09:29:13 UTC

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