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

--- Comment #1 from Jiri Palecek <jpale...@web.de> ---
BTW valgrind says this about the problem:

==23380== Invalid read of size 4
==23380==    at 0x4BF3134: KAlarmCal::KAEvent::category() const
(kaevent.cpp:1769)
==23380==    by 0x1B0C31: AlarmCalendar::events(Akonadi::Collection const&,
QFlags<KAlarmCal::CalEvent::Type>) const (alarmcalendar.cpp:1340)
==23380==    by 0x1B0EAA: events (alarmcalendar.h:68)
==23380==    by 0x1B0EAA: AlarmCalendar::checkForDisabledAlarms()
(alarmcalendar.cpp:1439)
==23380==    by 0x1B22F0: AlarmCalendar::removeKAEvents(long long, bool,
QFlags<KAlarmCal::CalEvent::Type>) (alarmcalendar.cpp:502)
==23380==    by 0x756C483: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x2A2B91:
AkonadiModel::collectionStatusChanged(Akonadi::Collection const&,
AkonadiModel::Change, QVariant const&, bool) (moc_akonadimodel.cpp:416)
==23380==    by 0x268546:
AkonadiModel::setCollectionChanged(Akonadi::Collection const&, QSet<QByteArray>
const&, bool) (akonadimodel.cpp:1707)
==23380==    by 0x2A90E5: slotCollectionChanged (akonadimodel.h:261)
==23380==    by 0x2A90E5: AkonadiModel::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (moc_akonadimodel.cpp:214)
==23380==    by 0x756C33A: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x5431EB5:
Akonadi::Monitor::collectionChanged(Akonadi::Collection const&,
QSet<QByteArray> const&) (in
/usr/lib/i386-linux-gnu/libKF5AkonadiCore.so.5.9.3.abi2)
==23380==  Address 0x1081c7b8 is 0 bytes inside a block of size 4 free'd
==23380==    at 0x480BD67: operator delete(void*) (in
/usr/lib/i386-linux-gnu/valgrind/vgpreload_memcheck-x86-linux.so)
==23380==    by 0x1B209E: AlarmCalendar::removeKAEvents(long long, bool,
QFlags<KAlarmCal::CalEvent::Type>) (alarmcalendar.cpp:485)
==23380==    by 0x756C483: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x2A2B91:
AkonadiModel::collectionStatusChanged(Akonadi::Collection const&,
AkonadiModel::Change, QVariant const&, bool) (moc_akonadimodel.cpp:416)
==23380==    by 0x268546:
AkonadiModel::setCollectionChanged(Akonadi::Collection const&, QSet<QByteArray>
const&, bool) (akonadimodel.cpp:1707)
==23380==    by 0x2A90E5: slotCollectionChanged (akonadimodel.h:261)
==23380==    by 0x2A90E5: AkonadiModel::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (moc_akonadimodel.cpp:214)
==23380==    by 0x756C33A: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x5431EB5:
Akonadi::Monitor::collectionChanged(Akonadi::Collection const&,
QSet<QByteArray> const&) (in
/usr/lib/i386-linux-gnu/libKF5AkonadiCore.so.5.9.3.abi2)
==23380==    by 0x543A461:
Akonadi::MonitorPrivate::emitCollectionNotification(Akonadi::Protocol::CollectionChangeNotification
const&, Akonadi::Collection const&, Akonadi::Collection const&,
Akonadi::Collection const&) (in
/usr/lib/i386-linux-gnu/libKF5AkonadiCore.so.5.9.3.abi2)
==23380==    by 0x543FD3F:
Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification>
const&) (in /usr/lib/i386-linux-gnu/libKF5AkonadiCore.so.5.9.3.abi2)
==23380==  Block was alloc'd at
==23380==    at 0x480ACAB: operator new(unsigned int) (in
/usr/lib/i386-linux-gnu/valgrind/vgpreload_memcheck-x86-linux.so)
==23380==    by 0x1B3A5A: AlarmCalendar::slotEventChanged(AkonadiModel::Event
const&) (alarmcalendar.cpp:564)
==23380==    by 0x1B3CAE:
AlarmCalendar::slotEventsAdded(QList<AkonadiModel::Event> const&)
(alarmcalendar.cpp:530)
==23380==    by 0x756C483: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x2A2BF1: AkonadiModel::eventsAdded(QList<AkonadiModel::Event>
const&) (moc_akonadimodel.cpp:423)
==23380==    by 0x268D5C: AkonadiModel::slotRowsInserted(QModelIndex const&,
int, int) (akonadimodel.cpp:1634)
==23380==    by 0x756C483: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x756C90C: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x74F05C8: QAbstractItemModel::rowsInserted(QModelIndex const&,
int, int, QAbstractItemModel::QPrivateSignal) (in
/usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x74F8138: QAbstractItemModel::endInsertRows() (in
/usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.3)
==23380==    by 0x5522231: ??? (in
/usr/lib/i386-linux-gnu/libKF5AkonadiCore.so.5.9.3.abi2)
==23380==

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

Reply via email to