Summary: | Crash on desktop/activity switch | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | evgeny <evgeny.podjachev> |
Component: | widget-taskbar | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | blacia, danilo, estellnb, harald.engels, hein, lortwer, nienhueser, quazgar, thunder422, ugis, underline |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.11.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/23b7528333ab37548c5bd942b21b6ee2d413472e | Version Fixed In: | 4.11.3 |
Sentry Crash Report: | |||
Attachments: |
Here is my valgrind log.
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
evgeny
2013-08-29 11:24:05 UTC
Can you run plasma in valgrind and paste the contents? To do so, kquitapp plasma-desktop then: valgrind plasma-desktop and reproduce the crash Hi, I tried to run plasma with valgrint but it crashes shortly after I see bottom panel. Without valgrint plasma runs smoothly. Created attachment 82112 [details]
Here is my valgrind log.
When I removed task manager widget and added it again crash disappeared. May be origin of problem was wrong deleted icon only task manager, as one icon on panel to start dolphin wasn't standard launcher but remains of icon only task manager. Now I can't reproduce both crash and strange icon on panel. Created attachment 82118 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.00) on KDE Platform 4.11.00 using Qt 4.8.2
Problem sounds identical and occurred with upgrade from KDE 4.10.5 (was very stable from upgrade from 4.8.5) to 4.11.0 (using kubuntu backports on Mint 13, aka ubuntu 12.04 LTS).
Initially problem was eliminated by blowing away KDE configuration in home directory and cache in /tmp. Was very stable until second monitor attached (note: using NVIDIA 304.88 on GTX 660 Ti). KDE offered to set automatically, tried but screen went blank. Upon restart, crashing when switching desktops (4 configure) returned. Two monitors were working fine though. (Didn't want to blow away configuration again because it's a pain to reset all settings.)
Saw this bug already reported. Saw that removing task manager and re-adding solved problem. Tried and in fact also solved issue for now (will report back if problem returns).
-- Backtrace (Reduced):
#6 0x00007f67b917f73f in TaskManager::TaskGroup::add (this=0x56482c0, item=0x2de5630, insertIndex=<optimized out>) at ../../../libs/taskmanager/taskgroup.cpp:221
#7 0x00007f67b9164580 in TaskManager::GroupManagerPrivate::currentDesktopChanged (this=0x2bfe490, newDesktop=<optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:511
#8 0x00007f67b91670bf in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./groupmanager.moc:85
#9 TaskManager::GroupManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./groupmanager.moc:76
[...]
#11 0x00007f67b91875a1 in TaskManager::TaskManager::desktopChanged (this=<optimized out>, _t1=2) at ./taskmanager.moc:215
Created attachment 82338 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.1) on KDE Platform 4.11.1 using Qt 4.8.4
- What I was doing when the application crashed:
Switch between virtual desktops using shortcuts (Ctrl+F*)
- Custom settings of the application:
This happens only when the setting (translated from german) "show only tasks from the current virtual desktop" is activated, which is not the default setting. Unsetting that (or deleting KDE settings) makes the crash go away.
From a quick look at taskgroup.cpp:221 it seems that d->members has less items than the highest number d->groupManager->launcherIndex() reports. Possibly d->m_members does not contain the filtered tasks and taskgroup.cpp:216-218 should be changed to maxIndex = qBounds(0, maxIndex, d->m_members.count());
-- Backtrace (Reduced):
#7 0xac5eaede in TaskManager::TaskGroup::add (this=0xabb33e8, item=item@entry=0x9ca1ba8, insertIndex=0, insertIndex@entry=-1) at ../../../libs/taskmanager/taskgroup.cpp:221
#8 0xac5cb22c in TaskManager::GroupManagerPrivate::currentDesktopChanged (this=0x9b9d1f8, newDesktop=1) at ../../../libs/taskmanager/groupmanager.cpp:511
#9 0xac5cdbd8 in qt_static_metacall (_a=0xbfe7a0a8, _id=3, _o=0x9b592e0, _c=<optimized out>) at ./groupmanager.moc:85
#10 TaskManager::GroupManager::qt_static_metacall (_o=0x9b592e0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe7a0a8) at ./groupmanager.moc:76
[...]
#12 0xac5f1dd5 in TaskManager::TaskManager::desktopChanged (this=this@entry=0x9b4fb18, _t1=_t1@entry=1) at ./taskmanager.moc:215
*** Bug 324887 has been marked as a duplicate of this bug. *** Git commit 78055361d20ca94e6c59e032e3a6ade420affb91 by Eike Hein. Committed on 29/09/2013 at 08:49. Pushed by hein into branch 'KDE/4.11'. Fix rare out-of-bounds list indexing when inserting launchers. M +4 -4 libs/taskmanager/taskgroup.cpp http://commits.kde.org/kde-workspace/78055361d20ca94e6c59e032e3a6ade420affb91 Git commit 23b7528333ab37548c5bd942b21b6ee2d413472e by Eike Hein. Committed on 29/09/2013 at 08:49. Pushed by hein into branch 'master'. Fix rare out-of-bounds list indexing when inserting launchers. M +4 -4 libs/taskmanager/taskgroup.cpp http://commits.kde.org/kde-workspace/23b7528333ab37548c5bd942b21b6ee2d413472e Created attachment 83469 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4
- What I was doing when the application crashed:
Switching into desktops make it crash but it sometimes appen when I didn’t do something in particular.
- Unusual behavior I noticed:
-- Backtrace (Reduced):
#6 0x00007fb693c56196 in TaskManager::TaskGroup::add (this=0x2a8e6e0, item=item@entry=0x16dc860, insertIndex=insertIndex@entry=-1) at ../../../libs/taskmanager/taskgroup.cpp:221
#7 0x00007fb693c3b3d4 in TaskManager::GroupManagerPrivate::currentDesktopChanged (this=0x14f4160, newDesktop=<optimized out>) at ../../../libs/taskmanager/groupmanager.cpp:511
#8 0x00007fb693c3d5cf in TaskManager::GroupManager::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./groupmanager.moc:85
[...]
#10 0x00007fb693c5bfb1 in TaskManager::TaskManager::desktopChanged (this=<optimized out>, _t1=2) at ./taskmanager.moc:215
#11 0x00007fb693c5e243 in TaskManager::TaskManager::qt_static_metacall (_o=0x31, _id=0, _a=0x4, _c=<optimized out>) at ./taskmanager.moc:107
*** Bug 327436 has been marked as a duplicate of this bug. *** *** Bug 327563 has been marked as a duplicate of this bug. *** *** Bug 327752 has been marked as a duplicate of this bug. *** *** Bug 328297 has been marked as a duplicate of this bug. *** (In reply to comment #8) > Pushed by hein into branch 'KDE/4.11'. > Fix rare out-of-bounds list indexing when inserting launchers. @Eike: Thank you for fixing this bug! Could you tell us in which 4.11.x release your fix will be included so that we can ask our distros to update to that version. For the meantime here's a simple workaround description for other affected users: - The bug is caused by the "task manager", which displays your open windows in the task panel (a bar, typically at the bottom of your screen). - To work around this issue, it may be sufficient to remove the task manager and add it again. - To do this, right-click on your Task Panel, for example on the clock, then choose: Panel Options > Panel Settings. Hover with your mouse over the task manager and close it with the little "x". To readd the task-manager, still in the Panel settings, choose "Add Widget...". Scroll to the right until you see the Task Manager icon. Double-click on it to add it again to the Task Panel. Also in the panel settings, you can rearrange it to the position you like. Hi Daniel, it was fixed in 4.11.3. (Tip: There's a "Version Fixed In" field at the top of the bug report. :) |