Bug 286471 - Kmail closes unexpectedly while copying large directory of mails from local folders to IMAP server
Summary: Kmail closes unexpectedly while copying large directory of mails from local f...
Status: RESOLVED DUPLICATE of bug 110574
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 08:39 UTC by Peter Snow
Modified: 2011-11-13 09:46 UTC (History)
0 users

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 Peter Snow 2011-11-13 08:39:52 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I had imported 12,000+ emails from TheBat into Kmail. I removed all periods from folders containing them in their folder names as this also causes Kmail to crash. I then logged into my IMAP account from Kmail. The IMAP server is running on the same machine (it's Dovecot). I then dragged the imported folder containing multiple other folders (about 900) and 12K+ emails, from the Local Folders, into the Inbox of the IMAP account. After it had copied 2,523 emails, Kmail suddenly closed.

Unfortuanately, I'm unable to determine which message it was copying at the time, which is a nuisance as it could be something wrong with that message and deleting the message might be an acceptable work around.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0xb7809780 (LWP 26544))]

Thread 2 (Thread 0xb270db70 (LWP 26548)):
#0  0x0023be36 in clock_gettime () from /lib/librt.so.1
#1  0x04f5f82b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x05036a05 in QTimerInfoList::updateCurrentTime (this=0xb463754) at kernel/qeventdispatcher_unix.cpp:339
#4  0x05036a4a in QTimerInfoList::timerWait (this=0xb463754, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x05034ac8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb270d04c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x05034b5d in timerSourcePrepare (source=0x0, timeout=0x23fff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x085d9e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x085da279 in ?? () from /lib/libglib-2.0.so.0
#9  0x085da848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x050348bf in QEventDispatcherGlib::processEvents (this=0xaa86b88, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x05004929 in QEventLoop::processEvents (this=0xb270d220, flags=) at kernel/qeventloop.cpp:149
#12 0x05004daa in QEventLoop::exec (this=0xb270d220, flags=...) at kernel/qeventloop.cpp:201
#13 0x04f00e9e in QThread::exec (this=0x9cd2d48) at thread/qthread.cpp:490
#14 0x04fe367b in QInotifyFileSystemWatcherEngine::run (this=0x9cd2d48) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x04f04119 in QThreadPrivate::start (arg=0x9cd2d48) at thread/qthread_unix.cpp:266
#16 0x001d4cc9 in start_thread () from /lib/libpthread.so.0
#17 0x0042e69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7809780 (LWP 26544)):
[KCrash Handler]
#7  0x00949416 in __kernel_vsyscall ()
#8  0x00388941 in raise () from /lib/libc.so.6
#9  0x0038be42 in abort () from /lib/libc.so.6
#10 0x003218b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0x0031f795 in ?? () from /usr/lib/libstdc++.so.6
#12 0x0031f7d2 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0x0031f941 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x0031fed7 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#15 0x0031ffad in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6
#16 0x07ea9c0c in mem_alloc (aSize=0xbf9a4dac) at ../../mimelib/dwstring.cpp:160
#17 0x07eac245 in DwString::_replace (this=0xbdb48a80, aPos1=<value optimized out>, aLen1=0, aBuf=0xbfeac008 "Content-Type: image/x-ms-bmp; name=\"att25751.bmp\"\nContent-Transfer-Encoding: base64\nContent-ID: <469373705@28042008-3200>\nContent-Disposition: inline; filename=\"att25751.bmp\"\n\nQk02egcAAAAAADYAAAAoAAAA"..., aLen2=664450) at ../../mimelib/dwstring.cpp:1273
#18 0x07ead141 in DwString::append (this=0xbdb48a80, aStr=..., aPos=0, aLen=664450) at ../../mimelib/dwstring.cpp:540
#19 0x07ead1e3 in DwString::append (this=0xbdb48a80, aStr=...) at ../../mimelib/dwstring.cpp:525
#20 0x07e93f68 in operator+= (this=0xbdb48a78) at ../../mimelib/mimelib/string.h:693
#21 DwBody::Assemble (this=0xbdb48a78) at ../../mimelib/body.cpp:514
#22 0x07e9ad1b in DwEntity::Assemble (this=0xbea81100) at ../../mimelib/entity.cpp:243
#23 0x009d1e8c in KMMessage::asDwString (this=0xbe752df8) at ../../kmail/kmmessage.cpp:311
#24 0x009d3de8 in KMMessage::asString (this=0xbe752df8) at ../../kmail/kmmessage.cpp:329
#25 0x00d1e8d8 in KMail::ImapJob::init (this=0xbef49fa0, jt=KMail::FolderJob::tPutMessage, sets=..., folder=0xbdab8518, msgList=...) at ../../kmail/imapjob.cpp:132
#26 0x00d201d9 in KMail::ImapJob::execute (this=0xbef49fa0) at ../../kmail/imapjob.cpp:671
#27 0x00d0f4f4 in KMail::FolderJob::start (this=0x0) at ../../kmail/folderjob.cpp:106
#28 0x00bae7da in KMFolderImap::addMsg (this=0xbdab8518, msgList=..., aIndex_ret=...) at ../../kmail/kmfolderimap.cpp:510
#29 0x00baa57d in KMFolderImap::addMsg (this=0xbdab8518, aMsg=0xbe752df8, aIndex_ret=0xbf9a529c) at ../../kmail/kmfolderimap.cpp:392
#30 0x00af78cb in FolderStorage::addMessages (this=0xbdab8518, msgList=..., index_ret=...) at ../../kmail/folderstorage.cpp:1213
#31 0x00ac1df5 in KMFolder::addMessages (this=0xbdb73858, list=..., index_return=...) at ../../kmail/kmfolder.cpp:458
#32 0x00cb6538 in KMCopyCommand::execute (this=0xbecb8e40) at ../../kmail/kmcommands.cpp:2043
#33 0x00cb12fa in KMCommand::slotPostTransfer (this=0xbecb8e40, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#34 0x00cbde5f in KMCommand::qt_metacall (this=0xbecb8e40, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9a5518) at ./kmcommands.moc:93
#35 0x00cbe3ea in KMCopyCommand::qt_metacall (this=0xbecb8e40, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9a5518) at ./kmcommands.moc:1906
#36 0x0500bbea in QMetaObject::metacall (object=0xbecb8e40, cl=26544, idx=9, argv=0xbf9a5518) at kernel/qmetaobject.cpp:237
#37 0x0501e9cd in QMetaObject::activate (sender=0xbecb8e40, m=0x10c11d4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#38 0x00cad493 in KMCommand::messagesTransfered (this=0xbecb8e40, _t1=KMCommand::OK) at ./kmcommands.moc:108
#39 0x00cc6576 in KMCommand::transferSelectedMsgs (this=0xbecb8e40) at ../../kmail/kmcommands.cpp:393
#40 0x00cc67be in KMCommand::slotStart (this=0xbecb8e40) at ../../kmail/kmcommands.cpp:287
#41 0x00cbde3b in KMCommand::qt_metacall (this=0xbecb8e40, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x9ed31e0) at ./kmcommands.moc:92
#42 0x00cbe3ea in KMCopyCommand::qt_metacall (this=0xbecb8e40, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x9ed31e0) at ./kmcommands.moc:1906
#43 0x0500bbea in QMetaObject::metacall (object=0xbecb8e40, cl=26544, idx=8, argv=0x9ed31e0) at kernel/qmetaobject.cpp:237
#44 0x05017116 in QMetaCallEvent::placeMetaCall (this=0xbf22c318, object=0xbecb8e40) at kernel/qobject.cpp:534
#45 0x050189c2 in QObject::event (this=0xbecb8e40, e=0x6) at kernel/qobject.cpp:1219
#46 0x0563d51c in QApplicationPrivate::notify_helper (this=0x9c66ab0, receiver=0xbecb8e40, e=0xbf22c318) at kernel/qapplication.cpp:4396
#47 0x0564358e in QApplication::notify (this=0xbf9a5ff0, receiver=0xbecb8e40, e=0xbf22c318) at kernel/qapplication.cpp:3798
#48 0x0372910a in KApplication::notify (this=0xbf9a5ff0, receiver=0xbecb8e40, event=0xbf22c318) at ../../kdeui/kernel/kapplication.cpp:310
#49 0x05005e5b in QCoreApplication::notifyInternal (this=0xbf9a5ff0, receiver=0xbecb8e40, event=0xbf22c318) at kernel/qcoreapplication.cpp:732
#50 0x050090ab in sendEvent (receiver=0x0, event_type=0, data=0x9c34f38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9c34f38) at kernel/qcoreapplication.cpp:1373
#52 0x0500926d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#53 0x05034d94 in sendPostedEvents (s=0x9c6d378) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x9c6d378) at kernel/qeventdispatcher_glib.cpp:277
#55 0x085d6855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x085da668 in ?? () from /lib/libglib-2.0.so.0
#57 0x085da848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x05034885 in QEventDispatcherGlib::processEvents (this=0x9c34a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#59 0x056ff125 in QGuiEventDispatcherGlib::processEvents (this=0x9c34a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x05004929 in QEventLoop::processEvents (this=0xbf9a5ea4, flags=) at kernel/qeventloop.cpp:149
#61 0x05004daa in QEventLoop::exec (this=0xbf9a5ea4, flags=...) at kernel/qeventloop.cpp:201
#62 0x0500932f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#63 0x0563c347 in QApplication::exec () at kernel/qapplication.cpp:3672
#64 0x0804a88e in main (argc=1, argv=0xbf9a61b4) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 220650.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-13 09:46:39 UTC

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