https://bugs.kde.org/show_bug.cgi?id=389640

            Bug ID: 389640
           Summary: kactivitymanagerd crashes if libQt5Sql5-sqlite is not
                    installed
           Product: kactivitymanagerd
           Version: 5.11.95
          Platform: openSUSE RPMs
               URL: http://bugzilla.opensuse.org/show_bug.cgi?id=1078173
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ivan.cu...@kde.org
          Reporter: wba...@tmo.at
                CC: plasma-b...@kde.org
  Target Milestone: ---

If Qt's SQLite plugin is not installed, kactivitymanagerd just crashes and
keeps restarting again and again.

Output in the shell:
Config timer connecting...
Setting the name of  0xaa4a80  to  "org.kde.ActivityManager.RunApplication"
Setting the name of  0xa89e70  to  "org.kde.ActivityManager5.ActivityTemplates"
Setting the name of  0xab8c40  to  "org.kde.ActivityManager5.Resources.Scoring"
Creating directory:  "/home/wolfi/.local/share/kactivitymanagerd/resources/"
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QSQLITE3 QMYSQL QMYSQL3
KActivities: Database is not open: 
"kactivities_db_resources_140269434763136_readwrite" "" QSqlError("", "Driver
not loaded", "Driver not loaded")
KActivities: Opening the database in RW mode should always succeed
Service started, version: 
Cleaning up...
(at that point the shell prompt reappears, but kactivitymanagerd is crashing
and restarting again and again in the background)

Unfortunately, I wasn't able to get a meaningful backtrace:
Core was generated by `/usr/bin/kactivitymanagerd start-daemon'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007eff5b4aa8c7 in ?? ()
[Current thread is 1 (LWP 13270)]
(gdb) bt
#0  0x00007eff5b4aa8c7 in ?? ()
#1  0x00007eff5b4abc9a in ?? ()
#2  0x0000000000000020 in ?? ()
#3  0x0000000000000000 in ?? ()

Note that it works fine if libQt5Sql5-sqlite is installed.

We added a Requires now to the openSUSE package to avoid this situation (the
SQL plugin was only recommended before), but kactivitymanagerd should handle
this more gracefully I think.

PS: the endless restarts are caused by the autostart D-BUS service
(/usr/share/dbus-1/services/org.kde.activitymanager.service), removing it fixes
that problem at least

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to