Bug 365638 - Kmail closed unexpectedly when replying to email
Summary: Kmail closed unexpectedly when replying to email
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-07-13 21:44 UTC by noucamp13
Modified: 2018-02-01 09:53 UTC (History)
1 user (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 noucamp13 2016-07-13 21:44:05 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed:
I hit 'reply' to respond to an email in one of my IMAP accounts and Kmail just closed completely. No eror message or anything. It simply shut down.

- Unusual behavior I noticed:
Prior to responding to the email, I was working in LibreOffice Calc (v. 5.0.3.2) and noticed that ever time I tried to reach the menus with the mouse, it wouldn't get past the cell input area. Very strange. As if a "force field" surrounded the input box and wouldn't let the pointer pass. I had to yank the mouse up in order to get to the menus. I don't know if it is related at all, but it was very strange.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6fb2a4b800 (LWP 6898))]

Thread 5 (Thread 0x7f6f92e88700 (LWP 6899)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6fad7ee81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6fad7ee859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6fa9f0f184 in start_thread (arg=0x7f6f92e88700) at pthread_create.c:312
#4  0x00007f6faffc337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f6f52585700 (LWP 6900)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6fad52f20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6fad81dfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6fa9f0f184 in start_thread (arg=0x7f6f52585700) at pthread_create.c:312
#4  0x00007f6faffc337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f6f42f25700 (LWP 6907)):
#0  0x00007ffe5057ccb6 in ?? ()
#1  0x00007f6fb073deae in QTimerInfoList::repairTimersIfNeeded (this=0x1) at kernel/qeventdispatcher_unix.cpp:413
#2  0x000000007fffffff in ?? ()
#3  0x00007f6f42f24c30 in ?? ()
#4  0x00007f6faffd185d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#5  0x00007f6fb0661ad7 in do_gettime (frac=0x7f6f42f24bc0, sec=0x7f6f42f24bb8) at tools/qelapsedtimer_unix.cpp:127
#6  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#7  0x00007f6fb073db79 in QTimerInfoList::updateCurrentTime (this=0x7f6f3c003130, this@entry=0x1dd5e5c) at kernel/qeventdispatcher_unix.cpp:354
#8  0x00007f6fb073ca4b in timerSourceCheckHelper (src=0x1dd5dfc) at kernel/qeventdispatcher_glib.cpp:157
#9  0x00007f6fa9a2fa61 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6fa9a2ff7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f6fa9a300ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f6fb073c7be in QEventDispatcherGlib::processEvents (this=0x7f6f3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#13 0x00007f6fb070e0af in QEventLoop::processEvents (this=this@entry=0x7f6f42f24de0, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f6fb070e3a5 in QEventLoop::exec (this=this@entry=0x7f6f42f24de0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007f6fb060ac5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#16 0x00007f6fb060d32f in QThreadPrivate::start (arg=0x27b3240) at thread/qthread_unix.cpp:349
#17 0x00007f6fa9f0f184 in start_thread (arg=0x7f6f42f25700) at pthread_create.c:312
#18 0x00007f6faffc337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f6f41618700 (LWP 6909)):
#0  0x00007f6fa9f127de in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f6f34000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f6f34000a60) at pthread_mutex_unlock.c:310
#2  0x00007f6fa9a719b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6fa9a2f680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6fa9a2ff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6fa9a300ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6fb073c7be in QEventDispatcherGlib::processEvents (this=0x7f6f340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f6fb070e0af in QEventLoop::processEvents (this=this@entry=0x7f6f41617da0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f6fb070e3a5 in QEventLoop::exec (this=this@entry=0x7f6f41617da0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f6fb060ac5f in QThread::exec (this=this@entry=0x33a08a0) at thread/qthread.cpp:537
#10 0x00007f6fb06ef823 in QInotifyFileSystemWatcherEngine::run (this=0x33a08a0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f6fb060d32f in QThreadPrivate::start (arg=0x33a08a0) at thread/qthread_unix.cpp:349
#12 0x00007f6fa9f0f184 in start_thread (arg=0x7f6f41618700) at pthread_create.c:312
#13 0x00007f6faffc337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f6fb2a4b800 (LWP 6898)):
[KCrash Handler]
#6  deref (this=0x7f6f00000000) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QList<QTextOption::Tab>::~QList (this=0x64e7fa0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:731
#8  0x00007f6fb136a921 in ~QTextOptionPrivate (this=0x64e7fa0, __in_chrg=<optimized out>) at text/qtextoption.cpp:48
#9  QTextOption::operator= (this=0x6501a30, o=...) at text/qtextoption.cpp:129
#10 0x00007f6fb135612c in QTextLayout::setTextOption (this=this@entry=0x65019c0, option=...) at text/qtextlayout.cpp:427
#11 0x00007f6fb1394656 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0x56c33f0, bl=..., blockPosition=blockPosition@entry=4194, blockFormat=..., layoutStruct=layoutStruct@entry=0x7ffe5055fb10, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, previousBlockFormat=previousBlockFormat@entry=0x0) at text/qtextdocumentlayout.cpp:2594
#12 0x00007f6fb139c6a3 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x56c33f0, it=..., layoutStruct=layoutStruct@entry=0x7ffe5055fb10, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#13 0x00007f6fb1397d44 in QTextDocumentLayoutPrivate::layoutCell (this=this@entry=0x56c33f0, t=t@entry=0x6500a40, cell=..., width=..., width@entry=..., layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, td=td@entry=0x6a7dbd0, absoluteTableY=absoluteTableY@entry=..., withPageBreaks=withPageBreaks@entry=false) at text/qtextdocumentlayout.cpp:1545
#14 0x00007f6fb139883c in QTextDocumentLayoutPrivate::layoutTable (this=this@entry=0x56c33f0, table=0x6500a40, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, parentY=..., parentY@entry=...) at text/qtextdocumentlayout.cpp:1655
#15 0x00007f6fb139acd1 in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x56c33f0, f=f@entry=0x6500a40, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2120
#16 0x00007f6fb139b70d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x56c33f0, f=f@entry=0x6500a40, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, parentY=...) at text/qtextdocumentlayout.cpp:2062
#17 0x00007f6fb139cc48 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x56c33f0, it=..., layoutStruct=layoutStruct@entry=0x7ffe50560550, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2324
#18 0x00007f6fb139b03d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x56c33f0, f=f@entry=0x6474ab0, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2156
#19 0x00007f6fb139b70d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x56c33f0, f=f@entry=0x6474ab0, layoutFrom=layoutFrom@entry=4196, layoutTo=layoutTo@entry=4227, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2062
#20 0x00007f6fb139e1c0 in QTextDocumentLayout::doLayout (this=this@entry=0x585ce00, from=from@entry=4196, oldLength=oldLength@entry=31, length=length@entry=31) at text/qtextdocumentlayout.cpp:2952
#21 0x00007f6fb139f1fe in QTextDocumentLayout::documentChanged (this=0x585ce00, from=4196, oldLength=31, length=31) at text/qtextdocumentlayout.cpp:2915
#22 0x00007f6fb136c0ad in QTextDocument::markContentsDirty (this=<optimized out>, from=<optimized out>, length=length@entry=31) at text/qtextdocument.cpp:624
#23 0x00007f6fb13bbcd3 in QSyntaxHighlighterPrivate::applyFormatChanges (this=this@entry=0x65a7ea0) at text/qsyntaxhighlighter.cpp:176
#24 0x00007f6fb13bc1a5 in QSyntaxHighlighterPrivate::reformatBlock (this=this@entry=0x65a7ea0, block=...) at text/qsyntaxhighlighter.cpp:226
#25 0x00007f6fb13bc2d7 in QSyntaxHighlighterPrivate::reformatBlocks (this=this@entry=0x65a7ea0, from=from@entry=0, charsRemoved=charsRemoved@entry=0, charsAdded=<optimized out>) at text/qsyntaxhighlighter.cpp:206
#26 0x00007f6fb13bc5bb in rehighlight (operation=QTextCursor::End, cursor=..., this=0x65a7ea0) at text/qsyntaxhighlighter.cpp:77
#27 QSyntaxHighlighter::rehighlight (this=<optimized out>) at text/qsyntaxhighlighter.cpp:400
#28 0x00007f6f4b94aac3 in KPIMTextEdit::EMailQuoteHighlighter::toggleSpellHighlighting (this=<optimized out>, on=on@entry=true) at ../../kpimtextedit/emailquotehighlighter.cpp:123
#29 0x00007f6f4b94ae5f in KPIMTextEdit::TextEdit::setSpellCheckingEnabled (this=this@entry=0x46fd220, enable=<optimized out>) at ../../kpimtextedit/textedit.cpp:314
#30 0x00007f6f4b94afc5 in KPIMTextEdit::TextEdit::createHighlighter (this=0x46fd220) at ../../kpimtextedit/textedit.cpp:371
#31 0x00007f6fb1ee5e5f in KTextEdit::focusInEvent (this=0x46fd220, event=<optimized out>) at ../../kdeui/widgets/ktextedit.cpp:782
#32 0x00007f6fb11511d9 in QWidget::event (this=this@entry=0x46fd220, event=event@entry=0x7ffe50560eb0) at kernel/qwidget.cpp:8496
#33 0x00007f6fb14f304e in QFrame::event (this=this@entry=0x46fd220, e=e@entry=0x7ffe50560eb0) at widgets/qframe.cpp:557
#34 0x00007f6fb156f4ab in QAbstractScrollArea::event (this=this@entry=0x46fd220, e=e@entry=0x7ffe50560eb0) at widgets/qabstractscrollarea.cpp:996
#35 0x00007f6fb155bf0a in QTextEdit::event (this=0x46fd220, e=0x7ffe50560eb0) at widgets/qtextedit.cpp:1070
#36 0x00007f6fb1101e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2565bc0, receiver=receiver@entry=0x46fd220, e=e@entry=0x7ffe50560eb0) at kernel/qapplication.cpp:4567
#37 0x00007f6fb11084a0 in QApplication::notify (this=this@entry=0x7ffe50561770, receiver=receiver@entry=0x46fd220, e=e@entry=0x7ffe50560eb0) at kernel/qapplication.cpp:4353
#38 0x00007f6fb1e0ccca in KApplication::notify (this=0x7ffe50561770, receiver=0x46fd220, event=0x7ffe50560eb0) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f6fb070f4dd in QCoreApplication::notifyInternal (this=0x7ffe50561770, receiver=receiver@entry=0x46fd220, event=event@entry=0x7ffe50560eb0) at kernel/qcoreapplication.cpp:953
#40 0x00007f6fb110667a in sendEvent (event=0x7ffe50560eb0, receiver=0x46fd220) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QApplicationPrivate::setFocusWidget (focus=focus@entry=0x46fd220, reason=reason@entry=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:2283
#42 0x00007f6fb114c68b in QWidget::setFocus (this=0x46fd220, reason=reason@entry=Qt::ActiveWindowFocusReason) at kernel/qwidget.cpp:6464
#43 0x00007f6fb1106cc8 in QApplication::setActiveWindow (act=act@entry=0x67e08c0) at kernel/qapplication.cpp:2677
#44 0x00007f6fb117bc01 in QApplication::x11ProcessEvent (this=0x7ffe50561770, event=event@entry=0x7ffe505612a0) at kernel/qapplication_x11.cpp:3668
#45 0x00007f6fb11a3b32 in x11EventSourceDispatch (s=0x2567b40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f6fa9a2fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f6fa9a30048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f6fa9a300ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f6fb073c7a1 in QEventDispatcherGlib::processEvents (this=0x2526bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0x00007f6fb11a3be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f6fb070e0af in QEventLoop::processEvents (this=this@entry=0x7ffe50561670, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f6fb070e3a5 in QEventLoop::exec (this=this@entry=0x7ffe50561670, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f6fb0713b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#54 0x00007f6fb110037c in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x0000000000403660 in main (argc=1, argv=0x7ffe505618b8) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 22:20:58 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based 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 opportunity 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 2 Denis Kurz 2018-02-01 09:53:29 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 much more recent), please open a new one unless it already exists. Thank you for all your input.