Bug 281190 - KmailCVT Crashed when converting very large mbox file
Summary: KmailCVT Crashed when converting very large mbox file
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmailcvt
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
: 284526 290015 290876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-01 20:25 UTC by Sebastian Koerner
Modified: 2018-09-03 03:23 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace as requested (14.90 KB, text/plain)
2011-10-13 21:28 UTC, Sebastian Koerner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Koerner 2011-09-01 20:25:30 UTC
Application: kmailcvt (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0) "release 10"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.7-default x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
I had a Very large mbox file (4,3GB) that might have been corrupted by kmail2 (all MIME Bodies Duplicated) but working OK.
Now I wanted to convert it into Mbox Directory to repair it. At a a progress of about 95% KMailCVT Crashes.
Reproduced 2 times

The crash can be reproduced every time.

-- Backtrace:
Application: KMailCVT (kmailcvt), signal: Aborted
[Current thread is 1 (Thread 0x7f8bc7864760 (LWP 18336))]

Thread 2 (Thread 0x7f8bb763a700 (LWP 18362)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff779ff7a1 in ?? ()
#2  0x00007f8bbfbab2b3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f8bc5837cc2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f8bc58fb02d in QTimerInfoList::updateCurrentTime (this=0x7f8bb0002060) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f8bc58fb3a5 in QTimerInfoList::timerWait (this=0x7f8bb0002060, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f8bc58f9e6c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f8bb7639c4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f8bc58f9f15 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f8bbf8fa087 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#10 0x00007f8bbf8fafa9 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007f8bbf8fb650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007f8bc58fa666 in QEventDispatcherGlib::processEvents (this=0x8d8d00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f8bc58cec92 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f8bc58ceea5 in QEventLoop::exec (this=0x7f8bb7639de0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f8bc57e3b94 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007f8bc58b03c8 in QInotifyFileSystemWatcherEngine::run (this=0xa9e4d0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f8bc57e6485 in QThreadPrivate::start (arg=0xa9e4d0) at thread/qthread_unix.cpp:320
#18 0x00007f8bc2229a3f in start_thread () from /lib64/libpthread.so.0
#19 0x00007f8bc431267d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8bc7864760 (LWP 18336)):
[KCrash Handler]
#6  0x00007f8bc4271ab5 in raise () from /lib64/libc.so.6
#7  0x00007f8bc4272fb6 in abort () from /lib64/libc.so.6
#8  0x00007f8bc4880a9d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#9  0x00007f8bc487ecb6 in ?? () from /usr/lib64/libstdc++.so.6
#10 0x00007f8bc487ece3 in std::terminate() () from /usr/lib64/libstdc++.so.6
#11 0x00007f8bc487ee36 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6
#12 0x00007f8bc58cef73 in QEventLoop::exec (this=0x7fff77951930, flags=...) at kernel/qeventloop.cpp:214
#13 0x00007f8bc58d32eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#14 0x000000000041695e in main ()

Possible duplicates by query: bug 281086, bug 281061, bug 281040, bug 281038, bug 280961.

Reported using DrKonqi
Comment 1 Laurent Montel 2011-09-02 07:01:37 UTC
this backtrace is too small to help to identify pb :(
Comment 2 Christophe Marin 2011-10-12 23:46:05 UTC
as you can reproduce the crash, try the following steps please:

gdb kmailcvt
type 'start'
type 'catch throw'
type 'cont'

then reproduce the crash (the kmailcvt window will become unresponsive)

in the terminal type 'thread apply all bt'

the backtrace will be more useful to track the issue

Thanks.
Comment 3 Sebastian Koerner 2011-10-13 21:28:48 UTC
Created attachment 64494 [details]
Backtrace as requested

Find the requested trace attached as file. I kept all the "need debuginfo" stuff.
Comment 4 Christoph Feck 2011-12-28 16:18:29 UTC
Thanks for the backtrace.
Comment 5 Christoph Feck 2011-12-28 16:19:34 UTC
*** Bug 290015 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2011-12-28 16:21:28 UTC
*** Bug 284526 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2012-01-06 21:50:18 UTC
pasting inline 

Thread 1 (Thread 0x7ffff7f9c760 (LWP 12009)):
#0  0x00007ffff4faad90 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#1  0x00007ffff5f0ea92 in qBadAlloc () at global/qglobal.cpp:2028
#2  0x00007ffff5f1a3f5 in QByteArray::QByteArray (this=0x7fffffffb5d0, data=
    0x144f7df65 "This is a multi-part message in MIME format.\n\n------_=_NextPart_001_01C9EDC2.498998E5\nContent-Type: multipart/alternative;\n\tboundary=\"----_=_NextPart_002_01C9EDC2.498998E5\"\n\n\n------_=_NextPart_002_01C"..., size=8738238) at tools/qbytearray.cpp:1307
#3  0x00007ffff5f1c674 in QByteArray::mid (this=<value optimized out>, pos=<value optimized out>, len=<value optimized out>) at tools/qbytearray.cpp:2635
#4  0x00007ffff70c9ecc in KMime::Parser::MultiPart::parse() () from /usr/lib64/libkmime.so.4
#5  0x00007ffff70d6202 in KMime::ContentPrivate::parseMultipart() () from /usr/lib64/libkmime.so.4
#6  0x00007ffff70dadc4 in KMime::Content::parse() () from /usr/lib64/libkmime.so.4
#7  0x000000000040fc0a in Filter::doAddMessage(FilterInfo*, QString const&, QString const&, bool) ()
#8  0x000000000041e237 in FilterMBox::import(FilterInfo*) ()
#9  0x0000000000415d7b in KMailCVT::next() ()
#10 0x00007ffff69926b1 in KAssistantDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#11 0x0000000000416240 in KMailCVT::qt_metacall(QMetaObject::Call, int, void**) ()
#12 0x00007ffff6015e8f in QMetaObject::activate (sender=0x796910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#13 0x00007ffff69a3550 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#14 0x00007ffff69a3a32 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#15 0x00007ffff6a78b30 in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#16 0x00007ffff6992648 in KAssistantDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#17 0x0000000000416240 in KMailCVT::qt_metacall(QMetaObject::Call, int, void**) ()
#18 0x00007ffff6015e8f in QMetaObject::activate (sender=0x78b5a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffffffc070) at kernel/qobject.cpp:3287
#19 0x00007ffff601a86e in QSignalMapper::mapped (this=<value optimized out>, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:101
---Type <return> to continue, or q <return> to quit---
#20 0x00007ffff601aa95 in QSignalMapper::map (this=0x78b5a0, sender=0x7b1c50) at kernel/qsignalmapper.cpp:266
#21 0x00007ffff601b150 in QSignalMapper::qt_metacall (this=0x78b5a0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffffffc1e0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x00007ffff6015e8f in QMetaObject::activate (sender=0x7b1c50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffffffc1e0) at kernel/qobject.cpp:3287
#23 0x00007ffff5a35252 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x00007ffff577b21b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#25 0x00007ffff577c7db in QAbstractButtonPrivate::click (this=0x7b1c90) at widgets/qabstractbutton.cpp:539
#26 0x00007ffff577ca4c in QAbstractButton::mouseReleaseEvent (this=0x7b1c50, e=0x7fffffffcb60) at widgets/qabstractbutton.cpp:1121
#27 0x00007ffff5415e1c in QWidget::event (this=0x7b1c50, event=0x7fffffffcb60) at kernel/qwidget.cpp:8295
#28 0x00007ffff53c4264 in QApplicationPrivate::notify_helper (this=0x66f090, receiver=0x7b1c50, e=0x7fffffffcb60) at kernel/qapplication.cpp:4481
#29 0x00007ffff53cd09c in QApplication::notify (this=<value optimized out>, receiver=0x7b1c50, e=0x7fffffffcb60) at kernel/qapplication.cpp:4042
#30 0x00007ffff6a49b76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x00007ffff60017cc in QCoreApplication::notifyInternal (this=0x7fffffffd880, receiver=0x7b1c50, event=0x7fffffffcb60) at kernel/qcoreapplication.cpp:787
#32 0x00007ffff53c5275 in sendEvent (receiver=0x7b1c50, event=0x7fffffffcb60, alienWidget=0x7b1c50, nativeWidget=0x7c7450, buttonDown=0x7ffff5e9b198, lastMouseReceiver=..., spontaneous=
    true) at ../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x7b1c50, event=0x7fffffffcb60, alienWidget=0x7b1c50, nativeWidget=0x7c7450, buttonDown=0x7ffff5e9b198, lastMouseReceiver=..., spontaneous=
    true) at kernel/qapplication.cpp:3141
#34 0x00007ffff5443d28 in QETWidget::translateMouseEvent (this=0x7c7450, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#35 0x00007ffff54423e9 in QApplication::x11ProcessEvent (this=0x7fffffffd880, event=0x7fffffffd4c0) at kernel/qapplication_x11.cpp:3587
#36 0x00007ffff546a512 in x11EventSourceDispatch (s=0x6750b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007ffff0023bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x00007ffff00243b0 in ?? () from /lib64/libglib-2.0.so.0
#39 0x00007ffff0024650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#40 0x00007ffff602c5df in QEventDispatcherGlib::processEvents (this=0x64fd50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007ffff546a1ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007ffff6000c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007ffff6000e35 in QEventLoop::exec (this=0x7fffffffd7e0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007ffff600527b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#45 0x000000000041696e in main ()
Comment 8 Christoph Feck 2012-01-07 14:09:37 UTC
*** Bug 290876 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2012-08-18 21:44:57 UTC
Setting status to confirmed by numerous duplicates.
Comment 10 Andrew Crouthamel 2018-09-03 03:23:06 UTC
Hello! Sorry to be the bearer of bad news, but this project has been
unmaintained for many years and I will be closing this bug.