Bug 459988 - Crash at start-up due to Qt5 library version mismatch
Summary: Crash at start-up due to Qt5 library version mismatch
Status: RESOLVED NOT A BUG
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.26.1
Platform: Other Linux
: NOR crash
Target Milestone: 25.1.0
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 20:53 UTC by Johannes Goller
Modified: 2022-10-07 13:00 UTC (History)
2 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 Johannes Goller 2022-10-04 20:53:38 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Since a recent upgrade to Qt 5.15.6, any attempt to start skrooge results in a fatal crash and the following message:

##FATAL: Cannot mix incompatible Qt library (5.15.5) with this library (5.15.6)
KCrash: Application 'skrooge' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi

STEPS TO REPRODUCE
1. sudo dnf install skrooge
2. skrooge

OBSERVED RESULT
The crash described above.

EXPECTED RESULT
Skrooge starting up.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 36, KDE Plasma 5.25.5
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
I also rebuilt and installed Skrooge (as version 2.28) from source, because I thought building it against the Qt5 version available in the system would help. But it resulted in the same error.

I have been using Skrooge for more than ten years regularly, and in many versions of Fedora, KDE and Qt. This is the first time I get a problem like this.
Comment 1 Stephane MANKOWSKI 2022-10-05 13:45:46 UTC
Hi,

This is clear that you have an issue with libraries incompatible.
To fix that quickly, you have to:
- uninstall all version of skrooge
- build skrooge from source if you know how to do (clean you build directory to be sure)
- install the built version

Regards.
Comment 2 kaeslaek 2022-10-07 12:20:36 UTC
Also reported in Fedora Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2131441
Comment 3 Johannes Goller 2022-10-07 13:00:50 UTC
For completeness' sake, Stephane is right. I hadn't cleaned my existing Skrooge installation sufficiently before rebuilding it.

After cleaning properly, rebuilding from source and installing, Skrooge is running fine.