Summary: | Plasma-desktor crashes in manualSortingRequest | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Michael Jansen <kde> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alex.merry, dev, fgunni, hammett, info, matt, moabi2000, notmart, rizzitello |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Jansen
2009-05-17 20:56:31 UTC
closely related to bug 192651 *** Bug 192651 has been marked as a duplicate of this bug. *** *** Bug 194890 has been marked as a duplicate of this bug. *** I had an almost identical backtrace when I closed a window (I send an email, which meant that one of my two grouped KMail windows closed, destroying the group). However, mine appeared to crash at the call to TaskManager::GroupManager::manualSortingRequest, rather than inside that method. So the top of my backtrace looked like: Thread 1 (Thread 0x7ff8ebc74760 (LWP 6682)): [KCrash Handler] #5 0x00007ff8ceac8fa2 in TaskManager::AbstractGroupingStrategy::closeGroup (this=0x1353330, group=0xf37680) at /home/kde-devel/src/KDE/kdebase/workspace/libs/taskmanager/abstractgroupingstrategy.cpp:140 #6 0x00007ff8cead5eb6 in TaskManager::ProgramGroupingStrategy::checkGroup (this=0x1353330) at /home/kde-devel/src/KDE/kdebase/workspace/libs/taskmanager/strategies/programgroupingstrategy.cpp:193 #7 0x00007ff8cead5f8c in TaskManager::ProgramGroupingStrategy::qt_metacall (this=0x1353330, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffff3cabd80) at /home/kde-devel/build/KDE/kdebase/workspace/libs/taskmanager/programgroupingstrategy.moc:68 Giving that my taskbar is set to group by program name rather than manually, manualSortingRequest shouldn't really be doing anything anyway. The most likely cause I can think of is that the copy of groupManager pointed to from AbstractGroupingStrategy's d-pointer has been deleted. Could this happen? *** Bug 196209 has been marked as a duplicate of this bug. *** *** Bug 196341 has been marked as a duplicate of this bug. *** *** Bug 196587 has been marked as a duplicate of this bug. *** *** Bug 196664 has been marked as a duplicate of this bug. *** *** Bug 196698 has been marked as a duplicate of this bug. *** *** Bug 197080 has been marked as a duplicate of this bug. *** *** Bug 197084 has been marked as a duplicate of this bug. *** *** Bug 197403 has been marked as a duplicate of this bug. *** 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 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 |