[Akonadi] [Bug 326242] New: akonadi_imap_resource crash when deleting multiple messages

Jon Skanes jon at skanes.ca
Fri Oct 18 23:29:14 BST 2013


https://bugs.kde.org/show_bug.cgi?id=326242

            Bug ID: 326242
           Summary: akonadi_imap_resource crash when deleting multiple
                    messages
    Classification: Unclassified
           Product: Akonadi
           Version: 4.11
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: jon at skanes.ca
                CC: kdepim-bugs at kde.org, vkrause at kde.org

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 at entry=0xb16004e0) at
/build/buildd/glib2.0-2.38.0/./glib/gthread-posix.c:232
#3  0xb54d211e in g_main_context_prepare (context=context at entry=0xb16004e0,
priority=priority at entry=0xb1fe4148) at
/build/buildd/glib2.0-2.38.0/./glib/gmain.c:3337
#4  0xb54d2a4f in g_main_context_iterate (context=context at entry=0xb16004e0,
block=block at entry=1, dispatch=dispatch at 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 at entry=0xb1fe4258,
flags=...) at kernel/qeventloop.cpp:149
#8  0xb7306d19 in QEventLoop::exec (this=this at entry=0xb1fe4258, flags=...) at
kernel/qeventloop.cpp:204
#9  0xb71f5e3d in QThread::exec (this=this at 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 at entry=0xb0b004e0) at
/build/buildd/glib2.0-2.38.0/./glib/gthread-posix.c:234
#1  0xb54d2728 in g_main_context_dispatch (context=context at entry=0xb0b004e0) at
/build/buildd/glib2.0-2.38.0/./glib/gmain.c:3644
#2  0xb54d2bd8 in g_main_context_iterate (context=context at entry=0xb0b004e0,
block=block at entry=1, dispatch=dispatch at 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 at entry=0xb09ff258,
flags=...) at kernel/qeventloop.cpp:149
#6  0xb7306d19 in QEventLoop::exec (this=this at entry=0xb09ff258, flags=...) at
kernel/qeventloop.cpp:204
#7  0xb71f5e3d in QThread::exec (this=this at 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 at 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 at entry=0x9e10b60,
m=m at entry=0xb5c264cc <KJob::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0xbfa8d228) at
kernel/qobject.cpp:3539
#10 0xb5a809e5 in KJob::result (this=this at entry=0x9e10b60,
_t1=_t1 at 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 at 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 at entry=0x9e5c538, e=e at 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 at entry=0x9e5c538, event=event at 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 at entry=0x0,
event_type=event_type at entry=0, data=0x9c3ff48) at
kernel/qcoreapplication.cpp:1570
#24 0xb730bbbc in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1463
#25 0xb7337f6e in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=s at entry=0x9c63cc0) at
kernel/qeventdispatcher_glib.cpp:279
#27 0xb54d282e in g_main_dispatch (context=0x9c6dce8, context at entry=0x9c3ead8)
at /build/buildd/glib2.0-2.38.0/./glib/gmain.c:3065
#28 g_main_context_dispatch (context=context at entry=0x9c6dce8) at
/build/buildd/glib2.0-2.38.0/./glib/gmain.c:3641
#29 0xb54d2bd8 in g_main_context_iterate (context=context at entry=0x9c6dce8,
block=block at entry=1, dispatch=dispatch at 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 at 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 at entry=0xbfa8d9e8,
flags=...) at kernel/qeventloop.cpp:149
#34 0xb7306d19 in QEventLoop::exec (this=this at 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 at entry=0x9de1fa8) at
../../akonadi/resourcebase.cpp:548
#38 0x0806150d in Akonadi::ResourceBase::init<ImapResource> (argc=argc at entry=3,
argv=argv at 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list