Bug 330859

Summary: IMAP service crashes after deleting some messages
Product: [Frameworks and Libraries] Akonadi Reporter: mgalinsk
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR Keywords: drkonqi
Version: 4.11   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mgalinsk 2014-02-06 18:09:29 UTC
Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I deleted (moved to trash) some message from a folder. Same operation was sucesfull previously but after problem had appeared IMAP service is unusable.

The crash can be reproduced every time.

-- Backtrace:
Application: onet typu Serwer poczty IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb49d4740 (LWP 1796))]

Thread 2 (Thread 0xb1f55b40 (LWP 1847)):
#0  0xb76e0424 in __kernel_vsyscall ()
#1  0xb573f4d2 in clock_gettime (clock_id=1, tp=0xb1f54ff8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb71cc3ec in do_gettime (frac=0xb1f54ff0, sec=0xb1f54fe8) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb72b1fd2 in updateCurrentTime (this=0xb1602074) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xb1602074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb72b067b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb1f550ec) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb72b070d in timerSourcePrepare (source=0xb1602040, timeout=0xb1f550ec) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb544a143 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb544aa5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb544aca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb72b08df in QEventDispatcherGlib::processEvents (this=0xb1600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb727f9f3 in QEventLoop::processEvents (this=this@entry=0xb1f55258, flags=...) at kernel/qeventloop.cpp:149
#13 0xb727fd19 in QEventLoop::exec (this=this@entry=0xb1f55258, flags=...) at kernel/qeventloop.cpp:204
#14 0xb716ee3d in QThread::exec (this=this@entry=0x966b0f0) at thread/qthread.cpp:542
#15 0xb716ef8b in QThread::run (this=0x966b0f0) at thread/qthread.cpp:609
#16 0xb717172f in QThreadPrivate::start (arg=0x966b0f0) at thread/qthread_unix.cpp:338
#17 0xb5579d78 in start_thread (arg=0xb1f55b40) at pthread_create.c:311
#18 0xb572c01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb49d4740 (LWP 1796)):
[KCrash Handler]
#7  0x08088eae in MoveItemsTask::recordNewUid (this=this@entry=0x96ef318) at ../../../resources/imap/moveitemstask.cpp:289
#8  0x080894d0 in MoveItemsTask::onSearchDone (this=0x96ef318, job=0x94da938) at ../../../resources/imap/moveitemstask.cpp:241
#9  0xb7295fc7 in QMetaObject::activate (sender=sender@entry=0x94da938, m=m@entry=0xb5b9f4cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfb09448) at kernel/qobject.cpp:3539
#10 0xb59faa25 in KJob::result (this=this@entry=0x94da938, _t1=_t1@entry=0x94da938) at ./kjob.moc:208
#11 0xb59faa72 in KJob::emitResult (this=0x94da938) at ../../kdecore/jobs/kjob.cpp:318
#12 0xb64bce4e in KIMAP::Job::handleErrorReplies (this=this@entry=0x94da938, response=...) at ../../kimap/job.cpp:84
#13 0xb64e24a9 in KIMAP::SearchJob::handleResponse (this=0x94da938, response=...) at ../../kimap/searchjob.cpp:161
#14 0xb64d5d46 in KIMAP::SessionPrivate::responseReceived (this=0x966af08, response=...) at ../../kimap/session.cpp:285
#15 0xb64d87bb in KIMAP::SessionPrivate::qt_static_metacall (_o=0x1, _id=0, _a=0xb1602b88, _c=<optimized out>) at ./moc_session_p.cpp:77
#16 0xb729277a in QMetaCallEvent::placeMetaCall (this=0xb0a88500, object=0x966af08) at kernel/qobject.cpp:524
#17 0xb729a58b in QObject::event (this=0x966af08, e=0xb0a88500) at kernel/qobject.cpp:1194
#18 0xb6792744 in QApplicationPrivate::notify_helper (this=0x94fa090, receiver=0x966af08, e=0xb0a88500) at kernel/qapplication.cpp:4567
#19 0xb6799223 in QApplication::notify (this=0xbfb09c94, receiver=receiver@entry=0x966af08, e=e@entry=0xb0a88500) at kernel/qapplication.cpp:4353
#20 0xb5d7bff4 in KApplication::notify (this=0xbfb09c94, receiver=0x966af08, event=0xb0a88500) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb7280eda in QCoreApplication::notifyInternal (this=0xbfb09c94, receiver=receiver@entry=0x966af08, event=event@entry=0xb0a88500) at kernel/qcoreapplication.cpp:946
#22 0xb72846ad in sendEvent (event=0xb0a88500, receiver=0x966af08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x94d3f48) at kernel/qcoreapplication.cpp:1570
#24 0xb7284bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0xb72b0f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x94fa190) at kernel/qeventdispatcher_glib.cpp:279
#27 0xb544a83e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb544abe8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb544aca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb72b08df in QEventDispatcherGlib::processEvents (this=this@entry=0x94d4de8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#31 0xb684732e in QGuiEventDispatcherGlib::processEvents (this=0x94d4de8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb727f9f3 in QEventLoop::processEvents (this=this@entry=0xbfb09c08, flags=...) at kernel/qeventloop.cpp:149
#33 0xb727fd19 in QEventLoop::exec (this=this@entry=0xbfb09c08, flags=...) at kernel/qeventloop.cpp:204
#34 0xb728589e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0xb6790974 in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0xb75aff98 in Akonadi::ResourceBase::init (r=r@entry=0x961cb80) at ../../akonadi/resourcebase.cpp:548
#37 0x0806154d in Akonadi::ResourceBase::init<ImapResource> (argc=argc@entry=3, argv=argv@entry=0xbfb09d74) at /usr/include/akonadi/resourcebase.h:192
#38 0x080594eb in main (argc=3, argv=0xbfb09d74) at ../../../resources/imap/imapresource.cpp:755

The reporter indicates this bug may be a duplicate of or related to bug 328601, bug 329162.

Possible duplicates by query: bug 330637, bug 329848, bug 329628, bug 329202, bug 329162.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-07 01:11:47 UTC

*** This bug has been marked as a duplicate of bug 326242 ***