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

            Bug ID: 466610
           Summary: Kalendar crashes randomly while in background
    Classification: Applications
           Product: kalendar
           Version: 22.12.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: claudio.cam...@kde.org
          Reporter: basch...@yahoo.de
                CC: c...@carlschwan.eu
  Target Milestone: ---

Application: kalendar (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.12-1-MANJARO x86_64
Windowing System: X11
Distribution: Manjaro Linux
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
Might be a duplicate of https://bugs.kde.org/show_bug.cgi?id=466063 , but I'm
not 100% sure it only appears after unlocking

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kalendar (kalendar), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  std::__atomic_base<int>::operator--() (this=0x24) at
/usr/include/c++/12.2.1/bits/atomic_base.h:392
#7  QAtomicOps<int>::deref<int>(std::atomic<int>&) (_q_value=<error reading
variable: Cannot access memory at address 0x24>) at
/usr/include/qt/QtCore/qatomic_cxx11.h:289
#8  QBasicAtomicInteger<int>::deref() (this=0x24) at
/usr/include/qt/QtCore/qbasicatomic.h:119
#9 
QSharedPointer<KCalendarCore::Incidence>::deref(QtSharedPointer::ExternalRefCountData*)
(dd=0x20) at /usr/include/qt/QtCore/qsharedpointer_impl.h:457
#10
QSharedPointer<KCalendarCore::Incidence>::deref(QtSharedPointer::ExternalRefCountData*)
(dd=0x20, dd=<optimized out>) at
/usr/include/qt/QtCore/qsharedpointer_impl.h:454
#11 QSharedPointer<KCalendarCore::Incidence>::deref() (this=<synthetic
pointer>, this=<optimized out>) at
/usr/include/qt/QtCore/qsharedpointer_impl.h:453
#12 QSharedPointer<KCalendarCore::Incidence>::~QSharedPointer()
(this=<synthetic pointer>, this=<optimized out>) at
/usr/include/qt/QtCore/qsharedpointer_impl.h:310
#13
QSharedPointer<KCalendarCore::Incidence>::operator=(QSharedPointer<KCalendarCore::Incidence>
const&) (other=..., this=0x560a96616b58) at
/usr/include/qt/QtCore/qsharedpointer_impl.h:333
#14
IncidenceOccurrenceModel::Occurrence::operator=(IncidenceOccurrenceModel::Occurrence
const&) (this=0x560a96616b48) at
/usr/src/debug/kalendar/kalendar-22.12.2/src/models/incidenceoccurrencemodel.h:89
#15 QVector<IncidenceOccurrenceModel::Occurrence>::replace(int,
IncidenceOccurrenceModel::Occurrence const&) (t=..., i=<optimized out>,
this=0x560a95000020) at /usr/include/qt/QtCore/qvector.h:491
#16 IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&,
QModelIndex const&) (this=0x560a94ffffb0, upperLeft=..., bottomRight=<optimized
out>) at
/usr/src/debug/kalendar/kalendar-22.12.2/src/models/incidenceoccurrencemodel.cpp:225
#17 0x00007f9e38ebea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd5259f0d0, r=<optimized out>, this=0x560a95420da0, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x560a931bf0e0,
signal_index=3, argv=0x7ffd5259f0d0) at kernel/qobject.cpp:3923
#19 0x00007f9e38e46cd1 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized
out>, _t2=<optimized out>, _t3=<optimized out>) at
.moc/moc_qabstractitemmodel.cpp:557
#20 0x00007f9e38e6d3a6 in
QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x560a93193600,
source_top_left=<optimized out>, source_bottom_right=<optimized out>,
roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#21 0x00007f9e38ebec20 in doActivate<false>(QObject*, int, void**)
(sender=0x560a931bf020, signal_index=3, argv=0x7ffd5259f3c0) at
kernel/qobject.cpp:3935
#22 0x00007f9e38e46cd1 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized
out>, _t2=<optimized out>, _t3=<optimized out>) at
.moc/moc_qabstractitemmodel.cpp:557
#23 0x00007f9e38e6d3a6 in
QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x560a931c0920,
source_top_left=<optimized out>, source_bottom_right=<optimized out>,
roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#24 0x00007f9e38ebec20 in doActivate<false>(QObject*, int, void**)
(sender=0x560a931bf060, signal_index=3, argv=0x7ffd5259f6b0) at
kernel/qobject.cpp:3935
#25 0x00007f9e38e46cd1 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized
out>, _t2=<optimized out>, _t3=<optimized out>) at
.moc/moc_qabstractitemmodel.cpp:557
#26 0x00007f9e38e6d3a6 in
QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x560a931bfaa0,
source_top_left=<optimized out>, source_bottom_right=<optimized out>,
roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#27 0x00007f9e38ebec20 in doActivate<false>(QObject*, int, void**)
(sender=0x560a931c8370, signal_index=3, argv=0x7ffd5259f9a0) at
kernel/qobject.cpp:3935
#28 0x00007f9e38e46cd1 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized
out>, _t2=<optimized out>, _t3=<optimized out>) at
.moc/moc_qabstractitemmodel.cpp:557
#29 0x00007f9e3b13469b in
KSelectionProxyModelPrivate::sourceDataChanged(QModelIndex const&, QModelIndex
const&) (this=0x560a931bea50, topLeft=..., bottomRight=...) at
/usr/src/debug/kitemmodels/kitemmodels-5.103.0/src/core/kselectionproxymodel.cpp:734
#30 0x00007f9e38ebea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd5259fc00, r=<optimized out>, this=0x560a931bf530, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false>(QObject*, int, void**) (sender=0x560a931bc560,
signal_index=3, argv=0x7ffd5259fc00) at kernel/qobject.cpp:3923
#32 0x00007f9e38e46cd1 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=this@entry=0x560a931bc560,
_t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#33 0x00007f9e3b47662c in
Akonadi::EntityTreeModelPrivate::dataChanged(QModelIndex const&, QModelIndex
const&) [clone .isra.0] (top=..., bottom=<optimized out>, this=<optimized out>)
at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/models/entitytreemodel_p.cpp:1618
#34 0x00007f9e3b4579eb in
Akonadi::EntityTreeModelPrivate::monitoredItemChanged(Akonadi::Item const&,
QSet<QByteArray> const&) (item=..., this=0x560a931e8be0) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/models/entitytreemodel_p.cpp:1117
#35 Akonadi::EntityTreeModel::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=<optimized out>) at
/usr/src/debug/akonadi/build/src/core/KF5AkonadiCore_autogen/include/moc_entitytreemodel.cpp:227
#36 0x00007f9e38ebec20 in doActivate<false>(QObject*, int, void**)
(sender=0x560a9321c660, signal_index=3, argv=0x7ffd5259fea0) at
kernel/qobject.cpp:3935
#37 0x00007f9e3b3d7d6c in Akonadi::Monitor::itemChanged(Akonadi::Item const&,
QSet<QByteArray> const&) (this=<optimized out>, _t1=<optimized out>,
_t2=<optimized out>) at
/usr/src/debug/akonadi/build/src/core/KF5AkonadiCore_autogen/include/moc_monitor.cpp:864
#38 0x00007f9e3b3ec4a1 in Akonadi::MonitorPrivate::emitToListeners<void
(Akonadi::Monitor::*)(Akonadi::Item const&, QSet<QByteArray> const&),
Akonadi::Item, QSet<QByteArray> >(void (Akonadi::Monitor::*)(Akonadi::Item
const&, QSet<QByteArray> const&), Akonadi::Item, QSet<QByteArray>)
(signal=<optimized out>, this=0x560a931c7df0) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/monitor_p.h:395
#39
Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification
const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&,
Akonadi::Collection const&) (this=0x560a931c7df0, msg=<optimized out>,
items=..., collection=<optimized out>, collectionDest=<optimized out>) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/monitor_p.cpp:1056
#40 0x00007f9e3b3e6b74 in
Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification>
const&) (this=0x560a931c7df0, msg=<optimized out>) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/monitor_p.cpp:544
#41 0x00007f9e3b3e5ca5 in Akonadi::MonitorPrivate::flushPipeline()
(this=0x560a931c7df0) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/monitor_p.cpp:969
#42 0x00007f9e3b3e665e in Akonadi::MonitorPrivate::dataAvailable()
(this=0x560a931c7df0) at
/usr/src/debug/akonadi/akonadi-22.12.2/src/core/monitor_p.cpp:978
#43 0x00007f9e38ebea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd525a0190, r=<optimized out>, this=0x560a931b8560, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#44 doActivate<false>(QObject*, int, void**) (sender=0x7f9e2c00fec0,
signal_index=3, argv=0x7ffd525a0190) at kernel/qobject.cpp:3923
#45 0x00007f9e38ebec20 in doActivate<false>(QObject*, int, void**)
(sender=0x560a96d23010, signal_index=6, argv=0x7ffd525a02c0) at
kernel/qobject.cpp:3935
#46 0x00007f9e3a7a743a in KJob::result(KJob*, KJob::QPrivateSignal)
(this=this@entry=0x560a96d23010, _t1=<optimized out>, _t1@entry=0x560a96d23010,
_t2=...) at
/usr/src/debug/kcoreaddons/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#47 0x00007f9e3a7ad54c in KJob::finishJob(bool) (this=0x560a96d23010,
emitResult=<optimized out>) at
/usr/src/debug/kcoreaddons/kcoreaddons-5.103.0/src/lib/jobs/kjob.cpp:98
#48 0x00007f9e38eb1bb0 in QObject::event(QEvent*) (this=0x560a96d23010,
e=0x7f9daca63cb0) at kernel/qobject.cpp:1347
#49 0x00007f9e39b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x560a96d23010, e=0x7f9daca63cb0) at
kernel/qapplication.cpp:3640
#50 0x00007f9e38e8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x560a96d23010, event=0x7f9daca63cb0) at
kernel/qcoreapplication.cpp:1064
#51 0x00007f9e38e8ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x560a92a73430) at
kernel/qcoreapplication.cpp:1821
#52 0x00007f9e38ed4e88 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x560a92bb72a0) at kernel/qeventdispatcher_glib.cpp:277
#53 0x00007f9e36d1682b in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#54 0x00007f9e36d6dcc9 in  () at /usr/lib/libglib-2.0.so.0
#55 0x00007f9e36d150e2 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#56 0x00007f9e38ed8c6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x560a92bb6380, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#57 0x00007f9e38e866ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd525a0740,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#58 0x00007f9e38e91219 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#59 0x00007f9e39339fe2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#60 0x00007f9e39b76f2a in QApplication::exec() () at
kernel/qapplication.cpp:2832
#61 0x0000560a924e0ee4 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/kalendar/kalendar-22.12.2/src/main.cpp:188
[Inferior 1 (process 2492) detached]

The reporter indicates this bug may be a duplicate of or related to bug 463513.

Reported using DrKonqi

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

Reply via email to