Summary: | Not-existing activity set as activity/activityId inside a [Containments] section in plasma-desktop-appletsrc crashes plasma-desktop on startup | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Elias Probst <mail> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aseigo, chanika, sven.burmeister |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Crash when deleting the currently active activity
New crash information added by DrKonqi |
Description
Elias Probst
2011-01-11 12:56:27 UTC
Created attachment 55859 [details]
Crash when deleting the currently active activity
plasma-desktop does also crash, when deleting the currently active activity using the 'Activity Manager Plasmoid'.
Backtrace attached.
SVN commit 1213830 by aseigo: use Corona::contaimentForScreen always to avoid problems with locked setups BUG:262850 M +23 -19 activity.cpp M +0 -1 activity.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1213830 SVN commit 1213834 by aseigo: use Corona::contaimentForScreen always to avoid problems with locked setups BUG:262850 M +23 -19 activity.cpp M +0 -1 activity.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1213834 Thanks a lot for fixing it that quick! Created attachment 56129 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1
- What I was doing when the application crashed:
Starting plasma crashed after updating from KDE 4.5.5 to 4.6 RC2 because plasma-desktop-appletsrc contained the following lines:
[Containments][1]
ActionPluginsSource=Global
activity=Unbenannt
activityId=The name org.kde.ActivityManager was not provided by any .service files
Don't ask me how it got there but removing the "The name org..." solves the issue, i.e. plasma starts.
-- Backtrace (Reduced):
#6 Plasma::Containment::setScreen (this=0x0, newScreen=0, newDesktop=-1) at /usr/src/debug/kdelibs-4.5.95/plasma/containment.cpp:959
#7 0x00007feba9734144 in Activity::containmentForScreen (this=0x951de0, screen=0, desktop=-1) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/activity.cpp:191
#8 0x00007feba97342e7 in Activity::activateContainment (this=<value optimized out>, screen=0, desktop=-1) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/activity.cpp:205
#9 0x00007feba97343a4 in Activity::checkScreens (this=0x951de0) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/activity.cpp:235
#10 0x00007feba973469f in Activity::opened (this=0x951de0) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/activity.cpp:404
> activityId=The name org.kde.ActivityManager was not provided by any .service
> files
>
> Don't ask me how it got there but removing the "The name org..." solves the
> issue, i.e. plasma starts.
What kind of activity related applets/panels do you use? Only the builtin activity manager panel or also a 3rd party activity manager?
It looks like the activity manager doesn't check whether org.kde.ActivityManager actually runs before using the output from acquiring the current activity name and putting it into the config.
So in the case org.kde.ActivityManager has crashed only the error message is returned but still used as return value and so set as activity name.
Would be interesting to find out which activity manager causes this.
@Chani: Added you as CC - could you check your builtin activity manager whether this probably happens there?
(In reply to comment #6) > What kind of activity related applets/panels do you use? Only the builtin > activity manager panel or also a 3rd party activity manager? I only use the activity changing plasmoid that comes with KDE. No 3rd party plasmoid. "Don't ask me how it got there but removing the "The name org..." solves the issue, i.e. plasma starts." broken installation. KActivity* seems to be protected against this from happening now, though (it checks all replies so no errors get through like this) "I only use the activity changing plasmoid that comes with KDE. No 3rd party plasmoid." the one called "activity bar"? In German it's called "Aktivitätsleiste" which is the literal translation of activity bar, so I would say I am using exactly that one. |