Bug 188378

Summary: plasma-desktop crashed while toggling window grouping
Product: [Unmaintained] plasma4 Reporter: Raphael Kubo da Costa <rakuco>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: 10zero11, 4ernov, acb, andreaswuest, andresbajotierra, aseigo, a_kouz, beyond.serenity, bingohanz666, danelkan, dantou, dbout, dckorah, django02, dverbeek, eboxw, egxoun8uya67izy, ellenshull, gilles.zumbach, gorgonz, gstumpf020, jabennett, JamesDHolby, jaymac407, jbarbalace0, kde, kenlewis, kermit, kosava, mabrand, maier_jo, malte.gell, mats.rhen, Maxei_95, mcmanus, michael.merkle4, ms, olaf.meltzer, olivier, ossi, pelach, polong, psychonaut, r.ambridge, rleevent, t.kijas, Tanktalus, team, tonywhite100, toreadorvampire, user581, valentin.slawi, veronig.simon, wooly1111, yp.sferics
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Different backtrace

Description Raphael Kubo da Costa 2009-03-29 04:28:06 UTC
Version:           svn r945689 (using Devel)
OS:                Linux
Installed from:    Compiled sources

I had two Kopete windows grouped (the contact list and a chat window). When I right-clicked the group in the task bar and chose not to group those windows, plasma-desktop crashed.

Backtrace:

Application: Plasma Workspace (plasma-desktop), signal SIGSEGV
[Current thread is 0 (LWP 9474)]

Thread 2 (Thread 0xa806fb90 (LWP 9475)):
#0  0xb8049424 in __kernel_vsyscall ()
#1  0xb65f2c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb665cf20 in QWaitConditionPrivate::wait (this=0x9e71ef0, time=4294967295) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:87
#3  0xb665ca1f in QWaitCondition::wait (this=0x9e60bd0, mutex=0x9e60bcc, time=4294967295) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159
#4  0xb7a03343 in QHostInfoAgent::run (this=0x9e60bc0) at /home/kubo/kde4/build/qt-copy/src/network/kernel/qhostinfo.cpp:260
#5  0xb665c5fb in QThreadPrivate::start (arg=0x9e60bc0) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qthread_unix.cpp:189
#6  0xb65ef155 in start_thread () from /lib/libpthread.so.0
#7  0xb644da5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3f7a730 (LWP 9474)):
[KCrash Handler]
#6  0xa82650e2 in TaskManager::AbstractGroupingStrategy::closeGroup (this=0xa23a078, group=0x9e2eb50) at /home/kubo/kde4/build/kdebase/workspace/libs/taskmanager/abstractgroupingstrategy.cpp:142
#7  0xa826fa4b in TaskManager::ProgramGroupingStrategy::toggleGrouping (this=0xa23a078) at /home/kubo/kde4/build/kdebase/workspace/libs/taskmanager/strategies/programgroupingstrategy.cpp:120
#8  0xa826fb1d in TaskManager::ProgramGroupingStrategy::qt_metacall (this=0xa23a078, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf96478c)
    at /home/kubo/kde4/build/build/kdebase/workspace/libs/taskmanager/programgroupingstrategy.moc:69
#9  0xb67675a7 in QMetaObject::activate (sender=0x9d75af8, from_signal_index=5, to_signal_index=6, argv=0xbf96478c) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3066
#10 0xb67677d4 in QMetaObject::activate (sender=0x9d75af8, m=0xb71ab2e8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf96478c)
    at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3163
#11 0xb69cb67a in QAction::triggered (this=0x9d75af8, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236
#12 0xb69cd388 in QAction::activate (this=0x9d75af8, event=QAction::Trigger) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qaction.cpp:1160
#13 0xb6e8c377 in QMenuPrivate::activateCausedStack (this=0xa1b6fe0, causedStack=@0xbf964840, action=0x9d75af8, action_e=QAction::Trigger, self=true)
    at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmenu.cpp:962
#14 0xb6e90b9c in QMenuPrivate::activateAction (this=0xa1b6fe0, action=0x9d75af8, action_e=QAction::Trigger, self=true) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmenu.cpp:1058
#15 0xb6e928ad in QMenu::mouseReleaseEvent (this=0xbf965820, e=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmenu.cpp:2252
#16 0xb6a346b8 in QWidget::event (this=0xbf965820, event=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:7516
#17 0xb6e91c57 in QMenu::event (this=0xbf965820, e=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmenu.cpp:2351
#18 0xb69d386b in QApplicationPrivate::notify_helper (this=0x9a79210, receiver=0xbf965820, e=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4084
#19 0xb69d45ee in QApplication::notify (this=0x9a70720, receiver=0xbf965820, e=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3786
#20 0xb77a97e1 in KApplication::notify (this=0x9a70720, receiver=0xbf965820, event=0xbf964f34) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:307
#21 0xb6751173 in QCoreApplication::notifyInternal (this=0x9a70720, receiver=0xbf965820, event=0xbf964f34) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#22 0xb69df4b7 in QCoreApplication::sendSpontaneousEvent (receiver=0xbf965820, event=0xbf964f34) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:216
#23 0xb69d8590 in QApplicationPrivate::sendMouseEvent (receiver=0xbf965820, event=0xbf964f34, alienWidget=0x0, nativeWidget=0xbf965820, buttonDown=0xb71cafa0, lastMouseReceiver=@0xb71cafa4)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:2940
#24 0xb6a55490 in QETWidget::translateMouseEvent (this=0xbf965820, event=0xbf965550) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication_x11.cpp:4359
#25 0xb6a5662d in QApplication::x11ProcessEvent (this=0x9a70720, event=0xbf965550) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication_x11.cpp:3421
#26 0xb6a81215 in x11EventSourceDispatch (s=0x9a7b270, callback=0, user_data=0x0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#27 0xb52b55e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb52b8b4b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0xb52b8cc8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb677fe82 in QEventDispatcherGlib::processEvents (this=0x9a78898, flags={i = -1080666344}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#31 0xb6a80a30 in QGuiEventDispatcherGlib::processEvents (this=0x9a78898, flags={i = -1080666296}) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#32 0xb674e158 in QEventLoop::processEvents (this=0xbf9657d4, flags={i = -1080666224}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#33 0xb674e3b2 in QEventLoop::exec (this=0xbf9657d4, flags={i = -1080666148}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#34 0xb6e8f26c in QMenu::exec (this=0xbf965820, p=@0xbf965834, action=0x0) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmenu.cpp:1991
#35 0xa82b1fd7 in TaskGroupItem::contextMenuEvent (this=0xa0bb3d0, e=0xbf965ee8) at /home/kubo/kde4/build/kdebase/workspace/plasma/applets/tasks/taskgroupitem.cpp:376
#36 0xb7044f31 in QGraphicsItem::sceneEvent (this=0xa0bb3d8, event=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:4762
#37 0xb708133b in QGraphicsWidget::sceneEvent (this=0xa0bb3d0, event=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1089
#38 0xb705052c in QGraphicsScenePrivate::sendEvent (this=0x9bef728, item=0xa0bb3d8, event=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1150
#39 0xb705fc36 in QGraphicsScene::contextMenuEvent (this=0x9c0e4d0, contextMenuEvent=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3809
#40 0xb705eb18 in QGraphicsScene::event (this=0x9c0e4d0, event=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3619
#41 0xb69d386b in QApplicationPrivate::notify_helper (this=0x9a79210, receiver=0x9c0e4d0, e=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4084
#42 0xb69d3c1f in QApplication::notify (this=0x9a70720, receiver=0x9c0e4d0, e=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3631
#43 0xb77a97e1 in KApplication::notify (this=0x9a70720, receiver=0x9c0e4d0, event=0xbf965ee8) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:307
#44 0xb6751173 in QCoreApplication::notifyInternal (this=0x9a70720, receiver=0x9c0e4d0, event=0xbf965ee8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#45 0xb69d02ad in QCoreApplication::sendEvent (receiver=0x9c0e4d0, event=0xbf965ee8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:213
#46 0xb706f148 in QGraphicsView::contextMenuEvent (this=0x9cc8218, event=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2959
#47 0xb6a34e42 in QWidget::event (this=0x9cc8218, event=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:7675
#48 0xb6e43458 in QFrame::event (this=0x9cc8218, e=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qframe.cpp:559
#49 0xb6ee0d73 in QAbstractScrollArea::viewportEvent (this=0x9cc8218, e=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:962
#50 0xb706f61b in QGraphicsView::viewportEvent (this=0x9cc8218, event=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2933
#51 0xb6ee3962 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9cc5700, event=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:100
#52 0xb6ee3990 in QAbstractScrollAreaFilter::eventFilter (this=0x9cce8c0, o=0x9ccfba8, e=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:111
#53 0xb674f538 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9a79210, receiver=0x9ccfba8, event=0xbf9665d4)
    at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:718
#54 0xb69d3848 in QApplicationPrivate::notify_helper (this=0x9a79210, receiver=0x9ccfba8, e=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4080
#55 0xb69d4d63 in QApplication::notify (this=0x9a70720, receiver=0x9ccfba8, e=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3873
#56 0xb77a97e1 in KApplication::notify (this=0x9a70720, receiver=0x9ccfba8, event=0xbf9665d4) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:307
#57 0xb6751173 in QCoreApplication::notifyInternal (this=0x9a70720, receiver=0x9ccfba8, event=0xbf9665d4) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#58 0xb69df4b7 in QCoreApplication::sendSpontaneousEvent (receiver=0x9ccfba8, event=0xbf9665d4) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:216
#59 0xb6a557a6 in QETWidget::translateMouseEvent (this=0x9cc8218, event=0xbf966bf0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication_x11.cpp:4431
#60 0xb6a5662d in QApplication::x11ProcessEvent (this=0x9a70720, event=0xbf966bf0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication_x11.cpp:3421
#61 0xb6a81215 in x11EventSourceDispatch (s=0x9a7b270, callback=0, user_data=0x0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#62 0xb52b55e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb52b8b4b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#64 0xb52b8cc8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb677fe82 in QEventDispatcherGlib::processEvents (this=0x9a78898, flags={i = -1080660552}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#66 0xb6a80a30 in QGuiEventDispatcherGlib::processEvents (this=0x9a78898, flags={i = -1080660504}) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#67 0xb674e158 in QEventLoop::processEvents (this=0xbf966e70, flags={i = -1080660432}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#68 0xb674e3b2 in QEventLoop::exec (this=0xbf966e70, flags={i = -1080660360}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#69 0xb675194b in QCoreApplication::exec () at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880
#70 0xb69d3584 in QApplication::exec () at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3553
#71 0xb8006cb1 in kdemain (argc=1, argv=0xbf967034) at /home/kubo/kde4/build/kdebase/workspace/plasma/shells/desktop/main.cpp:50
#72 0x08048762 in main (argc=) at /home/kubo/kde4/build/build/kdebase/workspace/plasma/shells/desktop/plasma-desktop_dummy.cpp:3
Comment 1 Dario Andres 2009-03-29 15:28:12 UTC
The crash seems related to bug 188339 too. But now we have an explanation :)
Can you reproduce this at will with the description you provided? Thanks
Comment 2 Raphael Kubo da Costa 2009-03-29 16:35:32 UTC
Yes, I can, and it only happens to Kopete. If I have two or more Kopete windows grouped and choose not to allow them to be grouped, Plasma crashes.

I don't know if it is really related to bug 188339, though, as I was not performing the same tasks in that bug report.
Comment 3 Aaron J. Seigo 2009-03-29 21:40:04 UTC
yes, please mark all these bugs as dupes, and make this one the main report (given the nice "how to reproduce" comment). 

and if i were to guess, i'll bet it has something to do with destroying a group just when another item is about to be added to it or removed, as kopete often does due to chats coming and going.
Comment 4 Dario Andres 2009-03-29 22:38:34 UTC
*** Bug 188339 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-03-29 22:48:47 UTC
*** Bug 183818 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-03-29 22:51:33 UTC
*** Bug 184007 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-03-29 22:52:21 UTC
*** Bug 184358 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-03-29 22:54:21 UTC
*** Bug 187140 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2009-03-29 22:55:47 UTC
*** Bug 187368 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-03-29 22:56:04 UTC
*** Bug 187837 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-03-29 22:57:12 UTC
*** Bug 178076 has been marked as a duplicate of this bug. ***
Comment 12 Remco Bloemen 2009-04-01 09:58:20 UTC
Created attachment 32514 [details]
Different backtrace

I got a crash with a backtrace similar to bug 178076 when I closed a non plasma related window, I think it was konqueror. Since bug 178076 bug is marked dupe of this bug I'll post it here, even though the causation and backtrace seem to differ from the one in the description here:

[KCrash Handler]
#5  0x00007f03549afb95 in QMetaObject::activate (sender=0x3a1e5e0, m=<value optimized out>, local_signal_index=0, argv=0x7fff5f2fa9a0) at kernel/qobject.cpp:3130
#6  0x00007f033bf7128f in TaskManager::AbstractGroupingStrategy::groupRemoved (this=0x7f033c19c760, _t1=0x2906850)
    at /var/tmp/paludis/kde-base-libtaskmanager-4.2.1/work/libtaskmanager_build/libs/taskmanager/abstractgroupingstrategy.moc:89
#7  0x00007f033bf7287e in TaskManager::AbstractGroupingStrategy::closeGroup (this=0x3a1e5e0, group=0x2906850)
    at /var/tmp/paludis/kde-base-libtaskmanager-4.2.1/work/libtaskmanager-4.2.1/libs/taskmanager/abstractgroupingstrategy.cpp:143
[etc.]

I attached the full backtrace, this is on Gentoo 64bit kde-4.2.1 qt-4.5.0 gcc-4.3.3.
Comment 13 Dario Andres 2009-04-05 17:23:38 UTC
*** Bug 188865 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2009-04-16 01:17:11 UTC
*** Bug 189712 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2009-04-17 14:43:57 UTC
*** Bug 189811 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2009-04-19 15:10:46 UTC
*** Bug 190037 has been marked as a duplicate of this bug. ***
Comment 17 Aaron J. Seigo 2009-04-26 04:07:48 UTC
*** Bug 181472 has been marked as a duplicate of this bug. ***
Comment 18 Aaron J. Seigo 2009-04-26 04:09:29 UTC
*** Bug 183635 has been marked as a duplicate of this bug. ***
Comment 19 Aaron J. Seigo 2009-04-26 04:09:59 UTC
*** Bug 185610 has been marked as a duplicate of this bug. ***
Comment 20 Aaron J. Seigo 2009-04-26 04:10:41 UTC
*** Bug 189587 has been marked as a duplicate of this bug. ***
Comment 21 Aaron J. Seigo 2009-04-26 04:12:32 UTC
*** Bug 190678 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2009-04-29 16:28:15 UTC
*** Bug 190995 has been marked as a duplicate of this bug. ***
Comment 23 Aaron J. Seigo 2009-04-29 22:47:19 UTC
*** Bug 191080 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2009-05-01 01:30:39 UTC
*** Bug 191186 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-05-06 17:51:05 UTC
*** Bug 191824 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-05-15 21:05:06 UTC
*** Bug 192805 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2009-05-18 23:49:12 UTC
*** Bug 193131 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2009-05-18 23:49:29 UTC
*** Bug 193169 has been marked as a duplicate of this bug. ***
Comment 29 Dario Andres 2009-05-19 00:17:34 UTC
*** Bug 193171 has been marked as a duplicate of this bug. ***
Comment 30 Aaron J. Seigo 2009-05-19 09:29:40 UTC
*** Bug 192708 has been marked as a duplicate of this bug. ***
Comment 31 A. Spehr 2009-05-19 09:30:12 UTC
*** Bug 193204 has been marked as a duplicate of this bug. ***
Comment 32 Marco Martin 2009-05-19 13:39:13 UTC
*** Bug 193235 has been marked as a duplicate of this bug. ***
Comment 33 Craig Fowler 2009-05-19 13:48:57 UTC
My bug report https://bugs.kde.org/show_bug.cgi?id=193235 has been marked as a duplicate of this - and maybe it is.  Whilst "I can't say I was doing anything unusual/specific to cause the crash" I certainly wasn't doing anything related to grouping/ungrouping windows on my task bar.

I didn't have enough windows at the time to trigger automatic grouping and my mouse cursor wasn't even anywhere near the task bar at the time of the crash, I think I was just selecting some text in monodevelop when it crashed.
Comment 34 Dario Andres 2009-05-20 14:46:18 UTC
*** Bug 193316 has been marked as a duplicate of this bug. ***
Comment 35 Dario Andres 2009-05-20 14:46:51 UTC
*** Bug 193331 has been marked as a duplicate of this bug. ***
Comment 36 Jonathan Thomas 2009-05-21 16:50:49 UTC
*** Bug 193521 has been marked as a duplicate of this bug. ***
Comment 37 Dario Andres 2009-05-22 14:42:47 UTC
*** Bug 193631 has been marked as a duplicate of this bug. ***
Comment 38 Dario Andres 2009-05-23 14:22:27 UTC
*** Bug 193735 has been marked as a duplicate of this bug. ***
Comment 39 Dario Andres 2009-05-24 15:13:11 UTC
*** Bug 193846 has been marked as a duplicate of this bug. ***
Comment 40 A. Spehr 2009-05-26 08:17:09 UTC
*** Bug 194123 has been marked as a duplicate of this bug. ***
Comment 41 Dario Andres 2009-05-27 02:18:46 UTC
*** Bug 194154 has been marked as a duplicate of this bug. ***
Comment 42 Dario Andres 2009-05-28 19:40:18 UTC
*** Bug 194457 has been marked as a duplicate of this bug. ***
Comment 43 Dario Andres 2009-06-01 02:57:11 UTC
*** Bug 194788 has been marked as a duplicate of this bug. ***
Comment 44 Dario Andres 2009-06-04 01:17:49 UTC
*** Bug 195152 has been marked as a duplicate of this bug. ***
Comment 45 Christophe Marin 2009-06-06 12:50:44 UTC
*** Bug 195424 has been marked as a duplicate of this bug. ***
Comment 46 Dario Andres 2009-06-07 14:43:55 UTC
*** Bug 195526 has been marked as a duplicate of this bug. ***
Comment 47 Dario Andres 2009-06-09 00:23:47 UTC
*** Bug 195627 has been marked as a duplicate of this bug. ***
Comment 48 Aaron J. Seigo 2009-06-10 18:01:54 UTC
*** Bug 195910 has been marked as a duplicate of this bug. ***
Comment 49 Dario Andres 2009-06-11 14:38:02 UTC
*** Bug 196011 has been marked as a duplicate of this bug. ***
Comment 50 Dario Andres 2009-06-12 15:42:19 UTC
*** Bug 196188 has been marked as a duplicate of this bug. ***
Comment 51 Dario Andres 2009-06-12 15:43:02 UTC
*** Bug 196185 has been marked as a duplicate of this bug. ***
Comment 52 Craig Fowler 2009-06-13 20:58:04 UTC
*** This bug has been confirmed by popular vote. ***
Comment 53 Craig Fowler 2009-06-13 21:01:35 UTC
Here's another backtrace - just reproduced this using KDE 4.2.4 (Kubuntu Jaunty Launchpad PPA)

Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 3437)]

Thread 4 (Thread 0xa697cb90 (LWP 3471)):
#0  0xb7f00430 in __kernel_vsyscall ()
#1  0xb623b7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb650f380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb643d96e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb50524ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb624349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa22d4b90 (LWP 3473)):
#0  0xb7f00430 in __kernel_vsyscall ()
#1  0xb50560e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb643e9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb78bd152 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb643d96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb50524ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb624349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa1aa9b90 (LWP 3474)):
#0  0xb7f00430 in __kernel_vsyscall ()
#1  0xb50560e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62522ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb643e9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa70a0b9a in RenderThread::run (this=0x9e07a64) at /build/buildd/kdebase-workspace-4.2.4/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb643d96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb50524ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb624349e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3bef730 (LWP 3437)):
[KCrash Handler]
#6  0xb654ceaa in QTimer::stop () from /usr/lib/libQtCore.so.4
#7  0xa882ba54 in TaskGroupItem::mouseReleaseEvent (this=0xc5804e8, event=0xbfa1d4c4) at /build/buildd/kdebase-workspace-4.2.4/plasma/applets/tasks/taskgroupitem.cpp:494
#8  0xb6e14c54 in QGraphicsItem::sceneEvent () from /usr/lib/libQtGui.so.4
#9  0xb6e61f9f in QGraphicsWidget::sceneEvent () from /usr/lib/libQtGui.so.4
#10 0xb6e391cc in ?? () from /usr/lib/libQtGui.so.4
#11 0xb6e3a412 in ?? () from /usr/lib/libQtGui.so.4
#12 0xb6e421c1 in QGraphicsScene::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#13 0xb6e4254a in QGraphicsScene::event () from /usr/lib/libQtGui.so.4
#14 0xb67dee9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0xb67e719e in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0xb7634e0d in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0xb6531a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0xb6e577c2 in QGraphicsView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#19 0xb6835b43 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb6c0f993 in QFrame::event () from /usr/lib/libQtGui.so.4
#21 0xb6caf94f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#22 0xb6e53102 in QGraphicsView::viewportEvent () from /usr/lib/libQtGui.so.4
#23 0xb6cb1f55 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb6530c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#25 0xb67dee7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb67e7b11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb7634e0d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb6531a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb67e6b7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#30 0xb685697e in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6855ca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0xb6880c6a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb4e50b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb4e540eb in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb4e54268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb655d438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb6880365 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb653006a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb65304aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0xb6532959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#41 0xb67ded17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#42 0xb7ea9b56 in kdemain (argc=1, argv=0xbfa1e524) at /build/buildd/kdebase-workspace-4.2.4/plasma/shells/desktop/main.cpp:54
#43 0x08048712 in main (argc=0, argv=0x0) at /build/buildd/kdebase-workspace-4.2.4/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
Comment 54 Dario Andres 2009-06-16 19:24:21 UTC
*** Bug 196780 has been marked as a duplicate of this bug. ***
Comment 55 Dario Andres 2009-06-17 14:17:57 UTC
*** Bug 196838 has been marked as a duplicate of this bug. ***
Comment 56 Aaron J. Seigo 2009-06-19 20:02:10 UTC
*** Bug 197183 has been marked as a duplicate of this bug. ***
Comment 57 Jay MacDonald 2009-06-19 20:04:15 UTC
I have a great idea. Why doesn't one lazy ass instead of assigning duplicates to this bug, take the time to fix it? HOW UNEXPECTED?!?!

Seriously.
It's that exact reason why most of the main distros are not using KDE.
Comment 58 Aaron J. Seigo 2009-06-19 20:37:13 UTC
"Why doesn't one lazy ass instead of assigning duplicates to this bug, take the time to fix it? HOW UNEXPECTED?!?!"

Jay, this is out of line and is not acceptable behaviour in this community. bugs.kde.org is a resource we all share and one where calling people names is neither useful nor appropriate.

Perhaps you could be the person who fixes it. Otherwise, be patient as we have been fixing and improving quite a lot of defects during this development cycle but haven't gotten to every single one. This one in particular is difficult as the problem is not only unobvious it's not easy to replicate.

You may also wish to consider that your approach to venting has the exact opposite effect you hoped for. Please keep your comments constructive or keep them to yourself.

Thanks.
Comment 59 Bob Ish 2009-06-19 22:08:04 UTC
Duplicate bug though this maybe I hope this backtrace is of some help:
 -- Backtrace:
Application: Plasma Workspace (kdeinit), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa204a54750 (LWP 4292))]

Thread 6 (Thread 0x7fa1dee12950 (LWP 4296)):
#0  0x00007fa204221fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa1e4eb3631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fa20421e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa200d5410d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa1ddd69950 (LWP 4299)):
#0  0x00007fa200d4b386 in poll () from /lib64/libc.so.6
#1  0x00007fa1ddda39c1 in ?? () from
/usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fa20421e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa200d5410d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa1dd526950 (LWP 4300)):
#0  0x00007fa204221d59 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa1e4ec4c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fa20421e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa200d5410d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa1dcd25950 (LWP 4301)):
#0  0x00007fa200d4b386 in poll () from /lib64/libc.so.6
#1  0x00007fa2003d5768 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa2003d5a8b in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa2045a48be in QEventDispatcherGlib::processEvents (this=0xcbfa80,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x00007fa2045799f2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -590196736}) at kernel/qeventloop.cpp:149
#5  0x00007fa204579dbd in QEventLoop::exec (this=0x7fa1dcd25040, flags={i =
-590196656}) at kernel/qeventloop.cpp:200
#6  0x00007fa20448ef88 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fa1e510cf41 in ?? () from /usr/lib64/kde4/phonon_xine.so
#8  0x00007fa204491f22 in QThreadPrivate::start (arg=0xcbf8c0) at
thread/qthread_unix.cpp:189
#9  0x00007fa20421e070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa200d5410d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa1dbef2950 (LWP 4302)):
#0  0x00007fa204221d59 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa204492ed9 in QWaitCondition::wait (this=0xecbef0, mutex=0xecbee8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fa2030ca5ec in QHostInfoAgent::run (this=0xecbed0) at
kernel/qhostinfo.cpp:260
#3  0x00007fa204491f22 in QThreadPrivate::start (arg=0xecbed0) at
thread/qthread_unix.cpp:189
#4  0x00007fa20421e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa200d5410d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa204a54750 (LWP 4292)):
[KCrash Handler]
#5  0x00007fa1e75eea3c in
TaskManager::AbstractGroupingStrategy::closeGroup(TaskManager::TaskGroup*) ()
from /usr/lib64/libtaskmanager.so.4
#6  0x00007fa1e75f5b48 in ?? () from /usr/lib64/libtaskmanager.so.4
#7  0x00007fa1e75f672d in ?? () from /usr/lib64/libtaskmanager.so.4
#8  0x00007fa204590c22 in QMetaObject::activate (sender=0x14658f0,
from_signal_index=<value optimized out>, to_signal_index=22, argv=0x1) at
kernel/qobject.cpp:3120
#9  0x00007fa1e7607812 in
TaskManager::TaskGroup::itemRemoved(TaskManager::AbstractGroupableItem*) ()
from /usr/lib64/libtaskmanager.so.4
#10 0x00007fa1e75f11f2 in ?? () from /usr/lib64/libtaskmanager.so.4
#11 0x00007fa1e75f318d in
TaskManager::GroupManager::qt_metacall(QMetaObject::Call, int, void**) () from
/usr/lib64/libtaskmanager.so.4
#12 0x00007fa204590c22 in QMetaObject::activate (sender=0xd7ce70,
from_signal_index=<value optimized out>, to_signal_index=5, argv=0x1) at
kernel/qobject.cpp:3120
#13 0x00007fa1e760aa85 in
TaskManager::TaskManager::taskRemoved(KSharedPtr<TaskManager::Task>) () from
/usr/lib64/libtaskmanager.so.4
#14 0x00007fa1e760bf7e in TaskManager::TaskManager::windowRemoved(unsigned
long) () from /usr/lib64/libtaskmanager.so.4
#15 0x00007fa1e760de7f in
TaskManager::TaskManager::qt_metacall(QMetaObject::Call, int, void**) () from
/usr/lib64/libtaskmanager.so.4
#16 0x00007fa204590c22 in QMetaObject::activate (sender=0x968330,
from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1) at
kernel/qobject.cpp:3120
#17 0x00007fa202b33942 in KWindowSystem::windowRemoved(unsigned long) () from
/usr/lib64/libkdeui.so.5
#18 0x00007fa202b35e3b in ?? () from /usr/lib64/libkdeui.so.5
#19 0x00007fa202b44cc0 in NETRootInfo::update(unsigned long const*) () from
/usr/lib64/libkdeui.so.5
#20 0x00007fa202b44ffb in NETRootInfo::event(_XEvent*, unsigned long*, int) ()
from /usr/lib64/libkdeui.so.5
#21 0x00007fa202b3610b in ?? () from /usr/lib64/libkdeui.so.5
#22 0x00007fa202a06463 in KApplication::x11EventFilter(_XEvent*) () from
/usr/lib64/libkdeui.so.5
#23 0x00007fa1f7f2d047 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#24 0x00007fa20194e9af in qt_x11EventFilter (ev=0x7fff0ca8a960) at
kernel/qapplication_x11.cpp:375
#25 0x00007fa201961ea4 in QApplication::x11ProcessEvent (this=0x677520,
event=0x7fff0ca8a960) at kernel/qapplication_x11.cpp:3285
#26 0x00007fa20198a384 in x11EventSourceDispatch (s=0x683cb0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007fa2003d20fb in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007fa2003d58cd in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fa2003d5a8b in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#30 0x00007fa2045a489f in QEventDispatcherGlib::processEvents (this=0x67fb90,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#31 0x00007fa201989b0f in QGuiEventDispatcherGlib::processEvents
(this=0x615498, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007fa2045799f2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 212380752}) at kernel/qeventloop.cpp:149
#33 0x00007fa204579dbd in QEventLoop::exec (this=0x7fff0ca8ac90, flags={i =
212380832}) at kernel/qeventloop.cpp:200
#34 0x00007fa20457c0a4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#35 0x00007fa1f7f19e7b in kdemain () from
/usr/lib64/libkdeinit4_plasma-desktop.so
#36 0x000000000040724e in _start ()
Also this is from a PC using Opensuse 11.1 KDE 4.3 beta2 release 139.
Hope I Helped
Comment 60 Peter Möller 2009-06-20 10:15:42 UTC
of course, this bug is an elder story, but i'm not sure about the right way to help. One can read, that the reasons are well known, while others say, that they have different failure presumptions. Is it still usefull to have more backtraces?
Comment 61 Aaron J. Seigo 2009-06-21 21:28:53 UTC
SVN commit 984926 by aseigo:

the task item pointer held on to during menus can be deleted on us, so use a
QPointer; fixes some of the backtraces in the following reports:
CCBUGS:193042,188378


 M  +7 -1      programgroupingstrategy.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=984926
Comment 62 Aaron J. Seigo 2009-06-21 21:29:32 UTC
SVN commit 984938 by aseigo:

don't delete the grouping strategy immediatley when changing it. this is due to
the following possible chain of events:

* window comes or goes
* the grouping strategy is asked to update the groups based on this event, and
tells the group manager about a change in events
* the group manager notifies the outside world about it
* the tasks widget's size changes becuase of this and that affects the optimal
number of entries to show, which it relays to the group manager
* the group manager realizes it now has enough room for all the tasks, and
switches the grouping strategy ... BY DELETING THE GROUPING STRATEGY!
* execution then eventually returns to wherever we were at step 2 ... BOOM
(with all sorts of oddness in the backtraces :)

this also explains why it was intermitent (change of grouping collection which
caused a size change in the tasks widget which altered the optimal number of
buttons) and only for some people ("only group when full" and with a variable
size tasks widget, e.g. on an expanding panel)

this is a pretty big set of changes, and i've gone over them carefully and
tested them as thoroughly as i can, but additional feedback from people using
SVN would be great as this is a big set of changes this close to release

CCMAIL:plasma-devel@kde.org
BUGS:193042,188378


 M  +37 -11    abstractgroupingstrategy.cpp  
 M  +7 -0      abstractgroupingstrategy.h  
 M  +23 -20    groupmanager.cpp  
 M  +6 -4      strategies/kustodiangroupingstrategy.cpp  
 M  +40 -31    strategies/manualgroupingstrategy.cpp  
 M  +14 -9     strategies/programgroupingstrategy.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=984938
Comment 63 Jonathan Thomas 2009-06-22 14:36:08 UTC
*** Bug 197491 has been marked as a duplicate of this bug. ***
Comment 64 Beat Wolf 2009-06-23 10:43:56 UTC
*** Bug 197585 has been marked as a duplicate of this bug. ***
Comment 65 Dario Andres 2009-06-23 22:26:56 UTC
*** Bug 197656 has been marked as a duplicate of this bug. ***
Comment 66 Jonathan Thomas 2009-07-01 02:28:49 UTC
*** Bug 198476 has been marked as a duplicate of this bug. ***
Comment 67 Jonathan Thomas 2009-07-03 12:31:06 UTC
*** Bug 198095 has been marked as a duplicate of this bug. ***
Comment 68 Dario Andres 2009-07-14 02:28:00 UTC
*** Bug 200115 has been marked as a duplicate of this bug. ***
Comment 69 Dario Andres 2009-07-16 17:46:50 UTC
*** Bug 200403 has been marked as a duplicate of this bug. ***
Comment 70 Dario Andres 2009-07-22 15:03:26 UTC
*** Bug 201097 has been marked as a duplicate of this bug. ***
Comment 71 Dario Andres 2009-08-01 15:38:02 UTC
*** Bug 202172 has been marked as a duplicate of this bug. ***
Comment 72 Dario Andres 2009-10-11 21:59:01 UTC
*** Bug 196431 has been marked as a duplicate of this bug. ***
Comment 73 Dario Andres 2009-10-19 23:12:01 UTC
*** Bug 211099 has been marked as a duplicate of this bug. ***
Comment 74 Dario Andres 2009-10-27 13:09:17 UTC
*** Bug 212046 has been marked as a duplicate of this bug. ***