Bug 319408 - Reply All to an email which is part of a large email chain
Summary: Reply All to an email which is part of a large email chain
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-06 10:37 UTC by Martin Love
Modified: 2017-01-07 21:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Offending Email (227.97 KB, application/mbox)
2013-05-06 11:12 UTC, Martin Love
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Love 2013-05-06 10:37:35 UTC
Application: kontact (4.10.2)
KDE Platform Version: 4.10.2 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.4-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I received an email (reply all) that is part of a large email chain.

When I clicked Reply All Kontact crashed. I tried to restart Kontact, but keeps crashing. I can no longer open Kontact.

There also was a system update done this morning updating to 

"kernel 3.7.10-1.4-desktop #1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8) x86_64 x86_64 x86_64 GNU/Linux"

The system was rebooted after update and was fine till the Reply All indecent.

Thanks,

Martin

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd50c4e7780 (LWP 2150))]

Thread 3 (Thread 0x7fd4f3819700 (LWP 2151)):
#0  0x00007fd5042d8964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd508cc67c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fd508cc67f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fd5042d4e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd509a2c7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd4f2f18700 (LWP 2152)):
#0  0x00007fd5042d7e0f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007fd503305aa1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd5032c7d86 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd5032c8984 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd5032c8bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd50ae5b1f6 in QEventDispatcherGlib::processEvents (this=0x7fd4ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd50ae2b9ef in QEventLoop::processEvents (this=this@entry=0x7fd4f2f17e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd50ae2bc78 in QEventLoop::exec (this=0x7fd4f2f17e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd50ad2e0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fd50ad310cc in QThreadPrivate::start (arg=0x1b528e0) at thread/qthread_unix.cpp:338
#10 0x00007fd5042d4e0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd509a2c7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd50c4e7780 (LWP 2150)):
[KCrash Handler]
#6  0x00007fd5099793d5 in raise () from /lib64/libc.so.6
#7  0x00007fd50997a858 in abort () from /lib64/libc.so.6
#8  0x00007fd5099b907b in __libc_message () from /lib64/libc.so.6
#9  0x00007fd5099bebf6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fd5099bf973 in _int_free () from /lib64/libc.so.6
#11 0x00007fd50a430095 in free (alignment=8, x=<optimized out>) at ../../src/corelib/tools/qvector.h:99
#12 free (x=<optimized out>, this=<optimized out>) at ../../src/corelib/tools/qvector.h:468
#13 operator= (v=..., this=0x243bc50) at ../../src/corelib/tools/qvector.h:395
#14 clear (this=0x243bc50) at ../../src/corelib/tools/qvector.h:348
#15 QTextEngine::clearLineData (this=0x243bc50) at text/qtextengine.cpp:1483
#16 0x00007fd50a478c3d in QTextDocumentLayout::documentChanged (this=0x1e38b80, from=0, oldLength=0, length=14202) at text/qtextdocumentlayout.cpp:2869
#17 0x00007fd50a63b37c in QTextEditPrivate::relayoutDocument (this=this@entry=0x1fe6520) at widgets/qtextedit.cpp:1438
#18 0x00007fd50a63bb89 in QTextEdit::resizeEvent (this=<optimized out>, e=0x7fff257daf30) at widgets/qtextedit.cpp:1397
#19 0x00007fd50a226315 in QWidget::event (this=0x1fe5180, event=0x7fff257daf30) at kernel/qwidget.cpp:8540
#20 0x00007fd50a5d0f26 in QFrame::event (this=0x1fe5180, e=0x7fff257daf30) at widgets/qframe.cpp:557
#21 0x00007fd50ae2ce06 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1fe4e50, event=0x7fff257daf30) at kernel/qcoreapplication.cpp:1056
#22 0x00007fd50a1d683c in QApplicationPrivate::notify_helper (this=this@entry=0x19c2610, receiver=receiver@entry=0x1fe4e50, e=e@entry=0x7fff257daf30) at kernel/qapplication.cpp:4558
#23 0x00007fd50a1daceb in QApplication::notify (this=0x7fff257dd430, receiver=0x1fe4e50, e=0x7fff257daf30) at kernel/qapplication.cpp:4423
#24 0x00007fd50b892146 in KApplication::notify (this=0x7fff257dd430, receiver=0x1fe4e50, event=0x7fff257daf30) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#25 0x00007fd50ae2cc9e in QCoreApplication::notifyInternal (this=0x7fff257dd430, receiver=0x1fe4e50, event=0x7fff257daf30) at kernel/qcoreapplication.cpp:946
#26 0x00007fd50a2208e6 in sendEvent (event=0x7fff257daf30, receiver=0x1fe4e50) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x1fe5ac0, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7445
#28 0x00007fd50a228281 in QWidgetPrivate::show_helper (this=this@entry=0x1fe5ac0) at kernel/qwidget.cpp:7496
#29 0x00007fd50a228682 in QWidget::setVisible (this=0x1fe4e50, visible=<optimized out>) at kernel/qwidget.cpp:7777
#30 0x00007fd50a22821e in show (this=0x1fe4e50) at ../../src/gui/kernel/qwidget.h:494
#31 QWidgetPrivate::showChildren (this=this@entry=0x1fe6520, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#32 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1fe6520) at kernel/qwidget.cpp:7502
#33 0x00007fd50a228682 in QWidget::setVisible (this=0x1fe5180, visible=<optimized out>) at kernel/qwidget.cpp:7777
#34 0x00007fd50a22821e in show (this=0x1fe5180) at ../../src/gui/kernel/qwidget.h:494
#35 QWidgetPrivate::showChildren (this=this@entry=0x1fdb9b0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#36 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1fdb9b0) at kernel/qwidget.cpp:7502
#37 0x00007fd50a228682 in QWidget::setVisible (this=0x1fdb980, visible=<optimized out>) at kernel/qwidget.cpp:7777
#38 0x00007fd50a22821e in show (this=0x1fdb980) at ../../src/gui/kernel/qwidget.h:494
#39 QWidgetPrivate::showChildren (this=this@entry=0x1fdb610, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#40 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1fdb610) at kernel/qwidget.cpp:7502
#41 0x00007fd50a228682 in QWidget::setVisible (this=0x1fdb5e0, visible=<optimized out>) at kernel/qwidget.cpp:7777
#42 0x00007fd50a22821e in show (this=0x1fdb5e0) at ../../src/gui/kernel/qwidget.h:494
#43 QWidgetPrivate::showChildren (this=this@entry=0x1fdb3a0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#44 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1fdb3a0) at kernel/qwidget.cpp:7502
#45 0x00007fd50a228682 in QWidget::setVisible (this=0x1fda9c0, visible=<optimized out>) at kernel/qwidget.cpp:7777
#46 0x00007fd50a22821e in show (this=0x1fda9c0) at ../../src/gui/kernel/qwidget.h:494
#47 QWidgetPrivate::showChildren (this=this@entry=0x1f51480, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#48 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1f51480) at kernel/qwidget.cpp:7502
#49 0x00007fd50a228682 in QWidget::setVisible (this=0x1f59c50, visible=<optimized out>) at kernel/qwidget.cpp:7777
#50 0x00007fd50a22821e in show (this=0x1f59c50) at ../../src/gui/kernel/qwidget.h:494
#51 QWidgetPrivate::showChildren (this=this@entry=0x1f59a50, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#52 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1f59a50) at kernel/qwidget.cpp:7502
#53 0x00007fd50a228682 in QWidget::setVisible (this=0x1f59a20, visible=<optimized out>) at kernel/qwidget.cpp:7777
#54 0x00007fd50a22821e in show (this=0x1f59a20) at ../../src/gui/kernel/qwidget.h:494
#55 QWidgetPrivate::showChildren (this=this@entry=0x1f2f070, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7865
#56 0x00007fd50a22829d in QWidgetPrivate::show_helper (this=this@entry=0x1f2f070) at kernel/qwidget.cpp:7502
#57 0x00007fd50a228682 in QWidget::setVisible (this=0x1f2fd10, visible=<optimized out>) at kernel/qwidget.cpp:7777
#58 0x00007fd4aaaeb375 in show (this=0x1f2fd10) at /usr/include/QtGui/qwidget.h:494
#59 KMKernel::recoverDeadLetters (this=<optimized out>) at /usr/src/debug/kdepim-4.10.2/kmail/kmkernel.cpp:1166
#60 0x00007fd4aae4ad38 in KMailPart::KMailPart (this=this@entry=0x1d68100, parentWidget=parentWidget@entry=0x1b30920, parent=parent@entry=0x1b30920, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.10.2/kmail/kmail_part.cpp:81
#61 0x00007fd4aae4c09f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x1b30920, parent=0x1b30920, args=...) at /usr/include/kpluginfactory.h:483
#62 0x00007fd50b399ec5 in KPluginFactory::create (this=0x1d73fa0, iface=0x7fd5097338c0 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x1b30920, parent=0x1b30920, args=..., keyword=...) at /usr/src/debug/kdelibs-4.10.2/kdecore/util/kpluginfactory.cpp:203
#63 0x00007fd50bcc552f in create<KParts::ReadOnlyPart> (args=..., parent=0x1b30920, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#64 KontactInterface::Core::createPart (this=0x1b30920, libname=0x1c4aa98 "kmailpart") at /usr/src/debug/kdepimlibs-4.10.2/kontactinterface/core.cpp:87
#65 0x00007fd4abdf3f90 in KMailPlugin::createPart (this=0x1c87320) at /usr/src/debug/kdepim-4.10.2/kontact/plugins/kmail/kmail_plugin.cpp:183
#66 0x00007fd50bcc4f09 in KontactInterface::Plugin::part (this=0x1c87320) at /usr/src/debug/kdepimlibs-4.10.2/kontactinterface/plugin.cpp:192
#67 0x00007fd50c10097a in Kontact::MainWindow::selectPlugin (this=0x1b30920, plugin=0x866) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:808
#68 0x00007fd50c0fda94 in Kontact::MainWindow::loadSettings (this=this@entry=0x1b30920) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:975
#69 0x00007fd50c0ffdc3 in Kontact::MainWindow::initObject (this=this@entry=0x1b30920) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:246
#70 0x00007fd50c1003da in Kontact::MainWindow::MainWindow (this=0x1b30920, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:153
#71 0x00000000004041b4 in KontactApp::newInstance (this=0x7fff257dd430) at /usr/src/debug/kdepim-4.10.2/kontact/src/main.cpp:135
#72 0x00007fd50b898422 in KUniqueApplicationAdaptor::newInstance (this=0x19cd610, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kuniqueapplication.cpp:442
#73 0x00007fd50b8984a4 in qt_static_metacall (_a=0x7fff257dc670, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.10.2/build/kdeui/kuniqueapplication_p.moc:58
#74 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff257dc670) at /usr/src/debug/kdelibs-4.10.2/build/kdeui/kuniqueapplication_p.moc:52
#75 0x00007fd50b8985db in KUniqueApplicationAdaptor::qt_metacall (this=0x19cd610, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff257dc670) at /usr/src/debug/kdelibs-4.10.2/build/kdeui/kuniqueapplication_p.moc:102
#76 0x00007fd506a71d8a in QDBusConnectionPrivate::deliverCall (this=this@entry=0x19b1010, object=object@entry=0x19cd610, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#77 0x00007fd506a72e36 in QDBusConnectionPrivate::activateCall (this=this@entry=0x19b1010, object=0x19cd610, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#78 0x00007fd506a73876 in QDBusConnectionPrivate::activateObject (this=0x19b1010, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#79 0x00007fd506a7396b in QDBusActivateObjectEvent::placeMetaCall (this=0x1b03e20) at qdbusintegrator.cpp:1541
#80 0x00007fd50ae4168e in QObject::event (this=0x7fff257dd430, e=<optimized out>) at kernel/qobject.cpp:1203
#81 0x00007fd50a1d8974 in QApplication::event (this=0x7fff257dd430, e=0x1b03e20) at kernel/qapplication.cpp:2544
#82 0x00007fd50a1d686c in QApplicationPrivate::notify_helper (this=this@entry=0x19c2610, receiver=receiver@entry=0x7fff257dd430, e=e@entry=0x1b03e20) at kernel/qapplication.cpp:4562
#83 0x00007fd50a1daceb in QApplication::notify (this=0x7fff257dd430, receiver=0x7fff257dd430, e=0x1b03e20) at kernel/qapplication.cpp:4423
#84 0x00007fd50b892146 in KApplication::notify (this=0x7fff257dd430, receiver=0x7fff257dd430, event=0x1b03e20) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#85 0x00007fd50ae2cc9e in QCoreApplication::notifyInternal (this=0x7fff257dd430, receiver=receiver@entry=0x7fff257dd430, event=event@entry=0x1b03e20) at kernel/qcoreapplication.cpp:946
#86 0x00007fd50ae30601 in sendEvent (event=0x1b03e20, receiver=0x7fff257dd430) at kernel/qcoreapplication.h:231
#87 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x198b670) at kernel/qcoreapplication.cpp:1570
#88 0x00007fd50ae5b043 in sendPostedEvents () at kernel/qcoreapplication.h:236
#89 postEventSourceDispatch (s=0x19c6c30) at kernel/qeventdispatcher_glib.cpp:279
#90 0x00007fd5032c87d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#91 0x00007fd5032c8b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#92 0x00007fd5032c8bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#93 0x00007fd50ae5b1d6 in QEventDispatcherGlib::processEvents (this=0x1990ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#94 0x00007fd50a276c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#95 0x00007fd50ae2b9ef in QEventLoop::processEvents (this=this@entry=0x7fff257dd2a0, flags=...) at kernel/qeventloop.cpp:149
#96 0x00007fd50ae2bc78 in QEventLoop::exec (this=0x7fff257dd2a0, flags=...) at kernel/qeventloop.cpp:204
#97 0x00007fd50ae30918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#98 0x0000000000403679 in main (argc=1, argv=0x7fff257dd578) at /usr/src/debug/kdepim-4.10.2/kontact/src/main.cpp:219

Possible duplicates by query: bug 318426, bug 314447, bug 312605, bug 312521.

Reported using DrKonqi
Comment 1 Martin Love 2013-05-06 11:12:42 UTC
Created attachment 79728 [details]
Offending Email

This is the offending email chain.
Comment 2 Martin Love 2013-05-06 11:15:17 UTC
I removed the contents of :-
rm ~/.kde4/share/apps/kmail2/autosave/*

This enabled me to start Kontact without crashing. 
I tried Replying All again to the original email. Kontact crashed again and would not start.

I removed the contents again of :-
rm ~/.kde4/share/apps/kmail2/autosave/*

Again Kontact worked. I tried doing a Reply All to another email and this worked no problem. I've attached the offending email. Not sure if it will help or not.

Cheers,

Martin
Comment 3 Allen Winter 2013-05-10 13:07:31 UTC
reassign to kmail2
Comment 4 Denis Kurz 2016-09-24 18:10:30 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 21:25:58 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.