Bug 241613

Summary: plasma-netbook crashes when closing non-existent window
Product: [Unmaintained] plasma4 Reporter: Travis McHenry <wordsizzle>
Component: plasma-netbookAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: anssi.hannula, aseigo, florian.reinhard, isis2000, kde, linuxhippy, pascal, salva.ferrer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: window created when opening skype
kcrash after closing the window created by skype
New crash information added by DrKonqi

Description Travis McHenry 2010-06-13 05:43:19 UTC
Application: plasma-netbook (0.1)
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.14-127.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Starting up plasma-netbook after updating to 4.4.85

- Unusual behavior I noticed:
On startup random windows with the xorg icon pop up and dissapear to make an flashing affect until i move my mouse up to hover on the top bar. Then i can see a program with no title and the xorg icon, when i hit the X button on the plasma widget plasma crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Netbook (plasma-netbook), signal: Segmentation fault
[KCrash Handler]
#7  0x02ba27df in QWidget::destroy (this=0x9b8d590, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1062
#8  0x02b5d2b4 in QWidget::~QWidget (this=0x9b8d590, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1500
#9  0x02f859ce in QMenu::~QMenu (this=0x9b8d590, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1415
#10 0x02f85b93 in QMenu::~QMenu (this=0x9b8d590, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1415
#11 0x00c175f5 in DBusMenuImporter::~DBusMenuImporter (this=0x9614c70, __in_chrg=<value optimized out>) at /usr/src/debug/libdbusmenu-qt-0.3.3/src/dbusmenuimporter.cpp:254
#12 0x011dc63b in ~PlasmaDBusMenuImporter (this=0x9614c70, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:47
#13 PlasmaDBusMenuImporter::~PlasmaDBusMenuImporter (this=0x9614c70, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:47
#14 0x023b0c96 in QObjectPrivate::deleteChildren (this=0x97d34d0) at kernel/qobject.cpp:1982
#15 0x023b5144 in QObject::~QObject (this=0x9872518, __in_chrg=<value optimized out>) at kernel/qobject.cpp:971
#16 0x053575a4 in Plasma::DataContainer::~DataContainer (this=0x9872518, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.85/plasma/datacontainer.cpp:41
#17 0x011d73a6 in StatusNotifierItemSource::~StatusNotifierItemSource (this=0x9872518, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:105
#18 0x011d73d3 in StatusNotifierItemSource::~StatusNotifierItemSource (this=0x9872518, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:105
#19 0x023b0c96 in QObjectPrivate::deleteChildren (this=0x95acbd8) at kernel/qobject.cpp:1982
#20 0x023b5144 in QObject::~QObject (this=0x95e7a58, __in_chrg=<value optimized out>) at kernel/qobject.cpp:971
#21 0x05359468 in Plasma::DataEngine::~DataEngine (this=0x95e7a58, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.85/plasma/dataengine.cpp:64
#22 0x011d551c in StatusNotifierItemEngine::~StatusNotifierItemEngine (this=0x95e7a58, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritem_engine.cpp:41
#23 0x011d5553 in StatusNotifierItemEngine::~StatusNotifierItemEngine (this=0x95e7a58, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.85/plasma/generic/dataengines/statusnotifieritem/statusnotifieritem_engine.cpp:41
#24 0x0535cbf4 in ~DataEngineManagerPrivate (this=0x95d86b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.85/plasma/dataenginemanager.cpp:54
#25 Plasma::DataEngineManager::~DataEngineManager (this=0x95d86b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.85/plasma/dataenginemanager.cpp:93
#26 0x0535cdbb in ~DataEngineManagerSingleton () at /usr/src/debug/kdelibs-4.4.85/plasma/dataenginemanager.cpp:74
#27 Plasma::::destroy(void) () at /usr/src/debug/kdelibs-4.4.85/plasma/dataenginemanager.cpp:79
#28 0x0531180c in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x552aa70, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.85/kdecore/kernel/kglobal.h:62
#29 0x007ad08f in __run_exit_handlers (status=1) at exit.c:78
#30 exit (status=1) at exit.c:100
#31 0x02b779ac in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#32 0x057b68fb in KApplication::xioErrhandler (this=0x8b5d2b0, dpy=0x8b75038) at /usr/src/debug/kdelibs-4.4.85/kdeui/kernel/kapplication.cpp:408
#33 0x057b6937 in kde_xio_errhandler (dpy=0x8b75038) at /usr/src/debug/kdelibs-4.4.85/kdeui/kernel/kapplication.cpp:125
#34 0x0066ea57 in _XIOError (dpy=<value optimized out>) at XlibInt.c:3138
#35 0x006769d3 in process_responses (dpy=<value optimized out>, wait_for_first_event=<value optimized out>, current_error=<value optimized out>, current_request=<value optimized out>) at xcb_io.c:240
#36 0x00676f96 in _XReply (dpy=<value optimized out>, rep=<value optimized out>, extra=<value optimized out>, discard=<value optimized out>) at xcb_io.c:457
#37 0x006540a7 in XGetWindowProperty (dpy=<value optimized out>, w=<value optimized out>, property=<value optimized out>, offset=<value optimized out>, length=<value optimized out>, 
    delete=<value optimized out>, req_type=<value optimized out>, actual_type=<value optimized out>, actual_format=<value optimized out>, nitems=<value optimized out>, 
    bytesafter=<value optimized out>, prop=<value optimized out>) at GetProp.c:64
#38 0x006532d7 in XGetWMHints (dpy=<value optimized out>, w=<value optimized out>) at GetHints.c:118
#39 0x058f9e94 in KWindowSystem::icon (win=31462319, width=64, height=64, scale=false, flags=15) at /usr/src/debug/kdelibs-4.4.85/kdeui/windowmanagement/kwindowsystem_x11.cpp:613
#40 0x058fa2b8 in KWindowSystem::icon (win=31462319, width=64, height=64, scale=false) at /usr/src/debug/kdelibs-4.4.85/kdeui/windowmanagement/kwindowsystem_x11.cpp:588
#41 0x01184d70 in CurrentAppControl::syncActiveWindow (this=0x958b798) at /usr/src/debug/kdebase-workspace-4.4.85/plasma/netbook/applets/currentappcontrol/currentappcontrol.cpp:209
#42 0x01185634 in CurrentAppControl::closeWindow (this=0x958b798) at /usr/src/debug/kdebase-workspace-4.4.85/plasma/netbook/applets/currentappcontrol/currentappcontrol.cpp:253
#43 0x01185a93 in CurrentAppControl::qt_metacall (this=0x958b798, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd4202c)
    at /usr/src/debug/kdebase-workspace-4.4.85/i686-redhat-linux-gnu/plasma/netbook/applets/currentappcontrol/currentappcontrol.moc:94
#44 0x023a2f3b in QMetaObject::metacall (object=0x958b798, cl=InvokeMetaMethod, idx=68, argv=0xbfd4202c) at kernel/qmetaobject.cpp:237
#45 0x023b1f85 in QMetaObject::activate (sender=0x95c9fe8, m=0x55232b0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3305
#46 0x05409c28 in Plasma::IconWidget::clicked (this=0x95c9fe8) at /usr/src/debug/kdelibs-4.4.85/i686-redhat-linux-gnu/plasma/iconwidget.moc:206
#47 0x0540b1d0 in Plasma::IconWidget::mouseReleaseEvent (this=0x95c9fe8, event=0xbfd428ac) at /usr/src/debug/kdelibs-4.4.85/plasma/widgets/iconwidget.cpp:1399
#48 0x0314cf24 in QGraphicsItem::sceneEvent (this=0x95c9ff0, event=0xbfd428ac) at graphicsview/qgraphicsitem.cpp:6673
#49 0x031a1138 in QGraphicsWidget::sceneEvent (this=0x95c9fe8, event=0xbfd428ac) at graphicsview/qgraphicswidget.cpp:1178
#50 0x03165127 in QGraphicsScenePrivate::sendEvent (this=0x8c175f8, item=0x95c9ff0, event=0xbfd428ac) at graphicsview/qgraphicsscene.cpp:1194
#51 0x03167b25 in QGraphicsScenePrivate::sendMouseEvent (this=0x8c175f8, mouseEvent=0xbfd428ac) at graphicsview/qgraphicsscene.cpp:1268
#52 0x0316bdb5 in QGraphicsScene::mouseReleaseEvent (this=0x8c05ed0, mouseEvent=0xbfd428ac) at graphicsview/qgraphicsscene.cpp:4072
#53 0x0317adc4 in QGraphicsScene::event (this=0x8c05ed0, event=0xbfd428ac) at graphicsview/qgraphicsscene.cpp:3413
#54 0x02b028fc in QApplicationPrivate::notify_helper (this=0x8b61f18, receiver=0x8c05ed0, e=0xbfd428ac) at kernel/qapplication.cpp:4345
#55 0x02b09ae6 in QApplication::notify (this=0x8b5d2b0, receiver=0x8c05ed0, e=0xbfd428ac) at kernel/qapplication.cpp:3749
#56 0x057b6c8b in KApplication::notify (this=0x8b5d2b0, receiver=0x8c05ed0, event=0xbfd428ac) at /usr/src/debug/kdelibs-4.4.85/kdeui/kernel/kapplication.cpp:302
#57 0x0239d943 in QCoreApplication::notifyInternal (this=0x8b5d2b0, receiver=0x8c05ed0, event=0xbfd428ac) at kernel/qcoreapplication.cpp:726
#58 0x02b0368f in sendSpontaneousEvent (receiver=0x8c05ed0, event=0xbfd428ac) at ../../src/corelib/kernel/qcoreapplication.h:218
#59 qt_sendSpontaneousEvent (receiver=0x8c05ed0, event=0xbfd428ac) at kernel/qapplication.cpp:5334
#60 0x0319abe7 in QGraphicsView::mouseReleaseEvent (this=0x9a7be40, event=0xbfd43030) at graphicsview/qgraphicsview.cpp:3259
#61 0x02b566fd in QWidget::event (this=0x9a7be40, event=0xbfd43030) at kernel/qwidget.cpp:8090
#62 0x02f43584 in QFrame::event (this=0x9a7be40, e=0xbfd43030) at widgets/qframe.cpp:557
#63 0x02fd40a3 in QAbstractScrollArea::viewportEvent (this=0x9a7be40, e=0xbfd43030) at widgets/qabstractscrollarea.cpp:1036
#64 0x03198c93 in QGraphicsView::viewportEvent (this=0x9a7be40, event=0xbfd43030) at graphicsview/qgraphicsview.cpp:2787
#65 0x02fd66d5 in viewportEvent (this=0x9a79e50, o=0x9a6d038, e=0xbfd43030) at widgets/qabstractscrollarea_p.h:100
#66 QAbstractScrollAreaFilter::eventFilter (this=0x9a79e50, o=0x9a6d038, e=0xbfd43030) at widgets/qabstractscrollarea_p.h:116
#67 0x0239d03a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8b61f18, receiver=0x9a6d038, event=0xbfd43030) at kernel/qcoreapplication.cpp:841
#68 0x02b028da in QApplicationPrivate::notify_helper (this=0x8b61f18, receiver=0x9a6d038, e=0xbfd43030) at kernel/qapplication.cpp:4341
#69 0x02b0a68e in QApplication::notify (this=0x8b5d2b0, receiver=0x9a6d038, e=0xbfd43030) at kernel/qapplication.cpp:3910
#70 0x057b6c8b in KApplication::notify (this=0x8b5d2b0, receiver=0x9a6d038, event=0xbfd43030) at /usr/src/debug/kdelibs-4.4.85/kdeui/kernel/kapplication.cpp:302
#71 0x0239d943 in QCoreApplication::notifyInternal (this=0x8b5d2b0, receiver=0x9a6d038, event=0xbfd43030) at kernel/qcoreapplication.cpp:726
#72 0x02b08628 in sendEvent (receiver=0x9a6d038, event=0xbfd43030, alienWidget=0x9a6d038, nativeWidget=0x9a7be40, buttonDown=0x343b2a0, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#73 QApplicationPrivate::sendMouseEvent (receiver=0x9a6d038, event=0xbfd43030, alienWidget=0x9a6d038, nativeWidget=0x9a7be40, buttonDown=0x343b2a0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3010
#74 0x02b88ee0 in QETWidget::translateMouseEvent (this=0x9a7be40, event=0xbfd4354c) at kernel/qapplication_x11.cpp:4403
#75 0x02b883f3 in QApplication::x11ProcessEvent (this=0x8b5d2b0, event=0xbfd4354c) at kernel/qapplication_x11.cpp:3414
#76 0x02bb3ea2 in x11EventSourceDispatch (s=0x8b65170, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#77 0x00a8ffb8 in g_main_dispatch (context=0x8b64298) at gmain.c:1960
#78 IA__g_main_context_dispatch (context=0x8b64298) at gmain.c:2513
#79 0x00a938e8 in g_main_context_iterate (context=0x32deb0, block=1, dispatch=1, self=0x8b61ea0) at gmain.c:2591
#80 0x00a93a14 in IA__g_main_context_iteration (context=0x8b64298, may_block=1) at gmain.c:2654
#81 0x023c7ed6 in QEventDispatcherGlib::processEvents (this=0x8b567f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#82 0x02bb3916 in QGuiEventDispatcherGlib::processEvents (this=0x8b567f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x0239c4da in QEventLoop::processEvents (this=0xbfd43844, flags=...) at kernel/qeventloop.cpp:149
#84 0x0239c81a in QEventLoop::exec (this=0xbfd43844, flags=...) at kernel/qeventloop.cpp:201
#85 0x023a0e47 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#86 0x02b029a8 in QApplication::exec () at kernel/qapplication.cpp:3624
#87 0x0388cc43 in kdemain (argc=1, argv=0xbfd43a64) at /usr/src/debug/kdebase-workspace-4.4.85/plasma/netbook/shell/main.cpp:67
#88 0x0804873c in main (argc=1, argv=0xbfd43a64) at /usr/src/debug/kdebase-workspace-4.4.85/i686-redhat-linux-gnu/plasma/netbook/shell/plasma-netbook_dummy.cpp:3

Reported using DrKonqi
Comment 1 Beat Wolf 2010-06-17 14:09:04 UTC
*** Bug 241986 has been marked as a duplicate of this bug. ***
Comment 2 Beat Wolf 2010-06-26 10:43:05 UTC
*** Bug 242820 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2010-06-30 15:49:42 UTC
*** Bug 240841 has been marked as a duplicate of this bug. ***
Comment 4 Marco Martin 2010-06-30 19:05:39 UTC
*** Bug 243264 has been marked as a duplicate of this bug. ***
Comment 5 salva.ferrer 2010-07-01 18:34:24 UTC
Created attachment 48519 [details]
window created when opening skype

Top bar is netbook bar, below is the window that opens when opening skype, i has a mangled version of the bar, and white space
Comment 6 salva.ferrer 2010-07-01 18:36:12 UTC
I think I am suffering this same bug in 4.5 RC1 in kubuntu-netbook 10.04. Donwloaded from kubuntu-beta ppa. Qt version is 4.7.0.

Can you tell us what kde and gtk version solved the issue for you?

My symptoms are as follow:

I have dropoboxd daemon running from Autostart. This causes a windows (one pixel size, it seems) during startup. If I close the window, plasma crashes.

If I start any application that creates a systray icon (except 4.5RC1 applications like kopete), then I have a maximized window with the systray on it, all remaining window space is white. The systray in this new window is just a pixmap and is unusable. The systray in the bar works perfectly. If I close this window, plasma crashes.

i have verified this behavior with:

- dropboxd 
- skype
- kapackagekit upgrade operations systray icon.

kopete and other 4.5RC1 applications do not create this spurious window

I am attaching the screenshot of the maximized window created when opening skype. This windows closes If I close the application that caused it.
Comment 7 salva.ferrer 2010-07-01 18:48:41 UTC
Created attachment 48520 [details]
kcrash after closing the window created by skype

After closing the window created after skype created its icon in teh systray, plasma-netbook crashes whith the attached backtrace.
Comment 8 Anssi Hannula 2010-07-27 03:03:30 UTC
Created attachment 49508 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) using Qt 4.7.0

Plasma-desktop crashed when I tried to close an extra contentless window that appeared when a systray-providing wine application (steam) started (the systray icon itself worked fine despite the extra window).

-- Backtrace (Reduced):
#6  0x00007fd7657b014c in QWidget::destroy (this=0x2434990, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1050
#7  0x00007fd76576d162 in QWidget::~QWidget (this=0x2434990, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1565
#8  0x00007fd765b6796c in QMenu::~QMenu (this=0x2434990, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1405
#9  0x00007fd76440aa5c in DBusMenuImporter::~DBusMenuImporter() () from /usr/lib64/libdbusmenu-qt.so.2
#10 0x00007fd748550163 in PlasmaDBusMenuImporter::~PlasmaDBusMenuImporter (this=0x0, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.92/plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:51
Comment 9 Aaron J. Seigo 2010-08-06 19:44:32 UTC

*** This bug has been marked as a duplicate of bug 241509 ***
Comment 10 isadora 2010-08-23 21:42:11 UTC
This behavior also known in Mandriva 2010.1 64-bits.
In combination with for example starting Mandriva's Control Centre, but also by starting aMSN.