Bug 340794 - KMail: error during new mail scanning interval
Summary: KMail: error during new mail scanning interval
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Christian Mollekopf
Keywords: drkonqi
Depends on:
Reported: 2014-11-09 16:04 UTC by Paul
Modified: 2018-02-01 09:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2014-11-09 16:04:22 UTC
Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-39-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

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

I left KMail running in hte background while browsing using Firefox. I guess during KMail's mail scanning interval this error occurred

-- Backtrace:
Application: Microsoft Live Hotmail 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 0x7f8533f827c0 (LWP 18595))]

Thread 2 (Thread 0x7f851f876700 (LWP 18302)):
#0  0x00007f852f8dc36d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f852e891c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f852e850b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f852e850f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f852e8510ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f85335b27be in QEventDispatcherGlib::processEvents (this=0x7f8510022f00, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f85335840af in QEventLoop::processEvents (this=this@entry=0x7f851f875e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f85335843a5 in QEventLoop::exec (this=this@entry=0x7f851f875e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8533480c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f853348332f in QThreadPrivate::start (arg=0xd629d0) at thread/qthread_unix.cpp:349
#10 0x00007f852ef40182 in start_thread (arg=0x7f851f876700) at pthread_create.c:312
#11 0x00007f852f8eafbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8533f827c0 (LWP 18595)):
[KCrash Handler]
#6  operator char const* (this=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:425
#7  KIMAP::Session::selectedMailBox (this=0xabc2e0) at ../../kimap/session.cpp:449
#8  0x0000000000446b1f in RetrieveItemsTask::startRetrievalTasks (this=this@entry=0xe1f8b0) at ../../../resources/imap/retrieveitemstask.cpp:150
#9  0x0000000000446e0e in RetrieveItemsTask::doStart (this=0xe1f8b0, session=<optimized out>) at ../../../resources/imap/retrieveitemstask.cpp:98
#10 0x000000000043ab13 in ResourceTask::onSessionRequested (this=0xe1f8b0, requestId=<optimized out>, session=0xabc2e0, errorCode=0) at ../../../resources/imap/resourcetask.cpp:119
#11 0x00000000004648b5 in ResourceTask::qt_static_metacall (_o=0x7fff36211920, _c=11256544, _id=-1, _a=0xbb9620) at moc_resourcetask.cpp:69
#12 0x00007f853359987a in QMetaObject::activate (sender=sender@entry=0xba31a0, m=m@entry=0x482160 <SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff36211ba0) at kernel/qobject.cpp:3539
#13 0x0000000000464962 in SessionPool::sessionRequestDone (this=this@entry=0xba31a0, _t1=_t1@entry=739, _t2=_t2@entry=0xabc2e0, _t3=_t3@entry=0, _t4=...) at moc_sessionpool.cpp:153
#14 0x000000000045086a in SessionPool::processPendingRequests (this=0xba31a0) at ../../../resources/imap/sessionpool.cpp:257
#15 0x0000000000464a2d in SessionPool::qt_static_metacall (_o=0x7fff36211920, _c=11256544, _id=-1, _a=0xbb9620) at moc_sessionpool.cpp:92
#16 0x00007f853359dc1e in QObject::event (this=0xba31a0, e=<optimized out>) at kernel/qobject.cpp:1194
#17 0x00007f8532919e2c in QApplicationPrivate::notify_helper (this=this@entry=0xa24f50, receiver=receiver@entry=0xba31a0, e=e@entry=0xc17d90) at kernel/qapplication.cpp:4567
#18 0x00007f85329204a0 in QApplication::notify (this=this@entry=0x7fff36212330, receiver=receiver@entry=0xba31a0, e=e@entry=0xc17d90) at kernel/qapplication.cpp:4353
#19 0x00007f8530a41cca in KApplication::notify (this=0x7fff36212330, receiver=0xba31a0, event=0xc17d90) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f85335854dd in QCoreApplication::notifyInternal (this=0x7fff36212330, receiver=receiver@entry=0xba31a0, event=event@entry=0xc17d90) at kernel/qcoreapplication.cpp:953
#21 0x00007f8533588b3d in sendEvent (event=0xc17d90, receiver=0xba31a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9de220) at kernel/qcoreapplication.cpp:1577
#23 0x00007f8533588fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#24 0x00007f85335b2f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0xa0cd80) at kernel/qeventdispatcher_glib.cpp:287
#26 0x00007f852e850e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f852e851048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f852e8510ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f85335b27a1 in QEventDispatcherGlib::processEvents (this=0x9df700, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#30 0x00007f85329bbbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f85335840af in QEventLoop::processEvents (this=this@entry=0x7fff362122a0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f85335843a5 in QEventLoop::exec (this=this@entry=0x7fff362122a0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f8533589b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#34 0x00007f853291837c in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x00007f8533a69783 in Akonadi::ResourceBase::init (r=r@entry=0xb95720) at ../../akonadi/resourcebase.cpp:579
#36 0x0000000000418993 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:193
#37 0x00007f852f811ec5 in __libc_start_main (main=0x4182e0 <main(int, char**)>, argc=3, argv=0x7fff36212448, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff36212438) at libc-start.c:287
#38 0x0000000000418854 in _start ()

Possible duplicates by query: bug 328188.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:58:59 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:49:49 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.