Bug 20572

Summary: korganizer crashes on tooltip display because of wrong symbol in lib64kcalutils4
Product: Mageia Reporter: Nikita Krupenko <krnekit>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: korganizer-16.12.3-1.mga6.src.rpm CVE:
Status comment:

Description Nikita Krupenko 2017-03-26 15:22:51 CEST
Description of problem:
I already described this in https://bugs.mageia.org/show_bug.cgi?id=20497#c1 but create separate report for it.

If I select month view and hover mouse over the day, that has holiday, the korganizer crashes. Also, if I go to tasks, crate some task, hover mouse over it and wait a second - it crashes. I think, there may be other places, where it tries to show a tooltip.

In a terminal I see the following error:

korganizer: symbol lookup error: /lib64/libKF5EventViews.so.5: undefined symbol: _ZN9KCalUtils18IncidenceFormatter10toolTipStrERK7QStringRK14QSharedPointerIN8KCalCore13IncidenceBaseEERK5QDatebRKN9KDateTime4SpecE

This symbol is in the /usr/lib64/libkcalutils.so.4, but it slightly differs at the end (the "RKN9KDateTime4SpecE" part):

000000000001af30 g    DF .text  00000000000002cf  Base        _ZN9KCalUtils18IncidenceFormatter10toolTipStrERK7QStringRK14QSharedPointerIN8KCalCore13IncidenceBaseEERK5QDatebN9KDateTime4SpecE

or demangled:

000000000001af30 g    DF .text  00000000000002cf  Base        KCalUtils::IncidenceFormatter::toolTipStr(QString const&, QSharedPointer<KCalCore::IncidenceBase> const&, QDate const&, bool, KDateTime::Spec)


lib64kcalutils4 is quite old and has version 2:4.14.10-14.mga6. May be it needs update?


Version-Release number of selected component (if applicable): 16.12.3-1.mga6


How reproducible: Always


Steps to Reproduce:
1. Start korganizer.
2. Hover mouse over item in calendar that has events or over a task.
3. Wait until tooltip appear.
Comment 1 Nicolas Lécureuil 2017-03-26 17:03:02 CEST
/lib64/libKF5EventViews.so.5 is KF5
/usr/lib64/libkcalutils.so.4 is KDE4  

it shouldn't be used.

is kcalutils installed ?
Comment 2 Nikita Krupenko 2017-03-26 18:04:15 CEST
Yes, and this seems the reason - mixing KF4 and KF5 libraries.

Both kcalutils 16.12.3-1.mga6 and lib64kf5calendarutils5 16.12.3-1.mga6
Comment 3 Nikita Krupenko 2017-03-26 18:06:50 CEST
Both libraries are installed, I mean.

I also deleted lib64kcalutils4 package (and deleted lib64akonadi-calendar4-4.14.10-14.mga6 by dependency) and it still crashes.

May be libKF5EventViews.so.5 should be relinked?
Comment 4 Nicolas Lécureuil 2017-03-26 19:31:42 CEST
still the same message ?

korganizer: symbol lookup error: /lib64/libKF5EventViews.so.5: undefined symbol: _ZN9KCalUtils18IncidenceFormatter10toolTipStrERK7QStringRK14QSharedPointerIN8KCalCore13IncidenceBaseEERK5QDatebRKN9KDateTime4SpecE  


?
Comment 5 Nikita Krupenko 2017-03-26 20:04:22 CEST
Yes, the same message.

ldd shows, that /lib64/libKF5EventViews.so.5 depends on /lib64/libKF5CalendarUtils.so.5

/lib64/libKF5CalendarUtils.so.5 has this symbol     _ZN9KCalUtils18IncidenceFormatter10toolTipStrERK7QStringRK14QSharedPointerIN8KCalCore13IncidenceBaseEE5QDatebRKN9KDateTime4SpecE

And it's the third version.

So, demangled symbols:

Crash message:
KCalUtils::IncidenceFormatter::toolTipStr(QString const&, QSharedPointer<KCalCore::IncidenceBase> const&, QDate const&, bool, KDateTime::Spec const&)


libkcalutils.so.4:
KCalUtils::IncidenceFormatter::toolTipStr(QString const&, QSharedPointer<KCalCore::IncidenceBase> const&, QDate const&, bool, KDateTime::Spec)

libKF5CalendarUtils.so.5:
KCalUtils::IncidenceFormatter::toolTipStr(QString const&, QSharedPointer<KCalCore::IncidenceBase> const&, QDate, bool, KDateTime::Spec const&)
Comment 6 Nikita Krupenko 2017-04-05 11:10:38 CEST
So what about recompiling the libraries?
Comment 7 David GEIGER 2024-03-03 09:57:44 CET
mga6 is EOL!

Status: NEW => RESOLVED
Resolution: (none) => OLD
CC: (none) => geiger.david68210