Bug 375979 - Akonadi sqlite backend crashes Akonadi, incompatible qt versions
Summary: Akonadi sqlite backend crashes Akonadi, incompatible qt versions
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 23:07 UTC by James Young
Modified: 2021-01-09 16:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Young 2017-02-03 23:07:53 UTC
Currently akonadi is crashing when using the sqlite backend on neon user edition.  This appears to be because the qsqlite3 driver (akonadi-backend-sqlite version 4:16.12.1-0neon+16.04+build20) is built using Qt 5.7.0 but is interfacing with the current version of Qt in neon, which is 5.7.1 (5.7.1+dfsg-3+16.04+build5).  When akonadiserver crashes, it prints this:

Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)
Comment 1 Aaron Wolf 2017-02-07 02:29:49 UTC
Sam crash is affecting Skrooge
Comment 2 Jonathan Riddell 2017-02-07 15:53:09 UTC
Works for me

Is this still a problem?

What version of libqt5sql5-sqlite do you have installed?  latest is 5.7.1+dfsg-3+16.04+build5
Comment 3 Jonathan Riddell 2017-02-07 15:55:48 UTC
Skrooge I confirm, that shouldn't happen, anyone know what private API it's using?
I'll rebuild it
Comment 4 James Young 2017-02-07 16:08:45 UTC
Still happening for me with akonadi and the packages in Neon User:  akonadi-backend-sqlite provides its own custom sqlite driver for Qt, it doesn't use the default libqt5sql5-sqlite.

Anyway, I rebuilt akonadi against Qt 5.7.1 and problem went away.
Comment 5 Jonathan Riddell 2017-02-07 16:12:10 UTC
sorry for your problem.  I still can't recreate it and I'm not sure why it would happen.  I'll rebuild the package anyway
Comment 6 Jonathan Riddell 2017-02-08 16:40:55 UTC
it's in now
Comment 7 Christoph Feck 2017-07-12 15:37:36 UTC
Needs a rebuild of akonadi again after update to Qt 5.9.1.
Comment 8 Justin Zobel 2020-12-17 05:29:42 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 9 Aaron Wolf 2020-12-17 16:06:49 UTC
(In reply to Aaron Wolf from comment #1)
> Sam crash is affecting Skrooge

I have had no issues with Skrooge for a long time.
Comment 10 Bug Janitor Service 2021-01-01 04:36:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Christoph Feck 2021-01-09 16:23:14 UTC
Thanks for the update; changing status.