Bug 376167

Summary: Send Later Agent crashes after laptop wakes from suspend
Product: [Frameworks and Libraries] Akonadi Reporter: abenson
Component: SendLaterAgentAssignee: Laurent Montel <montel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel
Priority: NOR Keywords: drkonqi
Version: 5.3.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description abenson 2017-02-08 01:23:05 UTC
Application: akonadi_sendlater_agent (5.3.3)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.8.16-300.fc25.x86_64 x86_64
Distribution: "Fedora release 25 (Twenty Five)"

-- Information about the crash:
- What I was doing when the application crashed:

Woke laptop from suspend. A mail was past due to be sent by the Send Later Agent. Agent was offline - asked if it should go online - clicked Yes. Mail was sent, but then the Agent crashed with two additional emails remaining for it to send.

-- Backtrace:
Application: Send Later Agent (akonadi_sendlater_agent), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x2abea8a16b80 (LWP 23016))]

Thread 7 (Thread 0x2abebb03a700 (LWP 21293)):
#0  0x00002abe96ccc7f9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00002abe96c866a6 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00002abe96c8707b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00002abe8592073b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00002abe8572e5f3 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#9  0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x2abeb9ffc700 (LWP 23225)):
#0  0x00002abe96c86680 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#1  0x00002abe96c8707b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00002abe8592073b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00002abe8572e5f3 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#8  0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x2abeb9dfb700 (LWP 23183)):
#0  0x00002abe96ccc814 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00002abe96c86ba1 in g_main_context_check () at /lib64/libglib-2.0.so.0
#2  0x00002abe96c870f4 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00002abe8592073b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00002abe8572e5f3 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#9  0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x2abeb9bfa700 (LWP 23182)):
#0  0x00002abe864b5bed in read () at /lib64/libc.so.6
#1  0x00002abe96ccb450 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00002abe96c86c60 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00002abe96c870f4 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00002abe8592073b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00002abe8572e5f3 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#10 0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x2abeb99f9700 (LWP 23181)):
#0  0x00002abe96ccc7f9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00002abe96c87112 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00002abe8592073b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00002abe8572e5f3 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00002abe85615739 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#9  0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x2abeb25a8700 (LWP 23166)):
#0  0x00002abe864ba01d in poll () at /lib64/libc.so.6
#1  0x00002abe9262dd10 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00002abe9262faa9 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00002abeaf56dd69 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00002abe857329da in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00002abe92cb46ca in start_thread () at /lib64/libpthread.so.0
#6  0x00002abe864c5f7f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x2abea8a16b80 (LWP 23016)):
[KCrash Handler]
#6  0x00002abe8577125b in QDateTime::QDateTime(QDateTime const&) () at /lib64/libQt5Core.so.5
#7  0x00002abe7f40f32d in SendLater::SendLaterInfo::dateTime() const () at /lib64/libKF5SendLater.so.5
#8  0x00002abe7f412e04 in SendLater::SendLaterUtil::changeRecurrentDate(SendLater::SendLaterInfo*) () at /lib64/libKF5SendLater.so.5
#9  0x0000561a0603a878 in SendLaterManager::sendDone(SendLater::SendLaterInfo*) ()
#10 0x0000561a0603b973 in SendLaterJob::sendDone() ()
#11 0x0000561a0603cd16 in SendLaterJob::slotJobFinished(KJob*) ()
#12 0x00002abe858f9ae6 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#13 0x00002abe83d438f2 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#14 0x00002abe83d45231 in KJob::finishJob(bool) () at /lib64/libKF5CoreAddons.so.5
#15 0x00002abe82de7619 in Akonadi::Job::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libKF5AkonadiCore.so.5
#16 0x00002abe858fa879 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00002abe84797ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00002abe8479f671 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00002abe858d27aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00002abe858d4e90 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#21 0x00002abe859206a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#22 0x00002abe96c86e42 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#23 0x00002abe96c871c0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#24 0x00002abe96c8726c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#25 0x00002abe8592071f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00002abe858d173a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00002abe858d923c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#28 0x00002abe7f1c501a in Akonadi::AgentBase::init(Akonadi::AgentBase*) () at /lib64/libKF5AkonadiAgentBase.so.5
#29 0x0000561a060345b7 in int Akonadi::AgentBase::init<SendLaterAgent>(int, char**) ()
#30 0x00002abe863de401 in __libc_start_main () at /lib64/libc.so.6
#31 0x0000561a06032fca in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:26:19 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Justin Zobel 2021-01-11 23:03:10 UTC
Status correction.
Comment 3 Bug Janitor Service 2021-01-26 04:33:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-02-10 04:33:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!