Bug 283272

Summary: crash when marking folder read
Product: [Frameworks and Libraries] Akonadi Reporter: Tom Chiverton <bugs.kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: alban, deglerp, dreibh, jemand, joakim, m.wege, matthew.hoopes, moltonel, nyblom, petrielmjr, regenyi.balazs+kde, tim, winter, yodayado
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Tom Chiverton 2011-10-03 20:09:42 UTC
Application: kontact (4.7.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
right clicked an IMAP folder and then selected 'mark as read'

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78a7730 (LWP 2834))]

Thread 5 (Thread 0xb6b86b70 (LWP 2835)):
#0  0x0072d416 in __kernel_vsyscall ()
#1  0x06a76a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0080dcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x02b69883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x02b6999f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x06a72d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x008000ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb625db70 (LWP 2836)):
#0  0x07d1ed10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00e107d5 in do_gettime (frac=0xb625d050, sec=0xb625d048) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00ee34b6 in QTimerInfoList::updateCurrentTime (this=0x80f9534) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00ee380a in QTimerInfoList::timerWait (this=0x80f9534, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00ee2053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb625d13c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x037a288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x037a3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x037a3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x00ee2b37 in QEventDispatcherGlib::processEvents (this=0x816e328, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00eb31dd in QEventLoop::processEvents (this=0xb625d2c0, flags=...) at kernel/qeventloop.cpp:149
#11 0x00eb3421 in QEventLoop::exec (this=0xb625d2c0, flags=...) at kernel/qeventloop.cpp:201
#12 0x00db690b in QThread::exec (this=0x816dbe8) at thread/qthread.cpp:498
#13 0x00db69fb in QThread::run (this=0x816dbe8) at thread/qthread.cpp:565
#14 0x00db97b3 in QThreadPrivate::start (arg=0x816dbe8) at thread/qthread_unix.cpp:331
#15 0x06a72d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x008000ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb3c23b70 (LWP 2839)):
#0  0x06a71468 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x06a74d8f in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0080df14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#3  0x037a28bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x037a3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x037a3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00ee2b37 in QEventDispatcherGlib::processEvents (this=0x8a4f8d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00eb31dd in QEventLoop::processEvents (this=0xb3c23290, flags=...) at kernel/qeventloop.cpp:149
#8  0x00eb3421 in QEventLoop::exec (this=0xb3c23290, flags=...) at kernel/qeventloop.cpp:201
#9  0x00db690b in QThread::exec (this=0x8b9ec88) at thread/qthread.cpp:498
#10 0x00e93e2d in QInotifyFileSystemWatcherEngine::run (this=0x8b9ec88) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00db97b3 in QThreadPrivate::start (arg=0x8b9ec88) at thread/qthread_unix.cpp:331
#12 0x06a72d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x008000ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb2ae9b70 (LWP 5857)):
#0  0x07d1ed10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00e107d5 in do_gettime (frac=0xb2ae9000, sec=0xb2ae8ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00ee34b6 in QTimerInfoList::updateCurrentTime (this=0xba26324) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00ee380a in QTimerInfoList::timerWait (this=0xba26324, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00ee2053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb2ae910c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00ee20ed in timerSourcePrepare (source=0xba262f0, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x037a288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x037a3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x037a3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00ee2b37 in QEventDispatcherGlib::processEvents (this=0x920fed0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00eb31dd in QEventLoop::processEvents (this=0xb2ae9290, flags=...) at kernel/qeventloop.cpp:149
#12 0x00eb3421 in QEventLoop::exec (this=0xb2ae9290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00db690b in QThread::exec (this=0xa71f6c0) at thread/qthread.cpp:498
#14 0x00e93e2d in QInotifyFileSystemWatcherEngine::run (this=0xa71f6c0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00db97b3 in QThreadPrivate::start (arg=0xa71f6c0) at thread/qthread_unix.cpp:331
#16 0x06a72d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x008000ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78a7730 (LWP 2834)):
[KCrash Handler]
#7  ref (this=0x1) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QByteArray (a=..., this=0xbff139f0) at /usr/include/qt4/QtCore/qbytearray.h:422
#9  MarkAsCommand::markMessages (this=0x871c880) at ../../../akonadi/kmime/markascommand.cpp:105
#10 0x04f0e3d3 in MarkAsCommand::slotFetchDone (this=0x871c880, job=0x0) at ../../../akonadi/kmime/markascommand.cpp:75
#11 0x04f0e5b7 in MarkAsCommand::qt_metacall (this=0x871c880, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbff13b98) at ./markascommand_p.moc:74
#12 0x00ebab7d in metacall (argv=0xbff13b98, idx=6, cl=QMetaObject::InvokeMetaMethod, object=0x871c880) at kernel/qmetaobject.cpp:237
#13 QMetaObject::metacall (object=0x871c880, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbff13b98) at kernel/qmetaobject.cpp:232
#14 0x00ec9a6a in QMetaObject::activate (sender=0xcc09610, m=0xcb858c, local_signal_index=3, argv=0xbff13b98) at kernel/qobject.cpp:3278
#15 0x00b0aa05 in KJob::result (this=0xcc09610, _t1=0xcc09610) at ./kjob.moc:194
#16 0x00b0aa58 in KJob::emitResult (this=0xcc09610) at ../../kdecore/jobs/kjob.cpp:312
#17 0x0365325e in Akonadi::JobPrivate::delayedEmitResult (this=0xbc91f98) at ../../akonadi/job.cpp:144
#18 0x03653f6f in Akonadi::Job::qt_metacall (this=0xcc09610, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x9ff2450) at ./job.moc:91
#19 0x0363fb12 in Akonadi::ItemFetchJob::qt_metacall (this=0xcc09610, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9ff2450) at ./itemfetchjob.moc:73
#20 0x00ebab7d in metacall (argv=0x9ff2450, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0xcc09610) at kernel/qmetaobject.cpp:237
#21 QMetaObject::metacall (object=0xcc09610, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x9ff2450) at kernel/qmetaobject.cpp:232
#22 0x00ec5685 in QMetaCallEvent::placeMetaCall (this=0xa71fff8, object=0xcc09610) at kernel/qobject.cpp:535
#23 0x00eccb52 in QObject::event (this=0xcc09610, e=0xa71fff8) at kernel/qobject.cpp:1217
#24 0x01146d54 in notify_helper (e=0xa71fff8, receiver=0xcc09610, this=0x80ab408) at kernel/qapplication.cpp:4486
#25 QApplicationPrivate::notify_helper (this=0x80ab408, receiver=0xcc09610, e=0xa71fff8) at kernel/qapplication.cpp:4458
#26 0x0114c103 in QApplication::notify (this=0xa71fff8, receiver=0xcc09610, e=0xa71fff8) at kernel/qapplication.cpp:3886
#27 0x002f7721 in KApplication::notify (this=0xbff14364, receiver=0xcc09610, event=0xa71fff8) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00eb419e in QCoreApplication::notifyInternal (this=0xbff14364, receiver=0xcc09610, event=0xa71fff8) at kernel/qcoreapplication.cpp:787
#29 0x00eb7f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8070540) at kernel/qcoreapplication.cpp:1428
#31 0x00eb80ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#32 0x00ee26a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x80956b8) at kernel/qeventdispatcher_glib.cpp:277
#34 0x037a325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x037a3990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x037a3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x00ee2ada in QEventDispatcherGlib::processEvents (this=0x8071280, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0x011fee3a in QGuiEventDispatcherGlib::processEvents (this=0x8071280, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00eb31dd in QEventLoop::processEvents (this=0xbff142c4, flags=...) at kernel/qeventloop.cpp:149
#40 0x00eb3421 in QEventLoop::exec (this=0xbff142c4, flags=...) at kernel/qeventloop.cpp:201
#41 0x00eb819d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x011448f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#43 0x0804ac91 in main (argc=6619244, argv=0x29) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 279609, bug 258041.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-03 21:05:17 UTC
possibly dup of bug 258041.

Torgny ?
Comment 2 Tom Chiverton 2011-10-04 19:04:37 UTC
Comment #7 with the commit there is there from "2010-12-20 12:41:09".

This isn't likely to be a duplicate because Ubuntu's KDE packages should be a lot more recent. 

Might be a regression or unfixed edge case ?
Comment 3 Christophe Marin 2011-10-16 11:10:31 UTC
*** Bug 284169 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Dreibholz 2011-11-04 08:33:56 UTC
Created attachment 65223 [details]
New crash information added by DrKonqi

kontact (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

kontact (KDE 4.7.2, Kubuntu 11.10, 64 bit) has crashed when marking all messages of a folder as read.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff82df65c0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0xba41770) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f5f9c63a080 in MarkAsCommand::slotFetchDone (this=0xba41770, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f5f9c63a220 in MarkAsCommand::qt_metacall (this=0xba41770, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff82df67a0) at ./markascommand_p.moc:74
[...]
#12 0x00007f5fb75ea5b2 in KJob::result (this=<optimized out>, _t1=0xc5a48f0) at ./kjob.moc:194
Comment 5 tim blechmann 2011-11-16 15:11:32 UTC
same crash with 4.7.3
Comment 6 Vincent de Phily 2011-11-18 10:02:13 UTC
*** Bug 286912 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2011-11-19 20:05:57 UTC
*** Bug 287004 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Dreibholz 2011-11-21 10:46:25 UTC
Created attachment 65900 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

KMail has started to synchronize IMAP folders when crash happened.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7ffff538caa0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x2666450) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f6f301d6070 in MarkAsCommand::slotFetchDone (this=0x2666450, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f6f301d6210 in MarkAsCommand::qt_metacall (this=0x2666450, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff538cc80) at ./markascommand_p.moc:74
[...]
#12 0x00007f6f8b7a55b2 in KJob::result (this=<optimized out>, _t1=0xd2e21a0) at ./kjob.moc:194
Comment 9 Thomas Dreibholz 2011-11-29 09:39:19 UTC
Created attachment 66180 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashen when marking all mails of an IMAP folder as being read.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff1e8006b0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0xe9057d0) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007fa586504070 in MarkAsCommand::slotFetchDone (this=0xe9057d0, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007fa586504210 in MarkAsCommand::qt_metacall (this=0xe9057d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1e800890) at ./markascommand_p.moc:74
[...]
#12 0x00007fa5a1ad45b2 in KJob::result (this=<optimized out>, _t1=0xe2f2610) at ./kjob.moc:194
Comment 10 Thomas Dreibholz 2011-11-29 09:39:19 UTC
Created attachment 66181 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashen when marking all mails of an IMAP folder as being read.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff1e8006b0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0xe9057d0) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007fa586504070 in MarkAsCommand::slotFetchDone (this=0xe9057d0, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007fa586504210 in MarkAsCommand::qt_metacall (this=0xe9057d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1e800890) at ./markascommand_p.moc:74
[...]
#12 0x00007fa5a1ad45b2 in KJob::result (this=<optimized out>, _t1=0xe2f2610) at ./kjob.moc:194
Comment 11 Thomas Dreibholz 2011-11-29 09:39:19 UTC
Created attachment 66182 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashen when marking all mails of an IMAP folder as being read.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff1e8006b0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0xe9057d0) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007fa586504070 in MarkAsCommand::slotFetchDone (this=0xe9057d0, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007fa586504210 in MarkAsCommand::qt_metacall (this=0xe9057d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1e800890) at ./markascommand_p.moc:74
[...]
#12 0x00007fa5a1ad45b2 in KJob::result (this=<optimized out>, _t1=0xe2f2610) at ./kjob.moc:194
Comment 12 Thomas Dreibholz 2011-11-29 09:43:25 UTC
Created attachment 66183 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashed when clicking on an IMAP folder.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fffe87f98e0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x2a29b30) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f76ffde1070 in MarkAsCommand::slotFetchDone (this=0x2a29b30, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f76ffde1210 in MarkAsCommand::qt_metacall (this=0x2a29b30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe87f9ac0) at ./markascommand_p.moc:74
[...]
#12 0x00007f775f3e45b2 in KJob::result (this=<optimized out>, _t1=0x36f10d0) at ./kjob.moc:194
Comment 13 Thomas Dreibholz 2011-11-29 09:43:26 UTC
Created attachment 66184 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashed when clicking on an IMAP folder.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fffe87f98e0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x2a29b30) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f76ffde1070 in MarkAsCommand::slotFetchDone (this=0x2a29b30, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f76ffde1210 in MarkAsCommand::qt_metacall (this=0x2a29b30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe87f9ac0) at ./markascommand_p.moc:74
[...]
#12 0x00007f775f3e45b2 in KJob::result (this=<optimized out>, _t1=0x36f10d0) at ./kjob.moc:194
Comment 14 Thomas Dreibholz 2011-11-29 09:43:26 UTC
Created attachment 66185 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact has crashed when clicking on an IMAP folder.

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fffe87f98e0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x2a29b30) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f76ffde1070 in MarkAsCommand::slotFetchDone (this=0x2a29b30, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f76ffde1210 in MarkAsCommand::qt_metacall (this=0x2a29b30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe87f9ac0) at ./markascommand_p.moc:74
[...]
#12 0x00007f775f3e45b2 in KJob::result (this=<optimized out>, _t1=0x36f10d0) at ./kjob.moc:194
Comment 15 Christophe Marin 2011-12-05 18:57:10 UTC
*** Bug 288255 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2011-12-06 15:36:22 UTC
*** Bug 288333 has been marked as a duplicate of this bug. ***
Comment 17 Thomas Dreibholz 2011-12-16 06:28:01 UTC
Created attachment 66795 [details]
New crash information added by DrKonqi

kontact (4.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

This bug still exists in Kontact 4.7.4 (KDE 4.7.4, Kubuntu 11.10, 64 bit).

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff4b7bbf00) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x10f66000) at ../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f3197ae2070 in MarkAsCommand::slotFetchDone (this=0x10f66000, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f3197ae2210 in MarkAsCommand::qt_metacall (this=0x10f66000, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4b7bc0e0) at ./markascommand_p.moc:74
[...]
#12 0x00007f31f6ae2622 in KJob::result (this=<optimized out>, _t1=0x111c2300) at ./kjob.moc:194
Comment 18 Christophe Marin 2011-12-19 22:31:41 UTC
*** Bug 289380 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Marin 2012-01-05 16:33:18 UTC
Possibly fixed by commit d957e116 in kdepimlibs.

Did anyone experience this crash with 4.8RC ?
Comment 20 Christophe Marin 2012-01-06 17:46:21 UTC
*** Bug 290636 has been marked as a duplicate of this bug. ***
Comment 21 Christophe Marin 2012-01-06 17:46:33 UTC
*** Bug 290602 has been marked as a duplicate of this bug. ***
Comment 22 m.wege 2012-01-14 10:51:13 UTC
Created attachment 67812 [details]
New crash information added by DrKonqi

kmail (4.8 rc2) on KDE Platform 4.7.97 (4.8 RC2 (4.7.97) using Qt 4.7.4

- What I was doing when the application crashed:
Kmail crashed when marking all mails as read. This happened with 4.8. RC2

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fff5459e0d0) at /usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0xeea9a0) at ../../../akonadi/kmime/markascommand.cpp:107
#9  0x0000003909c27148 in MarkAsCommand::slotFetchDone (this=0xeea9a0, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:76
#10 0x0000003909c27240 in MarkAsCommand::qt_metacall (this=0xeea9a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5459e2b0) at ./markascommand_p.moc:74
[...]
#12 0x0000003508531932 in KJob::result (this=<optimized out>, _t1=0x65f2f00) at ./kjob.moc:194
Comment 23 Allen Winter 2012-02-08 14:14:12 UTC
has anyone seen this crash in KDE 4.8?

I recall committing a possible fix for this at some time during the 4.8 RC timeframe.
Comment 24 Christophe Marin 2012-03-31 22:47:49 UTC
*** Bug 296831 has been marked as a duplicate of this bug. ***
Comment 25 Regényi Balázs 2012-05-23 08:39:08 UTC
Created attachment 71310 [details]
New crash information added by DrKonqi

kmail (4.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:
I right clicked on a imap folder and tried to click 'Mark All As Read'

-- Backtrace (Reduced):
#8  QByteArray (a=..., this=0xbfeb2514) at /usr/include/qt4/QtCore/qbytearray.h:440
#9  MarkAsCommand::markMessages (this=0xaddac30) at ../../../akonadi/kmime/markascommand.cpp:107
#10 0xb52e2848 in MarkAsCommand::slotFetchDone (this=0xaddac30, job=0x0) at ../../../akonadi/kmime/markascommand.cpp:76
[...]
#12 0xb71bdf85 in KJob::result (this=0xadd88b8, _t1=0xadd88b8) at ./kjob.moc:208
#13 0xb71bdfd8 in KJob::emitResult (this=0xadd88b8) at ../../kdecore/jobs/kjob.cpp:318
Comment 26 Dan Joakim Eiworth 2012-06-06 17:55:29 UTC
Created attachment 71624 [details]
New crash information added by DrKonqi

kontact (4.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

I tried this on local folders as well as "remote" IMAP folders with the same result, Kontact crashes as soon as I click on mark all emails as read of a folder

-- Backtrace (Reduced):
#7  QByteArray (a=..., this=0x7fffaa7d1d60) at /usr/include/qt4/QtCore/qbytearray.h:440
#8  MarkAsCommand::markMessages (this=0x4401c80) at ../../../akonadi/kmime/markascommand.cpp:107
#9  0x00007fe139d085d8 in MarkAsCommand::slotFetchDone (this=0x4401c80, job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:76
[...]
#11 0x00007fe157e85c82 in KJob::result (this=<optimized out>, _t1=0x498f050) at ./kjob.moc:208
#12 0x00007fe157e85cc0 in KJob::emitResult (this=0x498f050) at ../../kdecore/jobs/kjob.cpp:318
Comment 27 Laurent Montel 2012-06-06 18:42:13 UTC
Git commit 67cfe2290a8c1817a92c6da65da001d267a0f24f by Montel Laurent.
Committed on 06/06/2012 at 20:40.
Pushed by mlaurent into branch 'master'.

Try to fix Bug 283272 - crash when marking folder read

I don't know how status can be empty.
But I fix as it. It will fix crash.
If somebody which has this crash perhaps it can apply this patch and
verify if it fixes bug.

FIXED-IN: 4.8.5

M  +4    -1    akonadi/kmime/markascommand.cpp

http://commits.kde.org/kdepimlibs/67cfe2290a8c1817a92c6da65da001d267a0f24f
Comment 28 Laurent Montel 2012-06-06 18:43:00 UTC
Git commit e537fb9bdbd9bbbc612d5521d974d64efbcda0a9 by Montel Laurent.
Committed on 06/06/2012 at 20:40.
Pushed by mlaurent into branch 'KDE/4.8'.

Try to fix Bug 283272 - crash when marking folder read

I don't know how status can be empty.
But I fix as it. It will fix crash.
If somebody which has this crash perhaps it can apply this patch and
verify if it fixes bug.

FIXED-IN: 4.8.5
(cherry picked from commit 67cfe2290a8c1817a92c6da65da001d267a0f24f)

M  +4    -1    akonadi/kmime/markascommand.cpp

http://commits.kde.org/kdepimlibs/e537fb9bdbd9bbbc612d5521d974d64efbcda0a9