Bug 241986

Summary: Plasma-desktop crashes when closing an X11 window
Product: [Unmaintained] plasma4 Reporter: Chris Samuel <kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asraniel, mvdwerf2001
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Samuel 2010-06-17 13:33:53 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

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

Had a window marked with a generic X11 icon which I had taken to be a window relating to DAVmail which I thought I had killed, but on closing it I found it killed my plasma-desktop process with a SEGV.

I've selected a bug which appears to be the same but the backtraces seem to differ significantly.

I wonder if the data engine mentioned is related to either the weather backdrop or the weather station widget I am running ?

This is KDE 4.5.0 beta 2 with the packages from the Kubuntu PPA installed (upgraded this morning):

plasma-desktop:
  Installed: 4:4.4.85-0ubuntu1~lucid1~ppa4
  Candidate: 4:4.4.85-0ubuntu1~lucid1~ppa4
  Version table:
 *** 4:4.4.85-0ubuntu1~lucid1~ppa4 0
        500 http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
     4:4.4.4-0ubuntu1~lucid1~ppa1 0
        500 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ lucid/main Packages
     4:4.4.2-0ubuntu14 0
        500 http://mirror.linux.org.au/ubuntu/ lucid/main Packages
        500 http://mirrors.uwa.edu.au/ubuntu/ lucid/main Packages

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb9c7a80780 (LWP 2667))]

Thread 3 (Thread 0x7fb9a3a85710 (LWP 2675)):
#0  0x00007fb9c739dfb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb9c4a2506e in qt_safe_select (nfds=24, fdread=0x20854e0, fdwrite=0x2085778, fdexcept=0x2085a10, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007fb9c4a2a39b in QEventDispatcherUNIXPrivate::doSelect (this=0x2085320, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007fb9c4a2afcb in QEventDispatcherUNIX::processEvents (this=0x1f73bf0, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007fb9c49fa5b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb9c49fa98c in QEventLoop::exec (this=0x7fb9a3a84d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb9c49061cd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb9c49da4d8 in QInotifyFileSystemWatcherEngine::run (this=0x207daa0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb9c490914e in QThreadPrivate::start (arg=0x207daa0) at thread/qthread_unix.cpp:266
#9  0x00007fb9c46779ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fb9c73a56cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb9a2e61710 (LWP 4501)):
#0  0x00007fb9c739dfb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb9c4a2506e in qt_safe_select (nfds=38, fdread=0x32f69e0, fdwrite=0x32f6c78, fdexcept=0x32f6f10, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007fb9c4a2a39b in QEventDispatcherUNIXPrivate::doSelect (this=0x32f6820, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007fb9c4a2afcb in QEventDispatcherUNIX::processEvents (this=0x32ed870, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007fb9c49fa5b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb9c49fa98c in QEventLoop::exec (this=0x7fb9a2e60d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb9c49061cd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb9c49da4d8 in QInotifyFileSystemWatcherEngine::run (this=0x32fa840) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb9c490914e in QThreadPrivate::start (arg=0x32fa840) at thread/qthread_unix.cpp:266
#9  0x00007fb9c46779ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fb9c73a56cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb9c7a80780 (LWP 2667)):
[KCrash Handler]
#6  0x00007fb9c3c0928c in QWidget::destroy (this=0x2c7bc20, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1062
#7  0x00007fb9c3bc2ff2 in ~QWidget (this=0x2c7bc20, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1508
#8  0x00007fb9c3fbc36c in ~QMenu (this=0x2c7bc20, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1415
#9  0x00007fb9bd349fcc in DBusMenuImporter::~DBusMenuImporter() () from /usr/lib/libdbusmenu-qt.so.2
#10 0x00007fb9a82874c3 in ~PlasmaDBusMenuImporter (this=0x0, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:47
#11 0x00007fb9c4a0d7ef in QObjectPrivate::deleteChildren (this=0x2c0fa00) at kernel/qobject.cpp:1957
#12 0x00007fb9c4a14e8b in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#13 0x00007fb9a82824d3 in ~StatusNotifierItemSource (this=0x2bfbc70, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:105
#14 0x00007fb9c4a0d7ef in QObjectPrivate::deleteChildren (this=0x1962d50) at kernel/qobject.cpp:1957
#15 0x00007fb9c4a14e8b in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#16 0x00007fb9a8280b9e in ~StatusNotifierItemEngine (this=0x18f5720, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritem_engine.cpp:41
#17 0x00007fb9c6ee468e in ~DataEngineManagerPrivate (this=0x194f9d0, __in_chrg=<value optimized out>) at ../../plasma/dataenginemanager.cpp:54
#18 ~DataEngineManager (this=0x194f9d0, __in_chrg=<value optimized out>) at ../../plasma/dataenginemanager.cpp:93
#19 0x00007fb9c6ee4817 in ~DataEngineManagerSingleton () at ../../plasma/dataenginemanager.cpp:74
#20 destroy () at ../../plasma/dataenginemanager.cpp:79
#21 0x00007fb9c72f8262 in __run_exit_handlers (status=1) at exit.c:78
#22 *__GI_exit (status=1) at exit.c:100
#23 0x00007fb9c3bdef08 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#24 0x00007fb9c56af9b8 in KApplication::xioErrhandler (this=0x847030, dpy=0x85c290) at ../../kdeui/kernel/kapplication.cpp:408
#25 0x00007fb9c5f287fe in _XIOError () from /usr/lib/libX11.so.6
#26 0x00007fb9c5f30355 in ?? () from /usr/lib/libX11.so.6
#27 0x00007fb9c5f30c07 in _XEventsQueued () from /usr/lib/libX11.so.6
#28 0x00007fb9c5f1940b in XEventsQueued () from /usr/lib/libX11.so.6
#29 0x00007fb9c3c1af68 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:79
#30 0x00007fb9c49fa5b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007fb9c49fa98c in QEventLoop::exec (this=0x7fff035f62d0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007fb9c49fea3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00007fb9c767d6f6 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#34 0x00007fb9c72ddc4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff035f6698) at libc-start.c:226
#35 0x00000000004006c9 in _start ()

This bug may be a duplicate of or related to bug 241613.

Possible duplicates by query: bug 241613.

Reported using DrKonqi
Comment 1 Beat Wolf 2010-06-17 14:09:04 UTC

*** This bug has been marked as a duplicate of bug 241613 ***
Comment 2 Marco Martin 2010-06-21 18:04:45 UTC
*** Bug 242381 has been marked as a duplicate of this bug. ***