Application that crashed: plasma-desktop Version of the application: 0.3 KDE Version: 4.3.00 (KDE 4.3.0) Qt Version: 4.5.2 Operating System: Linux 2.6.28-14-generic x86_64 Distribution: Ubuntu 9.04 What I was doing when the application crashed: Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 0 (LWP 3354)] Thread 2 (Thread 0x7fc56bded950 (LWP 3355)): #0 0x00007fc587c532e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fc58bd56d19 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #2 0x00007fc58abe081c in ?? () from /usr/lib/libQtNetwork.so.4 #3 0x00007fc58bd55d35 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007fc587c4f3ba in start_thread () from /lib/libpthread.so.0 #5 0x00007fc588833fcd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fc58c31f750 (LWP 3354)): [KCrash Handler] #5 0x00007fc5899f8b20 in QGraphicsLayoutItem::isLayout () from /usr/lib/libQtGui.so.4 #6 0x00007fc5899f7a7d in ?? () from /usr/lib/libQtGui.so.4 #7 0x00007fc589a120db in QGraphicsGridLayout::addItem () from /usr/lib/libQtGui.so.4 #8 0x00007fc56c438fe6 in ?? () from /usr/lib/kde4/plasma_applet_tasks.so #9 0x00007fc56c440c0b in ?? () from /usr/lib/kde4/plasma_applet_tasks.so #10 0x00007fc56c445aab in ?? () from /usr/lib/kde4/plasma_applet_tasks.so #11 0x00007fc58be54ea2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #12 0x00007fc56c433a62 in ?? () from /usr/lib/kde4/plasma_applet_tasks.so #13 0x00007fc56c433e8f in ?? () from /usr/lib/kde4/plasma_applet_tasks.so #14 0x00007fc583763ed9 in Plasma::Applet::flushPendingConstraintsEvents () from /usr/lib/libplasma.so.3 #15 0x00007fc583764525 in Plasma::Applet::timerEvent () from /usr/lib/libplasma.so.3 #16 0x00007fc58be4f263 in QObject::event () from /usr/lib/libQtCore.so.4 #17 0x00007fc5899fd18b in QGraphicsWidget::event () from /usr/lib/libQtGui.so.4 #18 0x00007fc58940af4d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #19 0x00007fc58941318a in QApplication::notify () from /usr/lib/libQtGui.so.4 #20 0x00007fc58a51d71b in KApplication::notify () from /usr/lib/libkdeui.so.5 #21 0x00007fc58be3f6ac in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #22 0x00007fc58be6c516 in ?? () from /usr/lib/libQtCore.so.4 #23 0x00007fc58be68b2d in ?? () from /usr/lib/libQtCore.so.4 #24 0x00007fc587e9e20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #25 0x00007fc587ea18e0 in ?? () from /usr/lib/libglib-2.0.so.0 #26 0x00007fc587ea1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #27 0x00007fc58be68a8f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #28 0x00007fc5894a3bdf in ?? () from /usr/lib/libQtGui.so.4 #29 0x00007fc58be3df42 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #30 0x00007fc58be3e314 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #31 0x00007fc58be405e4 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #32 0x00007fc57fc9c1eb in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so #33 0x0000000000407215 in _start () -- Backtrace: Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 0 (LWP 3354)] Thread 2 (Thread 0x7fc56bded950 (LWP 3355)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fc58bd56d19 in QWaitCondition::wait (this=0x1b359b0, mutex=0x1b359a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007fc58abe081c in QHostInfoAgent::run (this=0x1b35990) at kernel/qhostinfo.cpp:260 #3 0x00007fc58bd55d35 in QThreadPrivate::start (arg=0x1b35990) at thread/qthread_unix.cpp:188 #4 0x00007fc587c4f3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297 #5 0x00007fc588833fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fc58c31f750 (LWP 3354)): [KCrash Handler] #5 QGraphicsLayoutItem::isLayout (this=0x405a800000000000) at graphicsview/qgraphicslayoutitem.cpp:783 #6 0x00007fc5899f7a7d in QGraphicsLayoutPrivate::addChildLayoutItem (this=0x1e002a0, layoutItem=0x35629e0) at graphicsview/qgraphicslayout_p.cpp:151 #7 0x00007fc589a120db in QGraphicsGridLayout::addItem (this=0x1e00240, item=0x35629e0, row=0, column=0, rowSpan=1, columnSpan=1, alignment={i = -1808465728}) at graphicsview/qgraphicsgridlayout.cpp:158 #8 0x00007fc56c438fe6 in TaskItemLayout::layoutItems (this=0x1e00240) at /build/buildd/kdebase-workspace-4.3.0/plasma/applets/tasks/taskitemlayout.cpp:370 #9 0x00007fc56c440c0b in TaskGroupItem::constraintsChanged (this=0x1dff8c0, constraints={i = -1808465488}) at /build/buildd/kdebase-workspace-4.3.0/plasma/applets/tasks/taskgroupitem.cpp:726 #10 0x00007fc56c445aab in TaskGroupItem::qt_metacall (this=0x1dff8c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff943502c0) at /build/buildd/kdebase-workspace-4.3.0/obj-x86_64-linux-gnu/plasma/applets/tasks/taskgroupitem.moc:110 #11 0x00007fc58be54ea2 in QMetaObject::activate (sender=0x19d4db0, from_signal_index=<value optimized out>, to_signal_index=36, argv=0x0) at kernel/qobject.cpp:3113 #12 0x00007fc56c433a62 in Tasks::constraintsChanged (this=0x405a800000000000, _t1=<value optimized out>) at /build/buildd/kdebase-workspace-4.3.0/obj-x86_64-linux-gnu/plasma/applets/tasks/tasks.moc:95 #13 0x00007fc56c433e8f in Tasks::constraintsEvent (this=0x19d4db0, constraints={i = -1808464928}) at /build/buildd/kdebase-workspace-4.3.0/plasma/applets/tasks/tasks.cpp:169 #14 0x00007fc583763ed9 in Plasma::Applet::flushPendingConstraintsEvents (this=0x19d4db0) at /build/buildd/kde4libs-4.3.0/plasma/applet.cpp:1173 #15 0x00007fc583764525 in Plasma::Applet::timerEvent (this=0x19d4db0, event=<value optimized out>) at /build/buildd/kde4libs-4.3.0/plasma/applet.cpp:2120 #16 0x00007fc58be4f263 in QObject::event (this=0x19d4db0, e=0x35629e0) at kernel/qobject.cpp:1075 #17 0x00007fc5899fd18b in QGraphicsWidget::event (this=0x19d4db0, event=0x7fff94350ba0) at graphicsview/qgraphicswidget.cpp:1340 #18 0x00007fc58940af4d in QApplicationPrivate::notify_helper (this=0x13fb3d0, receiver=0x19d4db0, e=0x7fff94350ba0) at kernel/qapplication.cpp:4056 #19 0x00007fc58941318a in QApplication::notify (this=0x13ba420, receiver=0x19d4db0, e=0x7fff94350ba0) at kernel/qapplication.cpp:4021 #20 0x00007fc58a51d71b in KApplication::notify (this=0x13ba420, receiver=0x19d4db0, event=0x7fff94350ba0) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302 #21 0x00007fc58be3f6ac in QCoreApplication::notifyInternal (this=0x13ba420, receiver=0x19d4db0, event=0x7fff94350ba0) at kernel/qcoreapplication.cpp:610 #22 0x00007fc58be6c516 in QTimerInfoList::activateTimers (this=0x13fecd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #23 0x00007fc58be68b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165 #24 0x00007fc587e9e20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #25 0x00007fc587ea18e0 in ?? () from /usr/lib/libglib-2.0.so.0 #26 0x00007fc587ea1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #27 0x00007fc58be68a8f in QEventDispatcherGlib::processEvents (this=0x13facc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #28 0x00007fc5894a3bdf in QGuiEventDispatcherGlib::processEvents (this=0x405a800000000000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #29 0x00007fc58be3df42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1808462320}) at kernel/qeventloop.cpp:149 #30 0x00007fc58be3e314 in QEventLoop::exec (this=0x7fff94350e50, flags={i = -1808462240}) at kernel/qeventloop.cpp:201 #31 0x00007fc58be405e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #32 0x00007fc57fc9c1eb in kdemain (argc=1, argv=0x13ac900) at /build/buildd/kdebase-workspace-4.3.0/plasma/shells/desktop/main.cpp:50 #33 0x0000000000407215 in launch (argc=1, _name=0x13af788 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0x13af7a8 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a3a1 "0") at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:676 #34 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1168 #35 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1361 #36 0x0000000000408b26 in main (argc=2, argv=0x7fff94351cf8, envp=0x7fff94351d10) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1788 Reported using DrKonqi
*** Bug 206370 has been marked as a duplicate of this bug. ***
*** Bug 206374 has been marked as a duplicate of this bug. ***
*** Bug 206162 has been marked as a duplicate of this bug. ***
This bug is extremely hard to reproduce and I believe that the root cause might be the same as of the bug #202199. Many conditions must be met (size, timing and race condition) in order for plasma-desktop to crash. However, a developer who knows the code well might understand what's going on. What is more, I believe it is nearly impossible to reproduce this with plasmoidviewer, only with plasma-desktop. So I have a panel at the bottom of the screen with the following widgets from left to right: kickoff, show desktop, devices recently plugged in, desktop pager (4 desktops, 2 rows), tasks, systray and digital clock. I have 8 icons in the systray, one is hidden. Plasma is unlocked. I have 3 apps visible in the taskbar (akregator, konqueror and konversation). Now I open kickoff menu, select konqueror and... plasma-desktop crashes emitting the following error: QGraphicsScene::removeItem: item 0x2197880's scene (0x0) is different from this scene (0x86bd80) KCrash: Application 'plasma-desktop' crashing... Now my speculation what is going on here. When I select konqueror from kickoff menu, "Loading konqueror" task appears in the taskbar. At the same time, something (?) triggers resize of the panel and for *a very short time* (sometimes even invisible to an eye) the taskbar splits into two rows (during resizing). I don't know how it is technically done then but I guess another QGraphicsScene is created for another row (pure speculation) and "Loading konq" task is added to it. When resizing is done, taskbar goes back to single row mode (maybe it detects that two rows don't fit?), however konqueror finishes starting and obviously "Loading konq" task needs to be removed. However, with taskbar in a single row mode, it tries to remove "Loading konqueror" from the 2nd (non-existing?) row. So plasma-desktop crashes... The big variable here is why micro-resize of the panel is triggered. It confuses taskbar widget which attempts to layout items in two rows and changes mind in a few hundreds of miliseconds. That combined with (unfortunate) need to remove "Loading konqueror" task eventually leads to plasma-desktop crash. I really hope this information helps to solve (both) the(se) bug(s). They really drive me nuts. Contents of my plasma-desktop-appletrc can be found below (with privacy sensitive info removed): [$Version] update_info=plasma_popupapplet_fix_groups.upd:PlasmaPopupAppletFixGroups1 [AppletGlobals][plasma_applet_systemtray] ShowApplicationStatus=true ShowCommunications=true ShowHardware=true ShowJobs=true ShowNotifications=true ShowSystemServices=true [Containments][24] activity=Desktop desktop=-1 formfactor=0 geometry=0,0,1280,1024 immutability=1 location=0 plugin=desktop screen=0 wallpaperplugin=marble wallpaperpluginmode= zvalue=0 [Containments][24][Applets][27] activity= desktop=-1 formfactor=0 geometry=0,15.0000000000001,883,754 immutability=1 location=0 plugin= screen=-1 zvalue=963 [Containments][24][Applets][27][Configuration] activity= desktop=-1 filter=0 filterFiles=* formfactor=0 geometry=0,15.0000000000001,883,754 immutability=1 location=0 mimeFilter= plugin=folderview screen=-1 url=desktop:/ zvalue=209 [Containments][24][Applets][28] geometry=862,32,418,357.000000000001 immutability=1 plugin=plasma_applet_notes zvalue=670 [Containments][24][Applets][28][Configuration] autoFontPercent=3 scrollValue=0 [Containments][24][Applets][30] geometry=883,684,400,300 immutability=1 plugin= zvalue=968 [Containments][24][Applets][30][Configuration] pressureFormat=7 tempFormat=1 updateWeather=30 visibilityFormat=16 windFormat=4 [Containments][24][Applets][30][Configuration][Vilnius] ion=bbcukmet [Containments][24][Applets][31] geometry=16,774,200,200 immutability=1 plugin=pastebin zvalue=813 [Containments][24][Applets][31][Configuration] HistorySize=3 ImageBackend=0 TextBackend=1 imagebinca=http://imagebin.ca imageshack=http://imageshack.us pastebinca=http://pastebin.ca pastebincom=http://pastebin.com [Containments][24][Applets][36] geometry=901,524.999999999998,370,440 immutability=1 plugin=news zvalue=797 [Containments][24][Applets][36][Configuration] interval=30 showDescriptions=false showTimestamps=true showTitles=true [Containments][24][ToolBox] corner=1 offset=0 [Containments][24][Wallpaper][image] slideTimer=600 slidepaths=/usr/share/wallpapers/ userswallpapers= wallpapercolor=56,111,150 wallpaperposition=0 [Containments][24][Wallpaper][marble] mapTheme=earth/bluemarble/bluemarble.dgml movement=0 positionLatitude=46.2764137640567 positionLongitude=30.1837535369751 projection=0 quality=1 rotateLatitude=0 rotateLongitude=0.025 rotationTimeout=120000 showPlacemarks=false zoom=1241 [Containments][24][Wallpaper][weather] updateWeather=30 userswallpapers= wallpapercolor=56,111,150 wallpaperposition=0 [Containments][3] activity= desktop=-1 formfactor=2 geometry=0,-41,1206,35 immutability=1 location=4 plugin=panel screen=0 zvalue=150 [Containments][3][Applets][16] geometry=4,3,32,32 immutability=1 plugin=launcher zvalue=0 [Containments][3][Applets][23] geometry=814,3,266,32 immutability=1 plugin=systemtray zvalue=484 [Containments][3][Applets][23][Configuration] AutoHidePopup=true hidden= [Containments][3][Applets][23][Configuration][ExtenderItems][1] extenderIconName= extenderItemName=jobGroup extenderItemPosition=0 extenderTitle= groupCollapsed=false isCollapsed=false isGroup=true sourceAppletId=23 sourceAppletPluginName=systemtray [Containments][3][Applets][23][Configuration][ExtenderItems][119] labelName0=Šaltinis labelName1=Tikslas [Containments][3][Applets][23][Configuration][ExtenderItems][121] label1= labelName0=Šaltinis labelName1= [Containments][3][Applets][23][Configuration][ExtenderItems][123] labelName0=Šaltinis labelName1=Tikslas [Containments][3][Applets][23][Configuration][ExtenderItems][2] extenderIconName= extenderItemName=completedJobsGroup extenderItemPosition=0 extenderTitle=0 neseniai baigtų užduočių: groupCollapsed=false isCollapsed=false isGroup=true sourceAppletId=23 sourceAppletPluginName=systemtray [Containments][3][Applets][23][Configuration][PopupApplet] DialogHeight=75 DialogWidth=200 [Containments][3][Applets][23][PopupApplet] DialogHeight=14 DialogWidth=0 [Containments][3][Applets][34] geometry=1084,3,96,32 immutability=1 plugin=digital-clock zvalue=0 [Containments][3][Applets][34][Configuration] announceInterval=0 defaultTimezone=Local displayHolidays=false holidaysRegion=lt plainClockColor=255,255,255 plainClockFont=Liberation Sans,20,-1,5,50,0,0,0,0,0 showDate=true showDay=true showSeconds=true showTimezone=false showYear=false timeZones= useCustomColor=false [Containments][3][Applets][34][Configuration][ExtenderItems][6] extenderIconName=view-pim-calendar extenderItemName=calendar extenderItemPosition=0 extenderTitle=Kalendorius isCollapsed=false sourceAppletId=34 sourceAppletPluginName=digital-clock [Containments][3][Applets][34][PopupApplet] DialogHeight=270 DialogWidth=246 [Containments][3][Applets][37] geometry=40,3,32,32 immutability=1 plugin=showdesktop zvalue=729 [Containments][3][Applets][37][Shortcuts] global=Meta+D [Containments][3][Applets][5] geometry=76,3,32,32 immutability=1 plugin=notifier zvalue=0 [Containments][3][Applets][6] geometry=112,3,41,32 immutability=1 plugin=pager zvalue=0 [Containments][3][Applets][7] geometry=157,3,653,32 immutability=1 plugin=tasks zvalue=815 [Containments][3][Applets][7][Configuration] showOnlyCurrentDesktop=true showOnlyCurrentScreen=true [Containments][3][Configuration] maximumSize=1241,35 minimumSize=1206,35 [General] immutability=1
*** This bug has been marked as a duplicate of bug 199615 ***
@Beat: are you sure those reports are the same ? The second one seems more related to some Python widget/scriptengine while this is related to the taskbar.
*** Bug 210082 has been marked as a duplicate of this bug. ***
@dario, good question. i actually think it's a bug in qt, just triggered from two different paths. But we can reopen it if you disagree. it's indeed hard to tell.
Ok, reopening... Thanks
this is the preferredSize crash ... forget what the # is. already submitted a fix for it.
*** Bug 211564 has been marked as a duplicate of this bug. ***
*** Bug 211674 has been marked as a duplicate of this bug. ***
*** Bug 212094 has been marked as a duplicate of this bug. ***
*** Bug 214937 has been marked as a duplicate of this bug. ***
*** Bug 215886 has been marked as a duplicate of this bug. ***
*** Bug 216607 has been marked as a duplicate of this bug. ***
*** Bug 217934 has been marked as a duplicate of this bug. ***
*** Bug 217912 has been marked as a duplicate of this bug. ***
*** Bug 218239 has been marked as a duplicate of this bug. ***
*** Bug 218325 has been marked as a duplicate of this bug. ***
If so many people are still reporting this issue with the latest code (see the 10 duplicate bug reports in the last two months), why is this issue set to "RESOLVED as FIXED"? I certainly am still seeing plasma desktop crashing on a fairly regular basis, and obviously I'm not the only one.
AFAIK, this is fixed in KDE SC 4.4, and may be in the last 4.3 version (4.3.4) too. All the reports marked as duplicates are using 4.3.2 or 4.3.1 (not the "latest code") There are other taskbar related crashes which are being tracked in different bug reports too..
*** Bug 218490 has been marked as a duplicate of this bug. ***
*** Bug 219120 has been marked as a duplicate of this bug. ***
*** Bug 222220 has been marked as a duplicate of this bug. ***
*** Bug 222856 has been marked as a duplicate of this bug. ***
*** Bug 223056 has been marked as a duplicate of this bug. ***
*** Bug 223205 has been marked as a duplicate of this bug. ***
*** Bug 225392 has been marked as a duplicate of this bug. ***
*** Bug 227446 has been marked as a duplicate of this bug. ***
*** Bug 228330 has been marked as a duplicate of this bug. ***
*** Bug 224433 has been marked as a duplicate of this bug. ***
*** Bug 229080 has been marked as a duplicate of this bug. ***