Bug 336839

Summary: crash when starting kde application
Product: [Plasma] kactivitymanagerd Reporter: Filipe Azevedo <pasnox>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED FIXED    
Severity: crash CC: mk-lists, nicos, plasma-bugs
Priority: NOR    
Version: 4.12.4   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Filipe Azevedo 2014-06-28 17:34:11 UTC
If i open a kde application then activities crash and open a crash report.

Reproducible: Always

Steps to Reproduce:
1. Start dolphin
2. Wait
3. Activities crash...
Actual Results:  
See activities plugins ranking crash.

Expected Results:  
No crash

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff95fc20c2 close + 10
1   libkdeui.5.dylib               0x0000000108110ca7 KCrash::defaultCrashHandler(int) + 247
2   libsystem_platform.dylib       0x00007fff8ba855aa _sigtramp + 26
3   QtCore                         0x00000001085ab8f8 QString::free(QString::Data*) + 184
4   activitymanager_plugin_activityranking.so 0x00000001122263b3 ActivityRankingPlugin::~ActivityRankingPlugin() + 35
5   activitymanager_plugin_activityranking.so 0x000000011222636e ActivityRankingPlugin::~ActivityRankingPlugin() + 14
6                                 0x0000000107bb9333 Plugin* KPluginFactory::create<Plugin>(QObject*, QList<QVariant> const&) + 147
7                                 0x0000000107bb81af Application::loadPlugins() + 1983
Comment 1 Ivan Čukić 2014-06-28 17:41:14 UTC
You should disable the activity ranking plugin.

It is unmaintaned, and does not exist in the newest kactivities.
Comment 2 Filipe Azevedo 2014-06-28 17:56:10 UTC
How I do that please ?

Thanks,


2014-06-28 19:41 GMT+02:00 Ivan Čukić <ivan.cukic@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=336839
>
> Ivan Čukić <ivan.cukic@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|---                         |FIXED
>
> --- Comment #1 from Ivan Čukić <ivan.cukic@kde.org> ---
> You should disable the activity ranking plugin.
>
> It is unmaintaned, and does not exist in the newest kactivities.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Ivan Čukić 2014-06-28 21:48:37 UTC
You can go to the System Settings -> Workspace Behaviour -> Activities -> Plugins and disable it from there.

You'll need to restart the activity manager (log out, and back in)
Comment 4 Filipe Azevedo 2014-06-28 21:49:43 UTC
System Settings is not available on mac.
How I can do ?


2014-06-28 23:48 GMT+02:00 Ivan Čukić <ivan.cukic@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=336839
>
> --- Comment #3 from Ivan Čukić <ivan.cukic@kde.org> ---
> You can go to the System Settings -> Workspace Behaviour -> Activities ->
> Plugins and disable it from there.
>
> You'll need to restart the activity manager (log out, and back in)
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 5 Marko Käning 2014-06-30 20:34:06 UTC
Saw the same happing multiple times in the last while...
Comment 6 Ivan Čukić 2014-06-30 20:39:17 UTC
You can create a [Plugin] section in activitymanagerrc (no idea where the config is on mac, but on linux it is at .kde/share/config)

You can add:
org.kde.kactivitymanager.activityrankingEnabled=false
Comment 7 Marko Käning 2014-06-30 21:02:08 UTC
(In reply to comment #6)
> You can create a [Plugin] section in activitymanagerrc (no idea where the
> config is on mac, but on linux it is at .kde/share/config)

This config file resides on MacPorts' KDE4 below ~/Library/Preferences/KDE/share/config/ !

The file didn't exist in my case, so I created it.

Thanks, Ivan, we'll see how this works out.
Comment 8 Ivan Čukić 2014-06-30 21:04:17 UTC
Lets hope it will not be a problem. The activity manager should create that file on startup.
Comment 9 Marko Käning 2014-06-30 21:12:58 UTC
Well, as I wrote, the file wasn't there yet.