Bug 166766 - Plasma Overlay Crash when using Screensaver with plasmoids
Summary: Plasma Overlay Crash when using Screensaver with plasmoids
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 21:06 UTC by Bernhard Friedreich
Modified: 2008-08-26 19:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Plasma crash backtrace on logout similar to backtrace of bug#166766 (5.01 KB, text/plain)
2008-08-15 12:07 UTC, Oliver Putz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Friedreich 2008-07-16 21:06:55 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          ++ (SUSE Linux) 4.3.2 20080613 (prerelease) [gcc-4_3-branch revision 136744] 
OS:                Linux

I played around a bit with the plasmoids on screensaver thingy and when I logged back in (from the screensaver (screen locked)) the krashhandler appeared.

Hope I'm not overeager as this is still in heavy development by chani (btw: THX so much for these great oppurtunities you open us up with this))... hm.. that wasn't english.. well I hope you understood it nonetheless ^^

Backtrace:

Application: Plasma for the Screensaver (plasma-overlay), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb492c6f0 (LWP 1423))]

Thread 1 (Thread 0xb492c6f0 (LWP 1423)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5a7f8f0 in raise () from /lib/libc.so.6
#8  0xb5a81228 in abort () from /lib/libc.so.6
#9  0xb6a00883 in qt_message_output (msgType=QtFatalMsg, buf=0xbf99f3a0 "ASSERT: \"applet!=0\" in file /kde/src/KDE/kdebase/workspace/libs/plasma/containment.cpp, line 833")
    at global/qglobal.cpp:2058
#10 0xb6a008e7 in qFatal (msg=0xb6b4c4b8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2260
#11 0xb6a00d09 in qt_assert (assertion=0xb7f70022 "applet!=0", file=0xb7f6fe2c "/kde/src/KDE/kdebase/workspace/libs/plasma/containment.cpp", line=833) at global/qglobal.cpp:1828
#12 0xb7ebe74c in Plasma::Containment::sceneEventFilter (this=0x8100198, watched=0x82e1ef0, event=0xbf9a152c) at /kde/src/KDE/kdebase/workspace/libs/plasma/containment.cpp:833
#13 0xb65002b7 in QGraphicsScenePrivate::filterEvent (this=0x80d02b8, item=0x82e1ef0, event=0xbf9a152c) at graphicsview/qgraphicsscene.cpp:1026
#14 0xb650031d in QGraphicsScenePrivate::sendEvent (this=0x80d02b8, item=0x82e1ef0, event=0xbf9a152c) at graphicsview/qgraphicsscene.cpp:1044
#15 0xb650200e in QGraphicsScene::setFocusItem (this=0x8121080, item=0x0, focusReason=Qt::OtherFocusReason) at graphicsview/qgraphicsscene.cpp:2634
#16 0xb64efa50 in QGraphicsItem::clearFocus (this=0x82e1ef0) at graphicsview/qgraphicsitem.cpp:1871
#17 0xb652a419 in ~QGraphicsWidget (this=0x82e1ee8) at graphicsview/qgraphicswidget.cpp:218
#18 0xb7e964b1 in ~Applet (this=0x82e1ee8) at /kde/src/KDE/kdebase/workspace/libs/plasma/applet.cpp:128
#19 0xb296da82 in ~ClockApplet (this=0x82e1ee8) at /kde/src/KDE/kdebase/workspace/plasma/applets/libplasmaclock/clockapplet.cpp:72
#20 0xb2979036 in ~Clock (this=0x82e1ee8) at /kde/src/KDE/kdebase/workspace/plasma/applets/analog-clock/clock.cpp:73
#21 0xb7ec501d in qDeleteAll<QList<Plasma::Applet*>::const_iterator> (begin={i = 0xbf9a1604}, end={i = 0xbf9a1600}) at /home/friedreb/qt-copy/include/QtCore/../../src/corelib/tools/qalgorithms.h:352
#22 0xb7ec54ff in qDeleteAll<QList<Plasma::Applet*> > (c=@0x81080ec) at /home/friedreb/qt-copy/include/QtCore/../../src/corelib/tools/qalgorithms.h:360
#23 0xb7ec66c6 in ~ContainmentPrivate (this=0x81080e0) at /kde/src/KDE/kdebase/workspace/libs/plasma/containment_p.h:50
#24 0xb7ec4554 in ~Containment (this=0x8100198) at /kde/src/KDE/kdebase/workspace/libs/plasma/containment.cpp:107
#25 0xb2d8a8a4 in ~SaverDesktop (this=0x8100198) at /kde/src/KDE/kdebase/workspace/krunner/lock/plasma/containment/desktop.cpp:56
#26 0xb7ec9153 in qDeleteAll<QList<Plasma::Containment*>::const_iterator> (begin={i = 0xbf9a1674}, end={i = 0xbf9a1670})
    at /home/friedreb/qt-copy/include/QtCore/../../src/corelib/tools/qalgorithms.h:352
#27 0xb7ec9269 in qDeleteAll<QList<Plasma::Containment*> > (c=@0x80f8db4) at /home/friedreb/qt-copy/include/QtCore/../../src/corelib/tools/qalgorithms.h:360
#28 0xb7ec9b92 in ~CoronaPrivate (this=0x80f8d88) at /kde/src/KDE/kdebase/workspace/libs/plasma/corona.cpp:64
#29 0xb7ec8e9e in ~Corona (this=0x8121080) at /kde/src/KDE/kdebase/workspace/libs/plasma/corona.cpp:191
#30 0x0804f4a6 in ~SaverCorona (this=0x8121080) at /kde/src/KDE/kdebase/workspace/krunner/lock/plasma/savercorona.h:31
#31 0x08052367 in PlasmaApp::cleanup (this=0x80715a0) at /kde/src/KDE/kdebase/workspace/krunner/lock/plasma/plasmaapp.cpp:219
#32 0x08052458 in PlasmaApp::qt_metacall (this=0x80715a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9a1784) at /kde/build/KDE/kdebase/workspace/krunner/lock/plasma/plasmaapp.moc:91
#33 0xb6b0d8e8 in QMetaObject::activate (sender=0x80715a0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3007
#34 0xb6b0dd75 in QMetaObject::activate (sender=0x80715a0, m=0xb6ba57e4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#35 0xb6b4af39 in QCoreApplication::aboutToQuit (this=0x80715a0) at .moc/debug-shared/moc_qcoreapplication.cpp:123
#36 0xb6af9b1d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#37 0xb5f4d0a2 in QApplication::exec () at kernel/qapplication.cpp:3304
#38 0x0805139f in main (argc=1, argv=0xbf9a19c4) at /kde/src/KDE/kdebase/workspace/krunner/lock/plasma/main.cpp:58
Comment 1 Chani 2008-07-18 20:59:03 UTC
that crash looks... familiar. wish I could remember why.
Comment 2 Oliver Putz 2008-08-15 12:07:56 UTC
Created attachment 26858 [details]
Plasma crash backtrace on logout similar to backtrace of bug#166766

I just got a plasma crash with a similar backtrace after I used the start menu
to shutdown the computer. (K -> Leave -> Shutdown) As I did not use the
screensaver at all, I'll only attach my backtrace. If its another problem, just
tell me and I'll give it its own bug.
Comment 3 Alex Merry 2008-08-26 19:27:29 UTC
Ah, it's the fun problem where the focus shifts because you've deleted an applet, but it shifts to something that's already been deleted.

Looking at the backtrace, my original fix won't quite work, but r852814 (trunk) and r852815 (4.1) should hopefully prevent it.