Bug 420765 - imap resource crashed after Laptop resume
Summary: imap resource crashed after Laptop resume
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (other bugs)
Version First Reported In: 5.14.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 19:18 UTC by Martin Koller
Modified: 2020-04-29 19:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2020-04-29 19:18:42 UTC
Application: akonadi_imap_resource (5.14.0 (20.04.0))

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 5.6.4-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

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

After I resumed the Laptop from suspend, the imap resource crashed immediately

-- Backtrace:
Application: IMAP_davmail (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f95ac8b5cc0 (LWP 25079))]

Thread 9 (Thread 0x7f958adee700 (LWP 25293)):
#0  0x00007f95b2954629 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f95b29088d7 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f95b290926b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f95b290945f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f95bc77ec0b in QEventDispatcherGlib::processEvents (this=0x7f957c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f958aded8e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f95bc5515ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f95bc552698 in QThreadPrivate::start (arg=0x10c3bf0) at thread/qthread_unix.cpp:342
#8  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f958bfff700 (LWP 25258)):
#0  0x00007f95b29088bd in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f95b290926b in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f95b290945f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f95bc77ec0b in QEventDispatcherGlib::processEvents (this=0x7f9584000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f958bffe8e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f95bc5515ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f95bc552698 in QThreadPrivate::start (arg=0x1083730) at thread/qthread_unix.cpp:342
#7  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f95a0df7700 (LWP 25251)):
#0  0x00007f95bc073acf in poll () from /lib64/libc.so.6
#1  0x00007f95b290933e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f95b290945f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f95bc77ec0b in QEventDispatcherGlib::processEvents (this=0x7f9590000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f95bc726b9b in QEventLoop::exec (this=this@entry=0x7f95a0df68b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f95bc5515ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f95bd98a507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f95bc552698 in QThreadPrivate::start (arg=0x7f95bda0cda0) at thread/qthread_unix.cpp:342
#8  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f95a2ffd700 (LWP 25219)):
#0  0x00007f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f95a37fe700 (LWP 25218)):
#0  0x00007f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f95a3fff700 (LWP 25217)):
#0  0x00007f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f95a8d31700 (LWP 25216)):
#0  0x00007f95b3806795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f95a93fd98b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f95a93fd807 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f95aaafc700 (LWP 25183)):
#0  0x00007f95bc073acf in poll () from /lib64/libc.so.6
#1  0x00007f95b3653772 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f95b365443a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f95aac6aab0 in QXcbEventQueue::run (this=0xcb6aa0) at qxcbeventqueue.cpp:228
#4  0x00007f95bc552698 in QThreadPrivate::start (arg=0xcb6aa0) at thread/qthread_unix.cpp:342
#5  0x00007f95b37ffefa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f95bc07e3bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f95ac8b5cc0 (LWP 25079)):
[KCrash Handler]
#6  0x00007f95bbfbaea1 in raise () from /lib64/libc.so.6
#7  0x00007f95bbfa453d in abort () from /lib64/libc.so.6
#8  0x00007f95bc519aef in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1894
#9  QMessageLogger::fatal (this=this@entry=0x7ffe0c4e2950, msg=msg@entry=0x7f95bc806ec8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893
#10 0x00007f95bc518f8a in qt_assert_x (where=<optimized out>, what=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qlogging.h:90
#11 0x00007f95be96d871 in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=0x7f95a40077f0) at /home/KDE5/source/kde/pim/akonadi/src/agentbase/resourcebase.cpp:188
#12 0x00007f95be9685aa in Akonadi::ResourceBase::setItemStreamingEnabled (this=0x7ffe0c4e3618, enable=true) at /home/KDE5/source/kde/pim/akonadi/src/agentbase/resourcebase.cpp:1376
#13 0x0000000000473357 in ImapResourceBase::retrieveItems (this=0x7ffe0c4e3618, col=...) at /home/KDE5/source/kde/pim/kdepim-runtime/resources/imap/imapresourcebase.cpp:432
#14 0x00007f95be965d54 in Akonadi::ResourceBasePrivate::slotItemRetrievalCollectionFetchDone (this=0x7f95a40077f0, job=0x11167c0) at /home/KDE5/source/kde/pim/akonadi/src/agentbase/resourcebase.cpp:1003
#15 0x00007f95be96ac45 in Akonadi::ResourceBase::qt_static_metacall (_o=0x7ffe0c4e3618, _c=QMetaObject::InvokeMetaMethod, _id=45, _a=0x7ffe0c4e2ea0) at KF5AkonadiAgentBase_autogen/include/moc_resourcebase.cpp:318
#16 0x00007f95bc75ca30 in doActivate<false> (sender=0x11167c0, signal_index=6, argv=0x7ffe0c4e2ea0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:391
#17 0x00007f95bc7571bf in QMetaObject::activate (sender=sender@entry=0x11167c0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe0c4e2ea0) at kernel/qobject.cpp:3930
#18 0x00007f95bdc6cb4c in KJob::result (this=this@entry=0x11167c0, _t1=<optimized out>, _t1@entry=0x11167c0, _t2=...) at /usr/src/debug/kcoreaddons-5.69.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:574
#19 0x00007f95bdc6dd33 in KJob::finishJob (this=0x11167c0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.69.0-1.1.x86_64/src/lib/jobs/kjob.cpp:96
#20 0x00007f95be3df73f in Akonadi::JobPrivate::delayedEmitResult (this=0x12784f0) at /home/KDE5/source/kde/pim/akonadi/src/core/jobs/job.cpp:191
#21 0x00007f95be3e15e8 in Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2::operator()() const (this=0x12be960) at /home/KDE5/source/kde/pim/akonadi/src/core/jobs/job.cpp:83
#22 0x00007f95be3e15b9 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2>::call(Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2&, void**) (f=..., arg=0x12a9dd8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#23 0x00007f95be3e1591 in QtPrivate::Functor<Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2, 0>::call<QtPrivate::List<>, void>(Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2&, void*, void**) (f=..., arg=0x12a9dd8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#24 0x00007f95be3e153c in QtPrivate::QFunctorSlotObject<Akonadi::JobPrivate::handleResponse(long long, QSharedPointer<Akonadi::Protocol::Command> const&)::$_2, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x12be950, r=0x11167c0, a=0x12a9dd8, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#25 0x00007f95bc754a19 in QObject::event (this=0x11167c0, e=0x12a9d90) at kernel/qobject.cpp:1339
#26 0x00007f95bd3f3caf in QApplicationPrivate::notify_helper (this=this@entry=0xc95370, receiver=receiver@entry=0x11167c0, e=e@entry=0x12a9d90) at kernel/qapplication.cpp:3684
#27 0x00007f95bd3fcdf0 in QApplication::notify (this=0x7ffe0c4e36a0, receiver=0x11167c0, e=0x12a9d90) at kernel/qapplication.cpp:3430
#28 0x00007f95bc728002 in QCoreApplication::notifyInternal2 (receiver=0x11167c0, event=0x12a9d90) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#29 0x00007f95bc72a794 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc49390) at kernel/qcoreapplication.cpp:1832
#30 0x00007f95bc77f573 in postEventSourceDispatch (s=0xd64eb0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f95b2909048 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f95b29093d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f95b290945f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f95bc77ebee in QEventDispatcherGlib::processEvents (this=0xd65c90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f95bc726b9b in QEventLoop::exec (this=this@entry=0x7ffe0c4e3550, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#36 0x00007f95bc72e972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#37 0x00007f95be96296b in Akonadi::ResourceBase::init (r=...) at /home/KDE5/source/kde/pim/akonadi/src/agentbase/resourcebase.cpp:611
#38 0x000000000042a3da in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7ffe0c4e37d8) at /home/KDE5/include/KF5/AkonadiAgentBase/resourcebase.h:199
#39 0x000000000042a2b2 in main (argc=3, argv=0x7ffe0c4e37d8) at /home/KDE5/source/kde/pim/kdepim-runtime/resources/imap/main.cpp:22
[Inferior 1 (process 25079) detached]

Possible duplicates by query: bug 417477, bug 417285, bug 414922, bug 414137, bug 413943.

Report to https://bugs.kde.org/