Bug 256136

Summary: KMAIL crash during move IMAP messages
Product: [Unmaintained] kmail Reporter: Francesco Gatti <francesco.gatti75>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, chaosblack, montel
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Francesco Gatti 2010-11-05 12:50:54 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: i was moving selected messages between imap folders.
i was moving message from imap/received to imap/Example_name folder
i had succesfully moved various messages before fatal error...

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7129780 (LWP 2886))]

Thread 2 (Thread 0xb1edab70 (LWP 2889)):
#0  0x0272ce41 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x0272d279 in ?? () from /lib/libglib-2.0.so.0
#2  0x0272d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00cbc59f in QEventDispatcherGlib::processEvents (this=0x86f83a8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00c8c609 in QEventLoop::processEvents (this=0xb1eda220, flags=) at kernel/qeventloop.cpp:149
#5  0x00c8ca8a in QEventLoop::exec (this=0xb1eda220, flags=...) at kernel/qeventloop.cpp:201
#6  0x00b88b7e in QThread::exec (this=0x84bdff8) at thread/qthread.cpp:490
#7  0x00c6b35b in QInotifyFileSystemWatcherEngine::run (this=0x84bdff8) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00b8bdf9 in QThreadPrivate::start (arg=0x84bdff8) at thread/qthread_unix.cpp:266
#9  0x00886cc9 in start_thread () from /lib/libpthread.so.0
#10 0x0177b6ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7129780 (LWP 2886)):
[KCrash Handler]
#7  ref (this=0x88610d0) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QList (this=0x88610d0) at /usr/include/qt4/QtCore/qlist.h:118
#9  KMail::FolderJob::msgList (this=0x88610d0) at ../../kmail/folderjob.cpp:120
#10 0x0116e81d in KMAcctImap::ignoreJobsForMessage (this=0x8237668, msg=0x882f370) at ../../kmail/kmacctimap.cpp:217
#11 0x011850d3 in KMFolderImap::ignoreJobsForMessage (this=0x8264200, msg=0x882f370) at ../../kmail/kmfolderimap.cpp:1560
#12 0x0129f28c in KMMoveCommand::execute (this=0x8985960) at ../../kmail/kmcommands.cpp:2208
#13 0x0128cada in KMCommand::slotPostTransfer (this=0x8985960, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#14 0x012999ff in KMCommand::qt_metacall (this=0x8985960, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc66648) at ./kmcommands.moc:93
#15 0x01299e7a in KMMoveCommand::qt_metacall (this=0x8985960, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc66648) at ./kmcommands.moc:1971
#16 0x00c938ca in QMetaObject::metacall (object=0x8985960, cl=25191360, idx=9, argv=0xbfc66648) at kernel/qmetaobject.cpp:237
#17 0x00ca66ad in QMetaObject::activate (sender=0x8985960, m=0x169d1d4, local_signal_index=0, argv=0x88610d0) at kernel/qobject.cpp:3280
#18 0x01289033 in KMCommand::messagesTransfered (this=0x8985960, _t1=KMCommand::OK) at ./kmcommands.moc:108
#19 0x012a2116 in KMCommand::transferSelectedMsgs (this=0x8985960) at ../../kmail/kmcommands.cpp:393
#20 0x012a235e in KMCommand::slotStart (this=0x8985960) at ../../kmail/kmcommands.cpp:287
#21 0x012999db in KMCommand::qt_metacall (this=0x8985960, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x851cd50) at ./kmcommands.moc:92
#22 0x01299e7a in KMMoveCommand::qt_metacall (this=0x8985960, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x851cd50) at ./kmcommands.moc:1971
#23 0x00c938ca in QMetaObject::metacall (object=0x8985960, cl=25191360, idx=8, argv=0x851cd50) at kernel/qmetaobject.cpp:237
#24 0x00c9edf6 in QMetaCallEvent::placeMetaCall (this=0x892c6b0, object=0x8985960) at kernel/qobject.cpp:534
#25 0x00ca06a2 in QObject::event (this=0x8985960, e=0x9) at kernel/qobject.cpp:1219
#26 0x0419afdc in QApplicationPrivate::notify_helper (this=0x80ba030, receiver=0x8985960, e=0x892c6b0) at kernel/qapplication.cpp:4396
#27 0x041a104e in QApplication::notify (this=0xbfc67120, receiver=0x8985960, e=0x892c6b0) at kernel/qapplication.cpp:3798
#28 0x005f668a in KApplication::notify (this=0xbfc67120, receiver=0x8985960, event=0x892c6b0) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00c8db3b in QCoreApplication::notifyInternal (this=0xbfc67120, receiver=0x8985960, event=0x892c6b0) at kernel/qcoreapplication.cpp:732
#30 0x00c90d8b in sendEvent (receiver=0x0, event_type=0, data=0x808ff38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x808ff38) at kernel/qcoreapplication.cpp:1373
#32 0x00c90f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#33 0x00cbca74 in sendPostedEvents (s=0x80bc778) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x80bc778) at kernel/qeventdispatcher_glib.cpp:277
#35 0x02729855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x0272d668 in ?? () from /lib/libglib-2.0.so.0
#37 0x0272d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00cbc565 in QEventDispatcherGlib::processEvents (this=0x808fa28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x0425cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x808fa28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00c8c609 in QEventLoop::processEvents (this=0xbfc66fd4, flags=) at kernel/qeventloop.cpp:149
#41 0x00c8ca8a in QEventLoop::exec (this=0xbfc66fd4, flags=...) at kernel/qeventloop.cpp:201
#42 0x00c9100f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x04199e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x0804a88e in main (argc=1, argv=0xbfc672e4) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 252022.

Possible duplicates by query: bug 254069, bug 252678, bug 252558, bug 252022, bug 249666.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-11-05 14:26:52 UTC
Already fixed in kmail-4.4.7
Regards
Comment 2 Dario Andres 2010-11-17 19:08:50 UTC
[Comment from a bug triager]
@Laurent: could this be that bug 163071 is also fixed ? Thanks
Comment 3 chaosblack 2011-09-28 10:43:00 UTC
Created attachment 64030 [details]
New crash information added by DrKonqi

kontact (4.4.10) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

- What I was doing when the application crashed:
I was moving Mails between IMAP folders. Suddenly KMail crashed

-- Backtrace (Reduced):
#8  QList (this=0xa52d598) at /usr/include/qt4/QtCore/qlist.h:118
#9  KMail::FolderJob::msgList (this=0xa52d598) at ../../kmail/folderjob.cpp:120
#10 0xb5692466 in KMAcctImap::ignoreJobsForMessage (this=0x8cbf460, msg=0xa437528) at ../../kmail/kmacctimap.cpp:217
#11 0xb56a4973 in KMFolderImap::ignoreJobsForMessage (this=0x8cfc918, msg=0xa437528) at ../../kmail/kmfolderimap.cpp:1560
#12 0xb57ad5dc in KMMoveCommand::execute (this=0xa49d9f0) at ../../kmail/kmcommands.cpp:2208
Comment 4 Christophe Marin 2011-09-28 13:14:34 UTC

*** This bug has been marked as a duplicate of bug 163571 ***
Comment 5 Christophe Marin 2011-09-28 13:15:02 UTC

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