Bug 277253

Summary: Plasma crashes when closing widgets
Product: [Unmaintained] plasma4 Reporter: Vincent Zwanenburg <vincentz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vincent Zwanenburg 2011-07-07 01:49:25 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
Whenever I have a widget on my dekstop, and I try to close it with the 'X' button, Plasma seems to give up all hope.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc63e79d7a0 (LWP 1768))]

Thread 8 (Thread 0x7fc62230f700 (LWP 1769)):
#0  0x00007fc63337fd9d in __pthread_mutex_unlock_usercnt (mutex=0x7fc61c0009a8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fc61c0009a8) at pthread_mutex_unlock.c:290
#2  0x00007fc632a77f19 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc632a78639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc63b2a4446 in QEventDispatcherGlib::processEvents (this=0x7fc61c0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc63b278882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc63b278abc in QEventLoop::exec (this=0x7fc62230edb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc63b18f924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fc63b25ac2f in QInotifyFileSystemWatcherEngine::run (this=0xdf7760) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc63b192175 in QThreadPrivate::start (arg=0xdf7760) at thread/qthread_unix.cpp:320
#10 0x00007fc63337bd8c in start_thread (arg=0x7fc62230f700) at pthread_create.c:304
#11 0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc615f46700 (LWP 1771)):
#0  0x00007fc63e0b34a6 in pthread_mutex_lock (mutex=0xee9298) at forward.c:182
#1  0x00007fc632a770d3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc632a77f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc632a78639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc63b2a4446 in QEventDispatcherGlib::processEvents (this=0xeca990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fc63b278882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc63b278abc in QEventLoop::exec (this=0x7fc615f45db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fc63b18f924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fc63b25ac2f in QInotifyFileSystemWatcherEngine::run (this=0xeca420) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc63b192175 in QThreadPrivate::start (arg=0xeca420) at thread/qthread_unix.cpp:320
#10 0x00007fc63337bd8c in start_thread (arg=0x7fc615f46700) at pthread_create.c:304
#11 0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc613718700 (LWP 1776)):
#0  0x00007fc63e096f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc632a78104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc632a789f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc61482fc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fc632a9f3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc63337bd8c in start_thread (arg=0x7fc613718700) at pthread_create.c:304
#6  0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc60f265700 (LWP 2319)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc63b19282b in wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc6374190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12aa3a0, th=0x233da20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc63741b723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x12ba7e0, th=0x233da20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc63741a53f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc60f264e00, parent=0x12aa3a0, th=0x233da20) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc63741a5cb in ThreadWeaver::Thread::run (this=0x233da20) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc63b192175 in QThreadPrivate::start (arg=0x233da20) at thread/qthread_unix.cpp:320
#8  0x00007fc63337bd8c in start_thread (arg=0x7fc60f265700) at pthread_create.c:304
#9  0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc6218f6700 (LWP 2320)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc63b19282b in wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc6374190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12aa3a0, th=0x2369b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc63741b723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x12ba7e0, th=0x2369b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc63741a53f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc6218f5e00, parent=0x12aa3a0, th=0x2369b00) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc63741a5cb in ThreadWeaver::Thread::run (this=0x2369b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc63b192175 in QThreadPrivate::start (arg=0x2369b00) at thread/qthread_unix.cpp:320
#8  0x00007fc63337bd8c in start_thread (arg=0x7fc6218f6700) at pthread_create.c:304
#9  0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc613f19700 (LWP 2321)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc63b19282b in wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc6374190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12aa3a0, th=0xe06f10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc63741b723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x12ba7e0, th=0xe06f10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc63741a53f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc613f18e00, parent=0x12aa3a0, th=0xe06f10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc63741a5cb in ThreadWeaver::Thread::run (this=0xe06f10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc63b192175 in QThreadPrivate::start (arg=0xe06f10) at thread/qthread_unix.cpp:320
#8  0x00007fc63337bd8c in start_thread (arg=0x7fc613f19700) at pthread_create.c:304
#9  0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc609ab9700 (LWP 2322)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc63b19282b in wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12baab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc6374190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12aa3a0, th=0x2068860) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc63741b723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x12ba7e0, th=0x2068860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc63741a53f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc609ab8e00, parent=0x12aa3a0, th=0x2068860) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc63741a5cb in ThreadWeaver::Thread::run (this=0x2068860) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc63b192175 in QThreadPrivate::start (arg=0x2068860) at thread/qthread_unix.cpp:320
#8  0x00007fc63337bd8c in start_thread (arg=0x7fc609ab9700) at pthread_create.c:304
#9  0x00007fc63e0a404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc63e79d7a0 (LWP 1768)):
[KCrash Handler]
#6  0x00007fc63b1ae0c5 in QHashData::detach_helper2 (this=0x3132530, node_duplicate=0x7fc63dbdd300 <QHash<QString, QVariant>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x7fc63dbdd330 <QHash<QString, QVariant>::deleteNode2(QHashData::Node*)>, nodeSize=<value optimized out>, nodeAlign=8) at tools/qhash.cpp:229
#7  0x00007fc63dbdd4c2 in QHash<QString, QVariant>::detach_helper (this=0x3131e98) at /usr/include/qt4/QtCore/qhash.h:582
#8  0x00007fc63dbdbe3e in detach (this=0x3131b60, key=..., value=...) at /usr/include/qt4/QtCore/qhash.h:299
#9  insert (this=0x3131b60, key=..., value=...) at /usr/include/qt4/QtCore/qhash.h:754
#10 Plasma::DataContainer::setData (this=0x3131b60, key=..., value=...) at ../../plasma/datacontainer.cpp:51
#11 0x00007fc5fed0694b in PlayerContainer::updateInfo (this=0x3131b60) at ../../../../../plasma/generic/dataengines/nowplaying/playercontainer.cpp:76
#12 0x00007fc5fed06bd0 in PlayerContainer::qt_metacall (this=0x3131b60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./playercontainer.moc:74
#13 0x00007fc63b28e5f8 in QMetaObject::activate (sender=0x3131b60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffed770d90) at kernel/qobject.cpp:3287
#14 0x00007fc63dbdbd62 in Plasma::DataContainer::updateRequested (this=<value optimized out>, _t1=0x3131b60) at ./datacontainer.moc:126
#15 0x00007fc63dc147ce in Plasma::SignalRelay::timerEvent (this=0x2d58160, event=<value optimized out>) at ../../plasma/private/datacontainer_p.cpp:155
#16 0x00007fc63b28d1c9 in QObject::event (this=0x2d58160, e=<value optimized out>) at kernel/qobject.cpp:1190
#17 0x00007fc63a63a9e4 in QApplicationPrivate::notify_helper (this=0x914b80, receiver=0x2d58160, e=0x7fffed771490) at kernel/qapplication.cpp:4462
#18 0x00007fc63a63f3aa in QApplication::notify (this=<value optimized out>, receiver=0x2d58160, e=0x7fffed771490) at kernel/qapplication.cpp:4341
#19 0x00007fc63bf32716 in KApplication::notify (this=0x9060d0, receiver=0x2d58160, event=0x7fffed771490) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fc63b27949c in QCoreApplication::notifyInternal (this=0x9060d0, receiver=0x2d58160, event=0x7fffed771490) at kernel/qcoreapplication.cpp:731
#21 0x00007fc63b2a6f12 in sendEvent (this=0x918730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x918730) at kernel/qeventdispatcher_unix.cpp:604
#23 0x00007fc63b2a3cf4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 0x00007fc632a77bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc632a783a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc632a78639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fc63b2a43ef in QEventDispatcherGlib::processEvents (this=0x880340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007fc63a6e1dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fc63b278882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007fc63b278abc in QEventLoop::exec (this=0x7fffed771700, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007fc63b27cecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#32 0x00007fc63e390b4c in kdemain (argc=1, argv=0x7fffed771b08) at ../../../../plasma/desktop/shell/main.cpp:120
#33 0x00007fc63dfdceff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fffed771b08, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffed771af8) at libc-start.c:226
#34 0x0000000000400669 in _start ()

Possible duplicates by query: bug 274267, bug 274234, bug 273824, bug 272654, bug 269174.

Reported using DrKonqi
Comment 1 Dario Andres 2011-07-08 22:39:16 UTC
[Comment from a bug triager]
This issue is being tracked at bug 209004, merging.
Note: it is related to the NowPlaying widget.
Thanks

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