Bug 456704 - Crash of the follow up reminder
Summary: Crash of the follow up reminder
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-14 08:30 UTC by Carl Schwan
Modified: 2022-07-14 15:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Schwan 2022-07-14 08:30:27 UTC
Application: akonadi_followupreminder_agent (5.20.40 (22.07.40))
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.95.0
Operating System: Linux 5.18.10-100.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
This happened at the sam time as kmail was fetching new emails (got a notification about it)

The crash can be reproduced sometimes.

-- Backtrace:
Application: akonadi_followupreminder_agent (akonadi_followupreminder_agent), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x690067006e0065) at /usr/include/c++/11/bits/atomic_base.h:481
#6  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#7  0x000000000040e7e8 in QBasicAtomicInteger<int>::loadRelaxed() const (this=0x690067006e0065) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#8  0x000000000040e174 in QtPrivate::RefCount::ref() (this=0x690067006e0065) at /usr/include/qt5/QtCore/qrefcount.h:55
#9  0x000000000040e317 in QString::QString(QString const&) (this=0x7fff7a394aa8, other=...) at /usr/include/qt5/QtCore/qstring.h:1094
#10 0x0000000000418dd9 in FollowUpReminder::FollowUpReminderInfo::messageId() const (this=0x28766f0) at /home/cschwan/kde/src/kmail/agents/followupreminderagent/followupreminderinfo.cpp:130
#11 0x0000000000410559 in FollowUpReminderManager::slotCheckFollowUpFinished(QString const&, long long) (this=0x26a4ff0, messageId=..., id=8422) at /home/cschwan/kde/src/kmail/agents/followupreminderagent/followupremindermanager.cpp:123
#12 0x0000000000413134 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QString const&, long long>, void, void (FollowUpReminderManager::*)(QString const&, long long)>::call(void (FollowUpReminderManager::*)(QString const&, long long), FollowUpReminderManager*, void**) (f=(void (FollowUpReminderManager::*)(FollowUpReminderManager * const, const QString &, long long)) 0x410406 <FollowUpReminderManager::slotCheckFollowUpFinished(QString const&, long long)>, o=0x26a4ff0, arg=0x7fff7a394cf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#13 0x0000000000412fdc in QtPrivate::FunctionPointer<void (FollowUpReminderManager::*)(QString const&, long long)>::call<QtPrivate::List<QString const&, long long>, void>(void (FollowUpReminderManager::*)(QString const&, long long), FollowUpReminderManager*, void**) (f=(void (FollowUpReminderManager::*)(FollowUpReminderManager * const, const QString &, long long)) 0x410406 <FollowUpReminderManager::slotCheckFollowUpFinished(QString const&, long long)>, o=0x26a4ff0, arg=0x7fff7a394cf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#14 0x0000000000412daf in QtPrivate::QSlotObject<void (FollowUpReminderManager::*)(QString const&, long long), QtPrivate::List<QString const&, long long>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2885420, r=0x26a4ff0, a=0x7fff7a394cf0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#15 0x00007fd4255d67d9 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#16 0x0000000000424345 in FollowUpReminderJob::finished(QString const&, long long) (this=0x2873770, _t1=..., _t2=8422) at /home/cschwan/kde/build/kmail/agents/followupreminderagent/followupreminderagent_autogen/AJN4HOEG3V/moc_followupreminderjob.cpp:135
#17 0x000000000041ae7d in FollowUpReminderJob::slotItemFetchJobDone(KJob*) (this=0x2873770, job=0x274f730) at /home/cschwan/kde/src/kmail/agents/followupreminderagent/jobs/followupreminderjob.cpp:70
#18 0x000000000041c0f7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, void (FollowUpReminderJob::*)(KJob*)>::call(void (FollowUpReminderJob::*)(KJob*), FollowUpReminderJob*, void**) (f=(void (FollowUpReminderJob::*)(FollowUpReminderJob * const, KJob *)) 0x41aabc <FollowUpReminderJob::slotItemFetchJobDone(KJob*)>, o=0x2873770, arg=0x7fff7a394ff0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#19 0x000000000041bee1 in QtPrivate::FunctionPointer<void (FollowUpReminderJob::*)(KJob*)>::call<QtPrivate::List<KJob*>, void>(void (FollowUpReminderJob::*)(KJob*), FollowUpReminderJob*, void**) (f=(void (FollowUpReminderJob::*)(FollowUpReminderJob * const, KJob *)) 0x41aabc <FollowUpReminderJob::slotItemFetchJobDone(KJob*)>, o=0x2873770, arg=0x7fff7a394ff0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#20 0x000000000041bb7f in QtPrivate::QSlotObject<void (FollowUpReminderJob::*)(KJob*), QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x26b94e0, r=0x2873770, a=0x7fff7a394ff0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#21 0x00007fd4255d67d9 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#22 0x00007fd426d3668b in KJob::result(KJob*, KJob::QPrivateSignal) (this=0x274f730, _t1=0x274f730, _t2=...) at /home/cschwan/kde/build/kcoreaddons/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#23 0x00007fd426d33ded in KJob::finishJob(bool) (this=0x274f730, emitResult=true) at /home/cschwan/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:98
#24 0x00007fd426d3499d in KJob::emitResult() (this=0x274f730) at /home/cschwan/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:337
#25 0x00007fd42720f051 in Akonadi::JobPrivate::delayedEmitResult() (this=0x7fd3840407d0) at /home/cschwan/kde/src/akonadi/src/core/jobs/job.cpp:179
#26 0x00007fd42720d66f in operator()() const (__closure=0x2750b10) at /home/cschwan/kde/src/akonadi/src/core/jobs/job.cpp:71
#27 0x00007fd4272114c2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x2876808) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#28 0x00007fd427211345 in QtPrivate::Functor<Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x2876808) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#29 0x00007fd42721100e in QtPrivate::QFunctorSlotObject<Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x2750b00, r=0x274f730, a=0x2876808, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#30 0x00007fd4255cd339 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007fd426412443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007fd4255a2be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007fd4255a6156 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#34 0x00007fd4255f44e7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#35 0x00007fd41a1420af in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#36 0x00007fd41a197308 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#37 0x00007fd41a13f8a3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#38 0x00007fd4255f3f88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#39 0x00007fd4255a15f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#40 0x00007fd4255a9b34 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#41 0x00007fd4294a44b8 in Akonadi::AgentBase::init(Akonadi::AgentBase&) (r=...) at /home/cschwan/kde/src/akonadi/src/agentbase/agentbase.cpp:943
#42 0x000000000040ecc9 in Akonadi::AgentBase::init<FollowUpReminderAgent>(int, char**) (argc=3, argv=0x7fff7a3957c8) at /home/cschwan/kde/usr/include/KF5/AkonadiAgentBase/akonadi/agentbase.h:468
#43 0x000000000040e01f in main(int, char**) (argc=3, argv=0x7fff7a3957c8) at /home/cschwan/kde/src/kmail/agents/followupreminderagent/followupreminderagent.cpp:134
[Inferior 1 (process 5497) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'akonadi_followupreminder_agent' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Carl Schwan 2022-07-14 15:35:27 UTC
This has been fixed