Bug 1078173 - Kactivitymanager coredumps without the package libQt5Sql5-sqlite
Kactivitymanager coredumps without the package libQt5Sql5-sqlite
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma)
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-Mail List
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2018-01-29 23:43 UTC by Maciek Krawiec
Modified: 2018-01-30 11:28 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Maciek Krawiec 2018-01-29 23:43:30 UTC
After the update to plasma 5.12 beta, on a system configured with --no-recommends the desktop becomes unresponsive, because of a missing dependency.

It seems that since the update kactivitymanagerd requires libQt5Sql5-sqlite to be able to run. Without it the process repeatedly coredumps which can be observed in journalctl and that in turns leads to performance degradation.
Comment 1 Maciek Krawiec 2018-01-29 23:46:05 UTC
Here's the exact output of kactivitymanagerd without the dependency installed:

> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> Config timer connecting...
> Setting the name of  0x5570daaf9720  to  "org.kde.ActivityManager.ActivityTemplates"
> Setting the name of  0x5570dab020f0  to  "org.kde.ActivityManager.RunApplication"
> Setting the name of  0x5570dab321d0  to  "org.kde.ActivityManager.Resources.Scoring"
> Creating directory:  "/root/.local/share/kactivitymanagerd/resources/"
> QSqlDatabase: QSQLITE driver not loaded
> QSqlDatabase: available drivers: 
> KActivities: Database is not open:  "kactivities_db_resources_139981781422656_readwrite" "" QSqlError("", "Driver not loaded", "Driver not loaded")
> KActivities: Opening the database in RW mode should always succeed
> Service started, version: 
> Cleaning up...
Comment 2 Swamp Workflow Management 2018-01-30 09:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1078173) was mentioned in
https://build.opensuse.org/request/show/570883 Factory / kactivitymanagerd
Comment 3 Wolfgang Bauer 2018-01-30 10:04:52 UTC
Thanks for your report!
We changed the Recommends to Requires, an update is on the way to Tumbleweed.

Just a side-note:
(In reply to Maciek Krawiec from comment #1)
> > Creating directory:  "/root/.local/share/kactivitymanagerd/resources/"

You shouldn't run it as root, but rather as user. ;-)
Comment 4 Wolfgang Bauer 2018-01-30 10:11:14 UTC
PS: It doesn't seem to crash here, it just fails to start.
If you do get a coredump, please file a bug report upstream at bugs.kde.org with a backtrace, if possible.

Thank you.
Comment 5 Wolfgang Bauer 2018-01-30 10:15:52 UTC
On second thought, if it's crashing on exit, it might be https://bugs.kde.org/show_bug.cgi?id=385533 that should be fixed in 5.12 final.

A backtrace would still be nice to verify though. Maybe you can attach one here?
Comment 6 Wolfgang Bauer 2018-01-30 11:28:58 UTC
PS: Actually it does crash here too, and the fix for the mentioned bug report doesn't fix it either.
I filed https://bugs.kde.org/show_bug.cgi?id=389640 myself now.

Feel free to join in if you can get a better backtrace... ;-) (or attach it here)