Bug 326242 - akonadi_imap_resource crash when deleting multiple messages
Summary: akonadi_imap_resource crash when deleting multiple messages
Status: RESOLVED DUPLICATE of bug 328601
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
: 328043 329202 329628 329848 330637 330859 331346 331698 332072 332724 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-18 22:29 UTC by Jon Skanes
Modified: 2014-03-28 08:24 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Skanes 2013-10-18 22:29:14 UTC
Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

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

This crash occurs always when I delete a selection of more than one message.  It does not occur when deleting a single message.  Deletion is performed using the delete key to send the messages to the trash folder.

- Custom settings of the application:

The IMAP account in question is hosted on a stock Ubuntu 8.04.4 LTS server running dovecot version 1:1.0.10-1ubuntu5.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb1fe4b40 (LWP 13611)):
#0  0xb5604c09 in __pthread_mutex_unlock_usercnt (mutex=0xb1600558, decr=1) at pthread_mutex_unlock.c:36
#1  0xb57bfc04 in pthread_mutex_unlock (mutex=0xb1600558) at forward.c:194
#2  0xb5515be0 in g_mutex_unlock (mutex=mutex@entry=0xb16004e0) at /build/buildd/glib2.0-2.38.0/./glib/gthread-posix.c:232
#3  0xb54d211e in g_main_context_prepare (context=context@entry=0xb16004e0, priority=priority@entry=0xb1fe4148) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3337
#4  0xb54d2a4f in g_main_context_iterate (context=context@entry=0xb16004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3692
#5  0xb54d2c98 in g_main_context_iteration (context=0xb16004e0, may_block=1) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3773
#6  0xb73378df in QEventDispatcherGlib::processEvents (this=0xb1600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb73069f3 in QEventLoop::processEvents (this=this@entry=0xb1fe4258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb7306d19 in QEventLoop::exec (this=this@entry=0xb1fe4258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb71f5e3d in QThread::exec (this=this@entry=0x9e3e890) at thread/qthread.cpp:542
#10 0xb71f5f8b in QThread::run (this=0x9e3e890) at thread/qthread.cpp:609
#11 0xb71f872f in QThreadPrivate::start (arg=0x9e3e890) at thread/qthread_unix.cpp:338
#12 0xb5601d78 in start_thread (arg=0xb1fe4b40) at pthread_create.c:311
#13 0xb57b201e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xb09ffb40 (LWP 13614)):
#0  g_mutex_unlock (mutex=mutex@entry=0xb0b004e0) at /build/buildd/glib2.0-2.38.0/./glib/gthread-posix.c:234
#1  0xb54d2728 in g_main_context_dispatch (context=context@entry=0xb0b004e0) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3644
#2  0xb54d2bd8 in g_main_context_iterate (context=context@entry=0xb0b004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3712
#3  0xb54d2c98 in g_main_context_iteration (context=0xb0b004e0, may_block=1) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3773
#4  0xb73378df in QEventDispatcherGlib::processEvents (this=0xb0b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb73069f3 in QEventLoop::processEvents (this=this@entry=0xb09ff258, flags=...) at kernel/qeventloop.cpp:149
#6  0xb7306d19 in QEventLoop::exec (this=this@entry=0xb09ff258, flags=...) at kernel/qeventloop.cpp:204
#7  0xb71f5e3d in QThread::exec (this=this@entry=0x9e591d8) at thread/qthread.cpp:542
#8  0xb71f5f8b in QThread::run (this=0x9e591d8) at thread/qthread.cpp:609
#9  0xb71f872f in QThreadPrivate::start (arg=0x9e591d8) at thread/qthread_unix.cpp:338
#10 0xb5601d78 in start_thread (arg=0xb09ffb40) at pthread_create.c:311
#11 0xb57b201e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb4a5c740 (LWP 13608)):
[KCrash Handler]
#7  0x0808908e in MoveItemsTask::recordNewUid (this=this@entry=0x9fab1e8) at ../../../resources/imap/moveitemstask.cpp:289
#8  0x080896b0 in MoveItemsTask::onSearchDone (this=0x9fab1e8, job=0x9e10b60) at ../../../resources/imap/moveitemstask.cpp:241
#9  0xb731cfc7 in QMetaObject::activate (sender=sender@entry=0x9e10b60, m=m@entry=0xb5c264cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfa8d228) at kernel/qobject.cpp:3539
#10 0xb5a809e5 in KJob::result (this=this@entry=0x9e10b60, _t1=_t1@entry=0x9e10b60) at ./kjob.moc:208
#11 0xb5a80a32 in KJob::emitResult (this=0x9e10b60) at ../../kdecore/jobs/kjob.cpp:318
#12 0xb6543e7e in KIMAP::Job::handleErrorReplies (this=this@entry=0x9e10b60, response=...) at ../../kimap/job.cpp:84
#13 0xb65694d9 in KIMAP::SearchJob::handleResponse (this=0x9e10b60, response=...) at ../../kimap/searchjob.cpp:161
#14 0xb655cd76 in KIMAP::SessionPrivate::responseReceived (this=0x9e5c538, response=...) at ../../kimap/session.cpp:285
#15 0xb655f7eb in KIMAP::SessionPrivate::qt_static_metacall (_o=0x1, _id=0, _a=0xb0b05a00, _c=<optimized out>) at ./moc_session_p.cpp:77
#16 0xb731977a in QMetaCallEvent::placeMetaCall (this=0xb0b05a20, object=0x9e5c538) at kernel/qobject.cpp:524
#17 0xb732158b in QObject::event (this=0x9e5c538, e=0xb0b05a20) at kernel/qobject.cpp:1194
#18 0xb6819744 in QApplicationPrivate::notify_helper (this=0x9c6da70, receiver=0x9e5c538, e=0xb0b05a20) at kernel/qapplication.cpp:4567
#19 0xb6820223 in QApplication::notify (this=0xbfa8da74, receiver=receiver@entry=0x9e5c538, e=e@entry=0xb0b05a20) at kernel/qapplication.cpp:4353
#20 0xb5e03024 in KApplication::notify (this=0xbfa8da74, receiver=0x9e5c538, event=0xb0b05a20) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb7307eda in QCoreApplication::notifyInternal (this=0xbfa8da74, receiver=receiver@entry=0x9e5c538, event=event@entry=0xb0b05a20) at kernel/qcoreapplication.cpp:946
#22 0xb730b6ad in sendEvent (event=0xb0b05a20, receiver=0x9e5c538) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9c3ff48) at kernel/qcoreapplication.cpp:1570
#24 0xb730bbbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0xb7337f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=s@entry=0x9c63cc0) at kernel/qeventdispatcher_glib.cpp:279
#27 0xb54d282e in g_main_dispatch (context=0x9c6dce8, context@entry=0x9c3ead8) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3065
#28 g_main_context_dispatch (context=context@entry=0x9c6dce8) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3641
#29 0xb54d2bd8 in g_main_context_iterate (context=context@entry=0x9c6dce8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3712
#30 0xb54d2c98 in g_main_context_iteration (context=0x9c6dce8, may_block=1) at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3773
#31 0xb73378bf in QEventDispatcherGlib::processEvents (this=this@entry=0x9c40dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0xb68ce32e in QGuiEventDispatcherGlib::processEvents (this=0x9c40dd0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb73069f3 in QEventLoop::processEvents (this=this@entry=0xbfa8d9e8, flags=...) at kernel/qeventloop.cpp:149
#34 0xb7306d19 in QEventLoop::exec (this=this@entry=0xbfa8d9e8, flags=...) at kernel/qeventloop.cpp:204
#35 0xb730c89e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0xb6817974 in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0xb7636b98 in Akonadi::ResourceBase::init (r=r@entry=0x9de1fa8) at ../../akonadi/resourcebase.cpp:548
#38 0x0806150d in Akonadi::ResourceBase::init<ImapResource> (argc=argc@entry=3, argv=argv@entry=0xbfa8db54) at /usr/include/akonadi/resourcebase.h:192
#39 0x080594ab in main (argc=3, argv=0xbfa8db54) at ../../../resources/imap/imapresource.cpp:755

Reported using DrKonqi
Comment 1 Jon Skanes 2013-10-18 22:34:19 UTC
In previous versions of KDE, I remember getting a taskbar notification mentioning the IMAP server replied there was an invalid argument for the UID sent by Akonadi.
Comment 2 Kevin Ottens 2013-11-16 07:27:25 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Jekyll Wu 2013-11-25 03:16:50 UTC
*** Bug 328043 has been marked as a duplicate of this bug. ***
Comment 4 Christian Mollekopf 2013-12-09 21:14:12 UTC

*** This bug has been marked as a duplicate of bug 328601 ***
Comment 5 Jekyll Wu 2013-12-24 15:30:56 UTC
*** Bug 329202 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2014-01-06 02:58:15 UTC
*** Bug 329628 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2014-01-12 00:19:10 UTC
*** Bug 329848 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2014-02-02 11:07:50 UTC
*** Bug 330637 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2014-02-07 01:11:47 UTC
*** Bug 330859 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2014-02-20 19:03:20 UTC
*** Bug 331346 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2014-03-03 23:44:13 UTC
*** Bug 331698 has been marked as a duplicate of this bug. ***
Comment 12 Jekyll Wu 2014-03-13 00:41:07 UTC
*** Bug 332072 has been marked as a duplicate of this bug. ***
Comment 13 Jekyll Wu 2014-03-28 08:24:31 UTC
*** Bug 332724 has been marked as a duplicate of this bug. ***