Bug 312057 - Crash when trying to retrieve email on spotty network
Summary: Crash when trying to retrieve email on spotty network
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 308602 308641 308737 312706 315584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-21 22:50 UTC by Rob Deker
Modified: 2013-04-01 21:52 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Deker 2012-12-21 22:50:34 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-34-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

Trying to force KMail to resync an IMAP account while connecting through a MiFi in a low signal area.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dekerknives of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4c89eef780 (LWP 13658))]

Thread 4 (Thread 0x7f4c76813700 (LWP 13709)):
#0  0x00007f4c8588e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c843d9036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d9164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents (this=0x7f4c700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c76812de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x2446a80) at thread/qthread_unix.cpp:298
#9  0x00007f4c84ef4e9a in start_thread (arg=0x7f4c76813700) at pthread_create.c:308
#10 0x00007f4c85899cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c6ffff700 (LWP 28257)):
#0  0x00007f4c844145d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c843d883b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d8f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c843d9164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents (this=0x7f4c640028c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c6fffede0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#9  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x247d050) at thread/qthread_unix.cpp:298
#10 0x00007f4c84ef4e9a in start_thread (arg=0x7f4c6ffff700) at pthread_create.c:308
#11 0x00007f4c85899cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c76012700 (LWP 28847)):
#0  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f4c76011c7c) at kernel/qeventdispatcher_glib.cpp:209
#1  0x00007f4c843d8846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c843d8f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c843d9164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c8930c426 in QEventDispatcherGlib::processEvents (this=0x7f4c6001bfc0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c892dbed7 in QEventLoop::exec (this=0x7f4c76011de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4c891dafa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f4c87f11c39 in ?? () from /usr/lib/libkimap.so.4
#9  0x00007f4c891ddfcb in QThreadPrivate::start (arg=0x29c5ca0) at thread/qthread_unix.cpp:298
#10 0x00007f4c84ef4e9a in start_thread (arg=0x7f4c76012700) at pthread_create.c:308
#11 0x00007f4c85899cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c89eef780 (LWP 13658)):
[KCrash Handler]
#6  0x00000000027ddea0 in ?? ()
#7  0x00007f4c892f0b04 in QObject::disconnect (sender=0x270cc30, signal=0x2846739 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x247d630, method=0x28ecdc9 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2891
#8  0x0000000000454365 in SessionPool::killSession (this=0x247d630, session=0x270cc30, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:176
#9  0x000000000045471d in SessionPool::disconnect (this=0x247d630, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:117
#10 0x00000000004181eb in ImapResource::doSetOnline (this=0x258cb20, online=false) at ../../../resources/imap/imapresource.cpp:427
#11 0x00007f4c89936778 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#12 0x0000000000416ce7 in ImapResource::onConnectDone (this=0x258cb20, errorCode=<optimized out>, errorString=...) at ../../../resources/imap/imapresource.cpp:243
#13 0x00007f4c892f1281 in QMetaObject::activate (sender=0x247d630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff76ab2630) at kernel/qobject.cpp:3547
#14 0x0000000000454184 in SessionPool::connectDone (this=<optimized out>, _t1=8, _t2=...) at ./sessionpool.moc:161
#15 0x0000000000454c51 in SessionPool::cancelSessionCreation (this=0x247d630, session=0x28a5880, errorCode=8, errorMessage=...) at ../../../resources/imap/sessionpool.cpp:223
#16 0x0000000000456331 in SessionPool::onLoginDone (this=0x247d630, job=0x2470450) at ../../../resources/imap/sessionpool.cpp:367
#17 0x0000000000456cec in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:95
#18 0x00007f4c892f1281 in QMetaObject::activate (sender=0x2470450, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff76ab2a00) at kernel/qobject.cpp:3547
#19 0x00007f4c861ae152 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#20 0x00007f4c861ae190 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#21 0x00007f4c87f0406c in KIMAP::LoginJob::connectionLost() () from /usr/lib/libkimap.so.4
#22 0x00007f4c87f0fa73 in KIMAP::SessionPrivate::clearJobQueue() () from /usr/lib/libkimap.so.4
#23 0x00007f4c892f6446 in QObject::event (this=0x28a5880, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007f4c8865f894 in notify_helper (e=0x7f4c600035b0, receiver=0x28a5880, this=0x23e8300) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0x23e8300, receiver=0x28a5880, e=0x7f4c600035b0) at kernel/qapplication.cpp:4531
#26 0x00007f4c88664713 in QApplication::notify (this=0x7fff76ab3400, receiver=0x28a5880, e=0x7f4c600035b0) at kernel/qapplication.cpp:4420
#27 0x00007f4c867893f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0x00007f4c892dce9c in QCoreApplication::notifyInternal (this=0x7fff76ab3400, receiver=0x28a5880, event=0x7f4c600035b0) at kernel/qcoreapplication.cpp:876
#29 0x00007f4c892e0c6a in sendEvent (event=0x7f4c600035b0, receiver=0x28a5880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23bd4d0) at kernel/qcoreapplication.cpp:1500
#31 0x00007f4c8930bf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#33 0x00007f4c843d8d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4c843d90a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4c843d9164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4c8930c3bf in QEventDispatcherGlib::processEvents (this=0x23becb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f4c88707d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f4c892dbc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f4c892dbed7 in QEventLoop::exec (this=0x7fff76ab3380, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f4c892e0f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x00007f4c89a0b326 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#42 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#43 0x00007f4c857c776d in __libc_start_main (main=0x4151c0 <main(int, char**)>, argc=3, ubp_av=0x7fff76ab3518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff76ab3508) at libc-start.c:226
#44 0x0000000000415375 in _start ()

This bug may be a duplicate of or related to bug 288268.

Possible duplicates by query: bug 308737, bug 308641, bug 308602, bug 307673, bug 306819.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-01-05 21:46:53 UTC
*** Bug 312706 has been marked as a duplicate of this bug. ***
Comment 2 David Faure 2013-02-17 21:02:27 UTC
Git commit d82e4917f7286984bce16c2fa36ea4e9f6a24453 by David Faure.
Committed on 17/02/2013 at 21:54.
Pushed by dfaure into branch 'KDE/4.10'.

Fix crash due to dangling session pointer in m_pendingInitialSession.

This happens after disconnect() kills all sessions (e.g. due to losing
internet connection while the password dialog is up, or explicit toggling
of offline/online status, or due to the "SSL not supported").
Related: bug 312480, bug 310072, bug 308888, bug 288268, bug 309357, bug 308207, bug 312535, bug 311014, bug 309346, bug 307780
FIXED-IN: 4.10.1

M  +1    -0    resources/imap/sessionpool.cpp

http://commits.kde.org/kdepim-runtime/d82e4917f7286984bce16c2fa36ea4e9f6a24453
Comment 3 Jekyll Wu 2013-02-26 03:04:57 UTC
*** Bug 315584 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2013-02-26 03:05:25 UTC
*** Bug 308737 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2013-02-26 03:05:50 UTC
*** Bug 308641 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2013-02-26 03:06:47 UTC
*** Bug 308602 has been marked as a duplicate of this bug. ***
Comment 7 mnd999 2013-04-01 21:52:10 UTC
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.0-15-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

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

IMAP had for some reason gone into offline mode. The only way to prise it out was with akonadiconsole but that just seemed to cause this crash (in 4.10.1 where it's supposed to be fixed).

- Unusual behavior I noticed:

IMAP went offline and could not be persuaded to come online again from KMail.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Google Mail of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f55224be7c0 (LWP 13380))]

Thread 5 (Thread 0x7f550d855700 (LWP 16976)):
#0  0x00007f551deff3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f551cc4b1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55218f5036 in QEventDispatcherGlib::processEvents (this=0x7f550400ca40, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55218c538f in QEventLoop::processEvents (this=this@entry=0x7f550d854da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550d854da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f552052ab4a in KIMAP::SessionThread::run (this=0x18a4a80) at ../../kimap/sessionthread.cpp:184
#8  0x00007f55217c9bec in QThreadPrivate::start (arg=0x18a4a80) at thread/qthread_unix.cpp:338
#9  0x00007f551d564f8e in start_thread (arg=0x7f550d855700) at pthread_create.c:311
#10 0x00007f551df0be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f550e67a700 (LWP 17737)):
#0  0x00007f551cc8a35c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f551cc8a5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4ade6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f551cc4b248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f551cc4b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55218f5036 in QEventDispatcherGlib::processEvents (this=0x7f5500009120, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f55218c538f in QEventLoop::processEvents (this=this@entry=0x7f550e679da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550e679da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f552052ab4a in KIMAP::SessionThread::run (this=0x1962580) at ../../kimap/sessionthread.cpp:184
#10 0x00007f55217c9bec in QThreadPrivate::start (arg=0x1962580) at thread/qthread_unix.cpp:338
#11 0x00007f551d564f8e in start_thread (arg=0x7f550e67a700) at pthread_create.c:311
#12 0x00007f551df0be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f550d054700 (LWP 2844)):
#0  0x00007f551deff3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f551cc4b1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f551cc4b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55218f5036 in QEventDispatcherGlib::processEvents (this=0x7f54f800b510, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55218c538f in QEventLoop::processEvents (this=this@entry=0x7f550d053d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55218c5618 in QEventLoop::exec (this=0x7f550d053d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55217c7410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f55218a6edf in QInotifyFileSystemWatcherEngine::run (this=0x199d4e0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f55217c9bec in QThreadPrivate::start (arg=0x199d4e0) at thread/qthread_unix.cpp:338
#9  0x00007f551d564f8e in start_thread (arg=0x7f550d054700) at pthread_create.c:311
#10 0x00007f551df0be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f550ee7b700 (LWP 2845)):
#0  0x00007fff1777eac9 in ?? ()
#1  0x00007f550ee7ab00 in ?? ()
#2  0x00000001176bee70 in ?? ()
#3  0x00007f54fc006280 in ?? ()
#4  0x00007f550ee7ab90 in ?? ()
#5  0x00007f550ee7ac48 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f55224be7c0 (LWP 13380)):
[KCrash Handler]
#6  0x00000000017db480 in ?? ()
#7  0x00007f55218dce51 in QObject::disconnect (sender=0x17bc7f0, signal=0x1d12a19 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x1910250, method=0x19b6cc9 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2887
#8  0x0000000000454c15 in SessionPool::killSession (this=this@entry=0x1910250, session=0x17bc7f0, termination=termination@entry=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:177
#9  0x0000000000454ff5 in SessionPool::disconnect (this=0x1910250, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:117
#10 0x000000000041aec3 in ImapResource::doSetOnline (this=0x18f0300, online=<optimized out>) at ../../../resources/imap/imapresource.cpp:490
#11 0x00007f5521f23b59 in Akonadi::AgentBase::setOnlineInternal (this=this@entry=0x18f0300, state=state@entry=false) at ../../akonadi/agentbase.cpp:659
#12 0x00007f5521f23c78 in Akonadi::AgentBase::setOnline (this=0x18f0300, state=false) at ../../akonadi/agentbase.cpp:646
#13 0x000000000041a7d7 in ImapResource::onConnectDone (this=0x18f0300, errorCode=392945008, errorString=...) at ../../../resources/imap/imapresource.cpp:280
#14 0x000000000041ac0f in ImapResource::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./imapresource.moc:118
#15 0x00007f55218db0ef in QMetaObject::activate (sender=0x1910250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff176be160) at kernel/qobject.cpp:3539
#16 0x0000000000454a24 in SessionPool::connectDone (this=this@entry=0x1910250, _t1=_t1@entry=8, _t2=...) at ./sessionpool.moc:161
#17 0x000000000045553f in SessionPool::cancelSessionCreation (this=this@entry=0x1910250, session=0x190a800, errorCode=errorCode@entry=8, errorMessage=...) at ../../../resources/imap/sessionpool.cpp:224
#18 0x00000000004561b4 in SessionPool::onLoginDone (this=0x1910250, job=0x1909aa0) at ../../../resources/imap/sessionpool.cpp:367
#19 0x000000000045750c in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:95
#20 0x00007f55218db0ef in QMetaObject::activate (sender=0x1909aa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff176be470) at kernel/qobject.cpp:3539
#21 0x00007f551e817112 in KJob::result (this=this@entry=0x1909aa0, _t1=_t1@entry=0x1909aa0) at ./kjob.moc:208
#22 0x00007f551e817150 in KJob::emitResult (this=0x1909aa0) at ../../kdecore/jobs/kjob.cpp:318
#23 0x00007f552051a76c in KIMAP::LoginJob::connectionLost (this=0x1909aa0) at ../../kimap/loginjob.cpp:584
#24 0x00007f5520526661 in KIMAP::SessionPrivate::clearJobQueue (this=0x1befc20) at ../../kimap/session.cpp:401
#25 0x00007f55218e05be in QObject::event (this=0x190a800, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00007f5520c6c8ec in QApplicationPrivate::notify_helper (this=this@entry=0x17222b0, receiver=receiver@entry=0x190a800, e=e@entry=0x7f54fc023290) at kernel/qapplication.cpp:4567
#27 0x00007f5520c6f25b in QApplication::notify (this=0x7fff176bee70, receiver=0x190a800, e=0x7f54fc023290) at kernel/qapplication.cpp:4428
#28 0x00007f551edddaf6 in KApplication::notify (this=0x7fff176bee70, receiver=0x190a800, event=0x7f54fc023290) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f55218c663e in QCoreApplication::notifyInternal (this=0x7fff176bee70, receiver=receiver@entry=0x190a800, event=event@entry=0x7f54fc023290) at kernel/qcoreapplication.cpp:946
#30 0x00007f55218ca171 in sendEvent (event=0x7f54fc023290, receiver=0x190a800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x16f1f60) at kernel/qcoreapplication.cpp:1570
#32 0x00007f55218f4e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x17238f0) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f551cc4af05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f551cc4b248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f551cc4b304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f55218f5016 in QEventDispatcherGlib::processEvents (this=0x16f3c20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f5520d121ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f55218c538f in QEventLoop::processEvents (this=this@entry=0x7fff176bedf0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f55218c5618 in QEventLoop::exec (this=0x7fff176bedf0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f55218cacf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#42 0x00007f5521feada3 in Akonadi::ResourceBase::init (r=0x18f0300) at ../../akonadi/resourcebase.cpp:451
#43 0x000000000041c5d3 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#44 0x00007f551de33ea5 in __libc_start_main (main=0x415590 <main(int, char**)>, argc=3, ubp_av=0x7fff176bef88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff176bef78) at libc-start.c:260
#45 0x0000000000415715 in _start ()

Possible duplicates by query: bug 315584, bug 312706, bug 312057, bug 308737, bug 308641.

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