Bug 216941

Summary: [4.3.77] Plasma crashes when switching to netbook workspace [QWidget::~QWidget, QFrame::~QFrame, QLabel::~QLabel]
Product: [Unmaintained] plasma4 Reporter: Johannes Obermayr <johannesobermayr>
Component: plasma-netbookAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, ogoffart, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Johannes Obermayr 2009-12-01 14:56:05 UTC
Application: plasma-netbook (0.1)
KDE Version: 4.3.77 (KDE 4.3.77 (KDE 4.4 >= 20091123)) "release 4"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.5-0.1-pae i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
KDE 4.3.77 / Qt 4.5.80_20091201 -> openSUSE packages

After login occurs only a black background (1st login after system start) or background of KDE startup screen (2nd and further logins).

Then I am doing following:
1. press Alt+F2
2. open systemsettings
3. set workspace -> netbook
4. KWin crashes (Bug #211439)
5. plasma crashes  (this Bug)
6. set workspace -> Desktop
7. I can work with normal desktop...

The crash can be reproduced everytime.

 -- Backtrace:
Application: Plasma Netbook (plasma-netbook), signal: Segmentation fault
[KCrash Handler]
#6  0xb5ee957c in QWidget::~QWidget (this=0x8498fd0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1433
#7  0xb62cb13f in QFrame::~QFrame (this=0x8498fd0, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#8  0xb62d2960 in QLabel::~QLabel (this=0x8498fd0, __in_chrg=<value optimized out>) at widgets/qlabel.cpp:262
#9  0xb650ad09 in QGraphicsProxyWidget::~QGraphicsProxyWidget (this=0x84949c8, __in_chrg=<value optimized out>) at graphicsview/qgraphicsproxywidget.cpp:554
#10 0xb74d291d in Plasma::Label::~Label (this=0x84949c8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/widgets/label.cpp:132
#11 0xb64f1276 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:322
#12 qDeleteAll<QList<QGraphicsItem*> > (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:330
#13 QGraphicsItem::~QGraphicsItem (end=<value optimized out>, begin=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1345
#14 0xb6552341 in ~QGraphicsObject (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/gui/graphicsview/qgraphicsitem.h:537
#15 QGraphicsWidget::~QGraphicsWidget (this=<value optimized out>, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:277
#16 0xb7430523 in Plasma::ExtenderItemPrivate::~ExtenderItemPrivate (this=0x8457800, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/extenders/extenderitem.cpp:708
#17 0xb7430628 in Plasma::ExtenderItem::~ExtenderItem (this=0x8456818, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/extenders/extenderitem.cpp:148
#18 0xb64f1276 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:322
#19 qDeleteAll<QList<QGraphicsItem*> > (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:330
#20 QGraphicsItem::~QGraphicsItem (end=<value optimized out>, begin=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1345
#21 0xb6550da1 in ~QGraphicsObject (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/gui/graphicsview/qgraphicsitem.h:537
#22 QGraphicsWidget::~QGraphicsWidget (this=<value optimized out>, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:277
#23 0xb7429c3f in Plasma::Extender::~Extender (this=0x8452398, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/extenders/extender.cpp:123
#24 0xb73da3eb in Plasma::AppletPrivate::~AppletPrivate (this=0x844dc78, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/applet.cpp:2544
#25 0xb73e100a in Plasma::Applet::~Applet (this=0x84a21d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/applet.cpp:203
#26 0xb7441826 in Plasma::PopupApplet::~PopupApplet (this=0x84a21d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/popupapplet.cpp:80
#27 0xa82e5d17 in Battery::~Battery (this=0x84a21d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/generic/applets/battery/battery.cpp:315
#28 0xb64f1276 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:322
#29 qDeleteAll<QList<QGraphicsItem*> > (end=<value optimized out>, begin=<value optimized out>) at ../../src/corelib/tools/qalgorithms.h:330
#30 QGraphicsItem::~QGraphicsItem (end=<value optimized out>, begin=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1345
#31 0xb6550da1 in ~QGraphicsObject (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/gui/graphicsview/qgraphicsitem.h:537
#32 QGraphicsWidget::~QGraphicsWidget (this=<value optimized out>, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:277
#33 0xa839e48a in SystemTray::TaskArea::~TaskArea (this=0x8196a88, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/generic/applets/systemtray/ui/taskarea.cpp:94
#34 0xa8391e30 in SystemTray::Applet::~Applet (this=0x81723c8, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/generic/applets/systemtray/ui/applet.cpp:116
#35 0xb73f403e in qDeleteAll<QList<Plasma::Applet*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#36 qDeleteAll<QList<Plasma::Applet*> > (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#37 ~ContainmentPrivate (end=<value optimized out>, begin=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/private/containment_p.h:63
#38 Plasma::Containment::~Containment (end=<value optimized out>, begin=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/containment.cpp:151
#39 0xa83dfbab in Panel::~Panel (this=0x81d1a28, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/netbook/containments/netpanel/panel.cpp:85
#40 0xb740c346 in qDeleteAll<QList<Plasma::Containment*>::const_iterator> (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#41 qDeleteAll<QList<Plasma::Containment*> > (end=<value optimized out>, begin=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#42 ~CoronaPrivate (end=<value optimized out>, begin=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/corona.cpp:78
#43 Plasma::Corona::~Corona (end=<value optimized out>, begin=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/plasma/corona.cpp:288
#44 0xb774a4ea in NetCorona::~NetCorona (this=0x8141220, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/netbook/shell/netcorona.h:36
#45 0xb693996c in QObjectPrivate::deleteChildren (this=0x8072738) at kernel/qobject.cpp:1989
#46 0xb6940dc3 in QObject::~QObject (this=0x806ce80, __in_chrg=<value optimized out>) at kernel/qobject.cpp:986
#47 0xb692bcf8 in QCoreApplication::~QCoreApplication (this=0x806ce80, __in_chrg=<value optimized out>) at kernel/qcoreapplication.cpp:620
#48 0xb5e8b70a in QApplication::~QApplication (this=0x806ce80, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1113
#49 0xb6f399e8 in KApplication::~KApplication (this=0x806ce80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/kdeui/kernel/kapplication.cpp:902
#50 0xb6f40fb8 in KUniqueApplication::~KUniqueApplication (this=0x806ce80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.77svn1053190/kdeui/kernel/kuniqueapplication.cpp:372
#51 0xb774e2da in PlasmaApp::~PlasmaApp (this=0x806ce80, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/netbook/shell/plasmaapp.cpp:294
#52 0xb774cc72 in kdemain (argc=1, argv=0xbf94d984) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/plasma/netbook/shell/main.cpp:67
#53 0x0804860b in main (argc=1, argv=0xbf94d984) at /usr/src/debug/kdebase-workspace-4.3.77svn1053190/build/plasma/netbook/shell/plasma-netbook_dummy.cpp:3

Reported using DrKonqi
Comment 1 Johannes Obermayr 2009-12-06 01:54:21 UTC
I found a not so nice message in dmesg:

[  145.827878] plasma-netbook[2031]: segfault at 4 ip b5ed457c sp bfb5e660 error 4 in libQtGui.so.4.6.0[b5d39000+a48000]
Comment 2 Johannes Obermayr 2009-12-06 14:45:13 UTC
Add plasma-bugs to CC
Comment 3 Johannes Obermayr 2009-12-24 15:26:23 UTC
Status update with KDE 4.3.85 and Qt 4.6.0_20091222:

- KDE starts normal...

- KWin does not crash anymore ...

- Plasma crash changed a bit ...

- I also created an upstream Qt bug report:
  http://bugreports.qt.nokia.com/browse/QTBUG-7019
Comment 4 Olivier Goffart 2009-12-28 11:42:54 UTC
This should be fixed in Qt 4.6.1 with commit 43e4e8969942e58ca0ecb3b8ad23ebe32ac4aa44
(which i think has been backported in kde-qt's main branch)
Comment 5 Johannes Obermayr 2010-01-01 21:03:17 UTC
After an update to KDE 4.3.86 and Qt 4.6_20091229 without any changes related to this bug I renamed .kde4 directory and have so a fresh KDE 4.3.86.

The problem is gone with this radical method.

But I think it is not the best resolution for fixing this bug...
Comment 6 Dario Andres 2010-02-25 21:43:49 UTC
As nobody reported this bug again, and as the main case was cleared and it is not reproducible anymore, we could consider this fixed by Qt (comment 4)
Regards