Bug 341735 - KMail crashes when using Reply
Summary: KMail crashes when using Reply
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-12-10 10:52 UTC by Tomaso Bulligan
Modified: 2018-01-31 16:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.68 KB, text/plain)
2014-12-10 14:33 UTC, Tomaso Bulligan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomaso Bulligan 2014-12-10 10:52:09 UTC
Application: kmail (4.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just finished reading an email. Clicked Reply.
App crashed and won't restart (Executable: kmail PID: 17772 Signal: Segmentation fault (11) Time: 12/10/14 11:50:28 AM).

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc78515c840 (LWP 5286))]

Thread 7 (Thread 0x7fc75e8d0700 (LWP 5291)):
#0  0x00007fc7802bc05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc7757ea686 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc7757ea6b9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fc75d81f700 (LWP 5292)):
#0  0x00007fc7802bc05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc77555ce7d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc7758121e6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc75c951700 (LWP 5293)):
#0  0x00007fc7824af3cd in poll () from /lib64/libc.so.6
#1  0x00007fc77a014be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc77a014cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc783b0a0de in QEventDispatcherGlib::processEvents (this=0x7fc7080008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fc783adbe6f in QEventLoop::processEvents (this=this@entry=0x7fc75c950da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc783adc165 in QEventLoop::exec (this=this@entry=0x7fc75c950da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc7839d90bf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007fc7839db79f in QThreadPrivate::start (arg=0x1dbd1f0) at thread/qthread_unix.cpp:349
#8  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc71684c700 (LWP 5294)):
#0  0x00007fc7824af3cd in poll () from /lib64/libc.so.6
#1  0x00007fc77a014be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc77a014cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc783b0a0de in QEventDispatcherGlib::processEvents (this=0x7fc70c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fc783adbe6f in QEventLoop::processEvents (this=this@entry=0x7fc71684bd60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc783adc165 in QEventLoop::exec (this=this@entry=0x7fc71684bd60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc7839d90bf in QThread::exec (this=this@entry=0x3064bf0) at thread/qthread.cpp:538
#7  0x00007fc783abd783 in QInotifyFileSystemWatcherEngine::run (this=0x3064bf0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc7839db79f in QThreadPrivate::start (arg=0x3064bf0) at thread/qthread_unix.cpp:349
#9  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc707fff700 (LWP 5466)):
#0  0x00007fc7802bc05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc76cb658cb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc76ce63f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fc76cb65909 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc706a4d700 (LWP 5528)):
#0  0x00007fc7824af3cd in poll () from /lib64/libc.so.6
#1  0x00007fc77a014be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc77a014cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc783b0a0de in QEventDispatcherGlib::processEvents (this=0x7fc67c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fc783adbe6f in QEventLoop::processEvents (this=this@entry=0x7fc706a4cd60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc783adc165 in QEventLoop::exec (this=this@entry=0x7fc706a4cd60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc7839d90bf in QThread::exec (this=this@entry=0x47aedd0) at thread/qthread.cpp:538
#7  0x00007fc783abd783 in QInotifyFileSystemWatcherEngine::run (this=0x47aedd0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc7839db79f in QThreadPrivate::start (arg=0x47aedd0) at thread/qthread_unix.cpp:349
#9  0x00007fc7802b80a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc7824b77fd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc78515c840 (LWP 5286)):
[KCrash Handler]
#6  0x00007fc782407187 in raise () from /lib64/libc.so.6
#7  0x00007fc782408538 in abort () from /lib64/libc.so.6
#8  0x00007fc7824450c4 in __libc_message () from /lib64/libc.so.6
#9  0x00007fc78244a92e in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fc78244b636 in _int_free () from /lib64/libc.so.6
#11 0x00007fc7830c466d in free (alignment=8, x=<optimized out>) at ../../src/corelib/tools/qvector.h:99
#12 free (this=<optimized out>, x=<optimized out>) at ../../src/corelib/tools/qvector.h:468
#13 operator= (v=..., this=0x406cf80) at ../../src/corelib/tools/qvector.h:395
#14 clear (this=0x406cf80) at ../../src/corelib/tools/qvector.h:348
#15 QTextEngine::clearLineData (this=0x406cf80) at text/qtextengine.cpp:1483
#16 0x00007fc7830c6448 in QTextLayout::clearLayout (this=<optimized out>) at text/qtextlayout.cpp:659
#17 0x00007fc7830d803c in QTextBlock::clearLayout (this=this@entry=0x7fffd60834b0) at text/qtextobject.cpp:1084
#18 0x00007fc78310eb63 in QTextDocumentLayout::documentChanged (this=0x5f66a00, from=0, oldLength=0, length=2095) at text/qtextdocumentlayout.cpp:2882
#19 0x00007fc7832c8d33 in QTextEditPrivate::relayoutDocument (this=this@entry=0x5686ae0) at widgets/qtextedit.cpp:1438
#20 0x00007fc7832c9530 in QTextEdit::resizeEvent (this=<optimized out>, e=0x7fffd60839b0) at widgets/qtextedit.cpp:1397
#21 0x00007fc782ec59be in QWidget::event (this=this@entry=0x6dac730, event=event@entry=0x7fffd60839b0) at kernel/qwidget.cpp:8554
#22 0x00007fc7832625ee in QFrame::event (this=0x6dac730, e=0x7fffd60839b0) at widgets/qframe.cpp:557
#23 0x00007fc783add416 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1a36fa0, receiver=receiver@entry=0x6da9fc0, event=event@entry=0x7fffd60839b0) at kernel/qcoreapplication.cpp:1063
#24 0x00007fc782e7674c in QApplicationPrivate::notify_helper (this=this@entry=0x1a36fa0, receiver=receiver@entry=0x6da9fc0, e=e@entry=0x7fffd60839b0) at kernel/qapplication.cpp:4561
#25 0x00007fc782e7ccad in QApplication::notify (this=this@entry=0x7fffd6085080, receiver=receiver@entry=0x6da9fc0, e=e@entry=0x7fffd60839b0) at kernel/qapplication.cpp:4351
#26 0x00007fc784bc7baa in KApplication::notify (this=0x7fffd6085080, receiver=0x6da9fc0, event=0x7fffd60839b0) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#27 0x00007fc783add2ad in QCoreApplication::notifyInternal (this=0x7fffd6085080, receiver=receiver@entry=0x6da9fc0, event=event@entry=0x7fffd60839b0) at kernel/qcoreapplication.cpp:953
#28 0x00007fc782f09e6e in sendEvent (event=0x7fffd60839b0, receiver=0x6da9fc0) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QWidgetPrivate::setGeometry_sys (this=this@entry=0x341d0b0, x=<optimized out>, y=3, w=<optimized out>, h=<optimized out>, isMove=isMove@entry=true) at kernel/qwidget_x11.cpp:2671
#30 0x00007fc782ebe165 in QWidget::setGeometry (this=0x6da9fc0, r=...) at kernel/qwidget.cpp:6974
#31 0x00007fc7832dd721 in QAbstractScrollAreaPrivate::layoutChildren (this=this@entry=0x5686ae0) at widgets/qabstractscrollarea.cpp:480
#32 0x00007fc7832debcd in QAbstractScrollArea::event (this=this@entry=0x6dac730, e=e@entry=0x7fffd6083fa0) at widgets/qabstractscrollarea.cpp:924
#33 0x00007fc7832cb5da in QTextEdit::event (this=0x6dac730, e=0x7fffd6083fa0) at widgets/qtextedit.cpp:1070
#34 0x00007fc782e7676c in QApplicationPrivate::notify_helper (this=this@entry=0x1a36fa0, receiver=receiver@entry=0x6dac730, e=e@entry=0x7fffd6083fa0) at kernel/qapplication.cpp:4565
#35 0x00007fc782e7ccad in QApplication::notify (this=this@entry=0x7fffd6085080, receiver=receiver@entry=0x6dac730, e=e@entry=0x7fffd6083fa0) at kernel/qapplication.cpp:4351
#36 0x00007fc784bc7baa in KApplication::notify (this=0x7fffd6085080, receiver=0x6dac730, event=0x7fffd6083fa0) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#37 0x00007fc783add2ad in QCoreApplication::notifyInternal (this=0x7fffd6085080, receiver=receiver@entry=0x6dac730, event=event@entry=0x7fffd6083fa0) at kernel/qcoreapplication.cpp:953
#38 0x00007fc782ec17b2 in sendEvent (event=0x7fffd6083fa0, receiver=0x6dac730) at ../../src/corelib/kernel/qcoreapplication.h:231
#39 QWidget::setContentsMargins (this=this@entry=0x6dac730, left=<optimized out>, top=<optimized out>, right=<optimized out>, bottom=<optimized out>) at kernel/qwidget.cpp:7216
#40 0x00007fc78326220b in QFrame::setFrameRect (this=this@entry=0x6dac730, r=...) at widgets/qframe.cpp:469
#41 0x00007fc7832dd88a in QAbstractScrollAreaPrivate::layoutChildren (this=this@entry=0x5686ae0) at widgets/qabstractscrollarea.cpp:403
#42 0x00007fc7832de575 in QAbstractScrollAreaPrivate::_q_showOrHideScrollBars (this=this@entry=0x5686ae0) at widgets/qabstractscrollarea.cpp:1324
#43 0x00007fc7832c9074 in QTextEditPrivate::_q_adjustScrollbars (this=0x5686ae0) at widgets/qtextedit.cpp:289
#44 0x00007fc7832cb232 in _q_adjustScrollbars (this=<optimized out>) at widgets/qtextedit.cpp:260
#45 QTextEdit::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtextedit.cpp:212
#46 0x00007fc783af11fa in QMetaObject::activate (sender=0x4476c80, m=m@entry=0x7fc783922760 <QTextControl::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fffd6084260) at kernel/qobject.cpp:3576
#47 0x00007fc7830aff55 in QTextControl::documentSizeChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qtextcontrol_p.cpp:308
#48 0x00007fc7830b5f19 in QTextControl::qt_static_metacall (_o=0x14a6, _id=5286, _a=0x6, _c=<optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:139
#49 0x00007fc783af11fa in QMetaObject::activate (sender=sender@entry=0x5f66a00, m=m@entry=0x7fc783922b60 <QAbstractTextDocumentLayout::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffd60843b0) at kernel/qobject.cpp:3576
#50 0x00007fc7830fd975 in QAbstractTextDocumentLayout::documentSizeChanged (this=this@entry=0x5f66a00, _t1=...) at .moc/release-shared/moc_qabstracttextdocumentlayout.cpp:136
#51 0x00007fc78310ef02 in QTextDocumentLayout::documentChanged (this=0x5f66a00, from=0, oldLength=<optimized out>, length=169) at text/qtextdocumentlayout.cpp:2927
#52 0x00007fc7830ece71 in QTextDocumentPrivate::finishEdit (this=0x56172f0) at text/qtextdocument_p.cpp:1220
#53 0x00007fc7830ed3b4 in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1201
#54 0x00007fc7830ed40e in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1187
#55 0x00007fc7831135c5 in QTextCursor::endEditBlock (this=this@entry=0x7fffd6084550) at text/qtextcursor.cpp:2517
#56 0x00007fc77d503188 in insertSignatureHelper (signature=..., textEdit=textEdit@entry=0x6dac730, placement=placement@entry=KPIMIdentities::Signature::Start, isHtml=<optimized out>, addNewlines=addNewlines@entry=true) at /usr/src/debug/kdepimlibs-4.14.3/kpimidentities/signature.cpp:490
#57 0x00007fc77d50597b in insertSignatureHelper (addNewlines=true, isHtml=<optimized out>, placement=KPIMIdentities::Signature::Start, textEdit=0x6dac730, signature=...) at /usr/src/debug/kdepimlibs-4.14.3/kpimidentities/signature.cpp:553
#58 KPIMIdentities::Signature::insertSignatureText (this=this@entry=0x7fffd6084690, placement=placement@entry=KPIMIdentities::Signature::Start, addedText=..., textEdit=0x6dac730, forceDisplay=forceDisplay@entry=false) at /usr/src/debug/kdepimlibs-4.14.3/kpimidentities/signature.cpp:553
#59 0x00007fc77d5059b4 in KPIMIdentities::Signature::insertIntoTextEdit (this=this@entry=0x7fffd6084690, placement=placement@entry=KPIMIdentities::Signature::Start, addedText=..., textEdit=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.3/kpimidentities/signature.cpp:528
#60 0x00007fc77e3db094 in MessageComposer::SignatureController::insertSignatureHelper (this=0x3b3bbf0, placement=KPIMIdentities::Signature::Start) at /usr/src/debug/kdepim-4.14.3/messagecomposer/composer/signaturecontroller.cpp:132
#61 0x00007fc783af559e in QObject::event (this=0x3b3bbf0, e=<optimized out>) at kernel/qobject.cpp:1231
#62 0x00007fc782e7676c in QApplicationPrivate::notify_helper (this=this@entry=0x1a36fa0, receiver=receiver@entry=0x3b3bbf0, e=e@entry=0x84ce110) at kernel/qapplication.cpp:4565
#63 0x00007fc782e7ccad in QApplication::notify (this=this@entry=0x7fffd6085080, receiver=receiver@entry=0x3b3bbf0, e=e@entry=0x84ce110) at kernel/qapplication.cpp:4351
#64 0x00007fc784bc7baa in KApplication::notify (this=0x7fffd6085080, receiver=0x3b3bbf0, event=0x84ce110) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#65 0x00007fc783add2ad in QCoreApplication::notifyInternal (this=0x7fffd6085080, receiver=receiver@entry=0x3b3bbf0, event=event@entry=0x84ce110) at kernel/qcoreapplication.cpp:953
#66 0x00007fc783ae057d in sendEvent (event=0x84ce110, receiver=0x3b3bbf0) at kernel/qcoreapplication.h:231
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1950860) at kernel/qcoreapplication.cpp:1577
#68 0x00007fc783ae0a23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#69 0x00007fc783b0a8fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#70 postEventSourceDispatch (s=0x1a1d450) at kernel/qeventdispatcher_glib.cpp:300
#71 0x00007fc77a014a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#72 0x00007fc77a014c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#73 0x00007fc77a014cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#74 0x00007fc783b0a0be in QEventDispatcherGlib::processEvents (this=0x1956100, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#75 0x00007fc782f13676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00007fc783adbe6f in QEventLoop::processEvents (this=this@entry=0x7fffd6084cd0, flags=...) at kernel/qeventloop.cpp:149
#77 0x00007fc783adc165 in QEventLoop::exec (this=this@entry=0x7fffd6084cd0, flags=...) at kernel/qeventloop.cpp:204
#78 0x00007fc783ae15b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#79 0x0000000000402f3f in ?? ()
#80 0x00007fc7823f3b05 in __libc_start_main () from /lib64/libc.so.6
#81 0x0000000000403414 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 334753.

Possible duplicates by query: bug 334753, bug 333253.

Reported using DrKonqi
Comment 1 Laurent Montel 2014-12-10 13:11:38 UTC
it's a very old bug.
I need to investigate it and create unittest.
Comment 2 Tomaso Bulligan 2014-12-10 14:33:03 UTC
Created attachment 89904 [details]
New crash information added by DrKonqi

kmail (4.14.3) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:
Since bug "KMail crashes when using Reply" applications fails to start.

-- Backtrace (Reduced):
#11 0x00007f869534066d in free (alignment=8, x=<optimized out>) at ../../src/corelib/tools/qvector.h:99
#12 free (this=<optimized out>, x=<optimized out>) at ../../src/corelib/tools/qvector.h:468
#13 operator= (v=..., this=0x19b66f0) at ../../src/corelib/tools/qvector.h:395
#14 clear (this=0x19b66f0) at ../../src/corelib/tools/qvector.h:348
#15 QTextEngine::clearLineData (this=0x19b66f0) at text/qtextengine.cpp:1483
Comment 3 Denis Kurz 2017-06-23 19:57:48 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 4 Denis Kurz 2018-01-31 16:53:31 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input.