Bug 243264

Summary: plasma crashes when closing a small contentless window from vlc
Product: [Unmaintained] plasma4 Reporter: Florian Reinhard <florian.reinhard>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: abhijeet.linux, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Florian Reinhard 2010-06-30 18:22:54 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

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

* open vlc
* see a tiny window appearing in addition to the vlc window
* resize it till you get a close button in the window decoration
* close it
* see plasma dying

xprop output:
_NET_WM_ICON_GEOMETRY(CARDINAL) = 113, 0, 94, 34
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 23, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 23, 4
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) =

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb7849720 (LWP 28782))]

Thread 6 (Thread 0xaf5b5b70 (LWP 28786)):
#0  0x00f66422 in __kernel_vsyscall ()
#1  0x00848b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x020174eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0200a0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0200a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x03e07f1f in QEventDispatcherGlib::processEvents (this=0x9314aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x03dd81a9 in QEventLoop::processEvents (this=0xaf5b5280, flags=) at kernel/qeventloop.cpp:149
#7  0x03dd85fa in QEventLoop::exec (this=0xaf5b5280, flags=...) at kernel/qeventloop.cpp:201
#8  0x03cd5aee in QThread::exec (this=0x94f0a10) at thread/qthread.cpp:490
#9  0x03db72eb in QInotifyFileSystemWatcherEngine::run (this=0x94f0a10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03cd8dc9 in QThreadPrivate::start (arg=0x94f0a10) at thread/qthread_unix.cpp:266
#11 0x0096496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00856a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaddb2b70 (LWP 29223)):
#0  0x00f66422 in __kernel_vsyscall ()
#1  0x00969015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008639dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03cd9997 in QWaitConditionPrivate::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ae1890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x973a8a0, th=0x9f88cf8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ae503c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x973a818, th=0x9f88cf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ae0dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x973a8a0, th=0x9f88cf8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ae5132 in ThreadWeaver::WorkingHardState::applyForWork (this=0x973a818, th=0x9f88cf8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ae1d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0x973a8a0, th=0x9f88cf8, previous=0x9b36b98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ae31be in ThreadWeaver::ThreadRunHelper::run (this=0xaddb22e4, parent=0x973a8a0, th=0x9f88cf8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00ae38db in ThreadWeaver::Thread::run (this=0x9f88cf8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x03cd8dc9 in QThreadPrivate::start (arg=0x9f88cf8) at thread/qthread_unix.cpp:266
#13 0x0096496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x00856a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaedb4b70 (LWP 29224)):
#0  0x00f66422 in __kernel_vsyscall ()
#1  0x00969015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008639dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03cd9997 in QWaitConditionPrivate::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ae1890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x973a8a0, th=0x9183db0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ae503c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x973a818, th=0x9183db0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ae0dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x973a8a0, th=0x9183db0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ae5132 in ThreadWeaver::WorkingHardState::applyForWork (this=0x973a818, th=0x9183db0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ae1d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0x973a8a0, th=0x9183db0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ae5151 in ThreadWeaver::WorkingHardState::applyForWork (this=0x973a818, th=0x9183db0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ae1d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0x973a8a0, th=0x9183db0, previous=0x9eeace8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00ae31be in ThreadWeaver::ThreadRunHelper::run (this=0xaedb42e4, parent=0x973a8a0, th=0x9183db0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00ae38db in ThreadWeaver::Thread::run (this=0x9183db0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x03cd8dc9 in QThreadPrivate::start (arg=0x9183db0) at thread/qthread_unix.cpp:266
#15 0x0096496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x00856a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xab484b70 (LWP 29225)):
#0  0x00f66422 in __kernel_vsyscall ()
#1  0x00969015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008639dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03cd9997 in QWaitConditionPrivate::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ae1890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x973a8a0, th=0x9161538) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ae503c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x973a818, th=0x9161538) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ae0dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x973a8a0, th=0x9161538) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ae5132 in ThreadWeaver::WorkingHardState::applyForWork (this=0x973a818, th=0x9161538) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ae1d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0x973a8a0, th=0x9161538, previous=0x9550b18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ae31be in ThreadWeaver::ThreadRunHelper::run (this=0xab4842e4, parent=0x973a8a0, th=0x9161538) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00ae38db in ThreadWeaver::Thread::run (this=0x9161538) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x03cd8dc9 in QThreadPrivate::start (arg=0x9161538) at thread/qthread_unix.cpp:266
#13 0x0096496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x00856a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaac83b70 (LWP 29226)):
#0  0x00f66422 in __kernel_vsyscall ()
#1  0x00969015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008639dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03cd9997 in QWaitConditionPrivate::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x973a8b8, mutex=0x973a7e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ae1890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x973a8a0, th=0xa0ee778) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ae503c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x973a818, th=0xa0ee778) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ae0dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x973a8a0, th=0xa0ee778) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ae5132 in ThreadWeaver::WorkingHardState::applyForWork (this=0x973a818, th=0xa0ee778) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ae1d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0x973a8a0, th=0xa0ee778, previous=0x963b448) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ae31be in ThreadWeaver::ThreadRunHelper::run (this=0xaac832e4, parent=0x973a8a0, th=0xa0ee778) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00ae38db in ThreadWeaver::Thread::run (this=0xa0ee778) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x03cd8dc9 in QThreadPrivate::start (arg=0xa0ee778) at thread/qthread_unix.cpp:266
#13 0x0096496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x00856a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7849720 (LWP 28782)):
[KCrash Handler]
#7  0x00f66422 in __kernel_vsyscall ()
#8  0x007b3651 in raise () from /lib/tls/i686/cmov/libc.so.6
#9  0x007b6a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#10 0x03ccf2ac in qt_message_output (msgType=QtFatalMsg, 
    buf=0xaacb790 "Fatal Error: Accessed global static 'DataEngineManagerSingleton *privateDataEngineManagerSelf()' after destruction. Defined at ../../plasma/dataenginemanager.cpp:79")
    at global/qglobal.cpp:2271
#11 0x03ccf47a in qt_message (msgType=<value optimized out>, msg=0x3da448 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0xbfff9a44 "\212\030>")
    at global/qglobal.cpp:2317
#12 0x03ccf589 in qFatal (msg=0x3da448 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2500
#13 0x002594f4 in operator-> () at ../../plasma/dataenginemanager.cpp:79
#14 Plasma::DataEngineManager::self () at ../../plasma/dataenginemanager.cpp:83
#15 0x043bd165 in WeatherEngine::unloadIons (this=0x9168b80) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:201
#16 0x043bd356 in ~WeatherEngine (this=0x9168b80, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:194
#17 0x00259144 in ~DataEngineManagerPrivate (this=0x9206818, __in_chrg=<value optimized out>) at ../../plasma/dataenginemanager.cpp:54
#18 ~DataEngineManager (this=0x9206818, __in_chrg=<value optimized out>) at ../../plasma/dataenginemanager.cpp:93
#19 0x002592ea in ~DataEngineManagerSingleton () at ../../plasma/dataenginemanager.cpp:74
#20 destroy () at ../../plasma/dataenginemanager.cpp:79
#21 0x00205f9b in ~KCleanUpGlobalStatic (this=0x41a0f0, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kglobal.h:62
#22 0x007b81bf in ?? () from /lib/tls/i686/cmov/libc.so.6
#23 0x007b822f in exit () from /lib/tls/i686/cmov/libc.so.6
#24 0x014ea94b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#25 0x0115093a in KApplication::xioErrhandler (this=0x8e35848, dpy=0x8e555d0) at ../../kdeui/kernel/kapplication.cpp:415
#26 0x01150976 in kde_xio_errhandler (dpy=0x8e555d0) at ../../kdeui/kernel/kapplication.cpp:125
#27 0x00c9ec16 in _XIOError () from /usr/lib/libX11.so.6
#28 0x00ca6a1a in ?? () from /usr/lib/libX11.so.6
#29 0x00ca7356 in _XEventsQueued () from /usr/lib/libX11.so.6
#30 0x00c8fadf in XEventsQueued () from /usr/lib/libX11.so.6
#31 0x0152a2d5 in x11EventSourceCheck (s=0x8e453b0) at kernel/qguieventdispatcher_glib.cpp:87
#32 0x02009799 in g_main_context_check () from /lib/libglib-2.0.so.0
#33 0x0200a0ce in ?? () from /lib/libglib-2.0.so.0
#34 0x0200a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x03e07ee5 in QEventDispatcherGlib::processEvents (this=0x8e41b98, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0x0152a105 in QGuiEventDispatcherGlib::processEvents (this=0x8e41b98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x03dd81a9 in QEventLoop::processEvents (this=0xbfff9f74, flags=) at kernel/qeventloop.cpp:149
#38 0x03dd85fa in QEventLoop::exec (this=0xbfff9f74, flags=...) at kernel/qeventloop.cpp:201
#39 0x03ddcbaf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x01468157 in QApplication::exec () at kernel/qapplication.cpp:3637
#41 0x0014251e in kdemain (argc=1, argv=0xbfffa184) at ../../../../plasma/desktop/shell/main.cpp:118
#42 0x0804860b in main (argc=1, argv=0xbfffa184) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 242824, bug 241509, bug 228367, bug 217716, bug 215469.

Reported using DrKonqi
Comment 1 Marco Martin 2010-06-30 19:05:39 UTC

*** This bug has been marked as a duplicate of bug 241613 ***
Comment 2 darkfish 2010-08-15 09:02:18 UTC
Created attachment 50569 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

- What I was doing when the application crashed:

I had VLC running. Probably its systray icon did not embed properly in the task manager and whenever I hovered on the systray/task manager, this tiny contentless window would appear, and upon closing it, plasma workspace would crash

-- Backtrace (Reduced):
#13 0x0034e7c4 in operator-> () at ../../plasma/dataenginemanager.cpp:79
#14 Plasma::DataEngineManager::self () at ../../plasma/dataenginemanager.cpp:83
#15 0x023f9165 in WeatherEngine::unloadIons (this=0x9a64df8) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:201
#16 0x023f9356 in ~WeatherEngine (this=0x9a64df8, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:194
#17 0x0034e414 in ~DataEngineManagerPrivate (this=0x9833df8, __in_chrg=<value optimized out>) at ../../plasma/dataenginemanager.cpp:54