Bug 240858 - KMailCVT crashes while importing large set of Mozilla Thunderbird mail
Summary: KMailCVT crashes while importing large set of Mozilla Thunderbird mail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: kmailcvt (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 264825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-06 05:46 UTC by Richard
Modified: 2012-08-19 10:48 UTC (History)
2 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 Richard 2010-06-06 05:46:16 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Linux Mint 9 Isadora

-- Information about the crash:
While trying to switch from Thunderbird 3 to Kontact I experienced this sort of crash 2 times. Hope this helps to sort out the problem. 
regards,
Richard.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#6  0x00439422 in __kernel_vsyscall ()
#7  0x00ce9651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x00ceca82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x00be552f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0x00be3465 in ?? () from /usr/lib/libstdc++.so.6
#11 0x00be34a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0x00be35e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x00be3c5f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#14 0x00be3d3d in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6
#15 0x0850a62c in mem_alloc (aSize=0xbfac9b7c) at ../../mimelib/dwstring.cpp:160
#16 0x0850ccb9 in DwString::_replace (this=0xbfac9c00, aPos1=0, aLen1=0, 
    aBuf=0x59fa0018 "From - Thu Apr 23 15:51:59 2009\r\nX-Mozilla-Status: 0001\r\nX-Mozilla-Status2: 00800000\r\nX-Mozilla-Keys:", ' ' <repeats 81 times>, "\nMessage-ID: <49F0"..., aLen2=673202057)
    at ../../mimelib/dwstring.cpp:1273
#17 0x0850d80f in DwString (this=0xbfac9c00, 
    aBuf=0x59fa0018 "From - Thu Apr 23 15:51:59 2009\r\nX-Mozilla-Status: 0001\r\nX-Mozilla-Status2: 00800000\r\nX-Mozilla-Keys:", ' ' <repeats 81 times>, "\nMessage-ID: <49F0"..., aLen=673202057)
    at ../../mimelib/dwstring.cpp:368
#18 0xb46a22ac in KMMessage::fromString (this=0x1bee24c0, ba=..., setStatus=false) at ../../kmail/kmmessage.cpp:409
#19 0xb48b71c1 in KMKernel::dbusAddMessage (this=0x8f2ea88, foldername=..., messageFile=..., MsgStatusFlags=...) at ../../kmail/kmkernel.cpp:796
#20 0xb4afc286 in KmailAdaptor::dbusAddMessage (this=0x8eb9630, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfac9edc) at kmailadaptor.cpp:75
#21 KmailAdaptor::qt_metacall (this=0x8eb9630, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfac9edc) at kmailadaptor.moc:243
#22 0x0046fb34 in QDBusConnectionPrivate::deliverCall (this=0x8b2e2d0, object=0x8eb9630, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:904
#23 0x00470e45 in QDBusConnectionPrivate::activateCall (this=0x8b2e2d0, object=0x8eb9630, flags=273, msg=...) at qdbusintegrator.cpp:816
#24 0x00471880 in QDBusConnectionPrivate::activateObject (this=0x8b2e2d0, node=..., msg=..., pathStartPos=6) at qdbusintegrator.cpp:1364
#25 0x00471b1a in QDBusActivateObjectEvent::placeMetaCall (this=0x1bee2890) at qdbusintegrator.cpp:1477
#26 0x0115f3fe in QObject::event (this=0x8f2ea88, e=0x1bee2890) at kernel/qobject.cpp:1248
#27 0x06f124dc in QApplicationPrivate::notify_helper (this=0x8b35c78, receiver=0x8f2ea88, e=0x1bee2890) at kernel/qapplication.cpp:4300
#28 0x06f1905e in QApplication::notify (this=0xbfaca8f4, receiver=0x8f2ea88, e=0x1bee2890) at kernel/qapplication.cpp:3704
#29 0x0094ef2a in KApplication::notify (this=0xbfaca8f4, receiver=0x8f2ea88, event=0x1bee2890) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x0114ea3b in QCoreApplication::notifyInternal (this=0xbfaca8f4, receiver=0x8f2ea88, event=0x1bee2890) at kernel/qcoreapplication.cpp:704
#31 0x01151473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8b16a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b16a60) at kernel/qcoreapplication.cpp:1345
#33 0x011515dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#34 0x0117aadf in QCoreApplication::sendPostedEvents (s=0x8b38dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x8b38dc0) at kernel/qeventdispatcher_glib.cpp:276
#36 0x018485e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x0184c2d8 in ?? () from /lib/libglib-2.0.so.0
#38 0x0184c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x0117a5d5 in QEventDispatcherGlib::processEvents (this=0x8b16588, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#40 0x06fd2135 in QGuiEventDispatcherGlib::processEvents (this=0x8b16588, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x0114d059 in QEventLoop::processEvents (this=0xbfaca854, flags=) at kernel/qeventloop.cpp:149
#42 0x0114d4aa in QEventLoop::exec (this=0xbfaca854, flags=...) at kernel/qeventloop.cpp:201
#43 0x0115169f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x06f12577 in QApplication::exec () at kernel/qapplication.cpp:3579
#45 0x0804b472 in main (argc=1, argv=0xbfacab14) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 220650, bug 200476.

Reported using DrKonqi
Comment 1 Richard 2010-06-06 06:05:04 UTC
Surprisingly, KMailCVT restarted Kmail and itself? automatically for the second time and is continuing to import Tbird2 mail. 
Waiting... to see if it finishes importing, before sending. 
Crash 3: then KMail restarted and KMailCVT continued importing. 
There was an error mentioned, perhaps dcop or dbus, should be in the trace. 
I was distracted and didn't make a note since it recovered so well. 

BTW: using the Remove Duplicates on Import since there are lots of dups in the tbird store. Seems to be result of upgrading to Tbird3, IMHO, a shortfall. 

Result: Indicates that it imported (0 + 17912) mails. Truly amazing. :)
Comment 2 Christophe Marin 2011-02-14 18:23:22 UTC
*** Bug 264825 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-08-19 10:48:12 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding