Bug 333973 - Application: KMail (kmail), signal: Segmentation fault
Summary: Application: KMail (kmail), signal: Segmentation fault
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-27 21:11 UTC by Kansu
Modified: 2018-01-31 16:50 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 Kansu 2014-04-27 21:11:45 UTC
Application: kmail (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-19-generic i686
Distribution: Linux Mint 16 Petra

-- Information about the crash:
- Unusual behavior I noticed:

Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  deref (this=0xaa08) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  releaseCachedFontEngine (fontEngine=0xaa00) at text/qtextengine.cpp:1457
#9  QTextEngine::resetFontEngineCache (this=this@entry=0x8c7b400) at text/qtextengine.cpp:1465
#10 0xb64bb3ff in QTextEngine::invalidate (this=0x8c7b400) at text/qtextengine.cpp:1478
#11 0xb64bc86e in QTextLayout::beginLayout (this=this@entry=0x8cb4280) at text/qtextlayout.cpp:622
#12 0xb64fef8e in QTextDocumentLayoutPrivate::layoutBlock (this=0x8ae0378, bl=..., blockPosition=blockPosition@entry=3787, blockFormat=..., layoutStruct=layoutStruct@entry=0xbf9275f0, layoutFrom=2310, layoutTo=2147483647, previousBlockFormat=0x0) at text/qtextdocumentlayout.cpp:2590
#13 0xb6508a5f in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x8ae0378, it=..., layoutStruct=layoutStruct@entry=0xbf9275f0, layoutFrom=layoutFrom@entry=2310, layoutTo=layoutTo@entry=2147483647, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2402
#14 0xb650319b in QTextDocumentLayoutPrivate::layoutCell (this=0x8ae0378, t=0x8d25848, cell=..., width=width@entry=..., layoutFrom=2310, layoutTo=2147483647, td=0x8d261b8, absoluteTableY=..., withPageBreaks=withPageBreaks@entry=false) at text/qtextdocumentlayout.cpp:1532
#15 0xb6503dca in QTextDocumentLayoutPrivate::layoutTable (this=this@entry=0x8ae0378, table=0x8d25848, layoutFrom=layoutFrom@entry=2310, layoutTo=layoutTo@entry=2147483647, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:1642
#16 0xb6506dc7 in QTextDocumentLayoutPrivate::layoutFrame (this=0x8ae0378, f=0x8d25848, layoutFrom=2310, layoutTo=2147483647, frameWidth=frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2107
#17 0xb65078da in QTextDocumentLayoutPrivate::layoutFrame (this=0x8ae0378, f=0x8d25848, layoutFrom=2310, layoutTo=2147483647, parentY=...) at text/qtextdocumentlayout.cpp:2049
#18 0xb65090ec in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x8ae0378, it=..., layoutStruct=layoutStruct@entry=0xbf927f68, layoutFrom=layoutFrom@entry=2310, layoutTo=layoutTo@entry=2147483647, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2311
#19 0xb65070e4 in QTextDocumentLayoutPrivate::layoutFrame (this=0x8ae0378, f=0x89abb90, layoutFrom=2310, layoutTo=2147483647, frameWidth=frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2143
#20 0xb65078da in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x8ae0378, f=f@entry=0x89abb90, layoutFrom=layoutFrom@entry=2310, layoutTo=layoutTo@entry=2147483647, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2049
#21 0xb650a884 in QTextDocumentLayout::doLayout (this=0x8adfbd0, from=2310, oldLength=oldLength@entry=0, length=2147481337) at text/qtextdocumentlayout.cpp:2939
#22 0xb650ab23 in QTextDocumentLayoutPrivate::ensureLayoutedByPosition (this=this@entry=0x8ae0378, position=<optimized out>) at text/qtextdocumentlayout.cpp:3111
#23 0xb650ace7 in ensureLayoutedByPosition (position=<optimized out>, this=0x8ae0378) at text/qtextdocumentlayout.cpp:3119
#24 QTextDocumentLayoutPrivate::layoutStep (this=0x8ae0378) at text/qtextdocumentlayout.cpp:3117
#25 0xb6d363ec in QObject::event (this=0x8adfbd0, e=0xbf928450) at kernel/qobject.cpp:1156
#26 0xb622e744 in QApplicationPrivate::notify_helper (this=0x84c9eb0, receiver=0x8adfbd0, e=0xbf928450) at kernel/qapplication.cpp:4567
#27 0xb6235223 in QApplication::notify (this=0xbf9287c4, receiver=receiver@entry=0x8adfbd0, e=e@entry=0xbf928450) at kernel/qapplication.cpp:4353
#28 0xb7544ff4 in KApplication::notify (this=0xbf9287c4, receiver=0x8adfbd0, event=0xbf928450) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb6d1ceda in QCoreApplication::notifyInternal (this=0xbf9287c4, receiver=0x8adfbd0, event=event@entry=0xbf928450) at kernel/qcoreapplication.cpp:946
#30 0xb6d4f4eb in sendEvent (event=0xbf928450, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=this@entry=0x84c5f5c) at kernel/qeventdispatcher_unix.cpp:622
#32 0xb6d4c5d8 in timerSourceDispatch (source=0x84c5f28) at kernel/qeventdispatcher_glib.cpp:186
#33 0xb43d183e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb43d1be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb43d1ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb6d4c8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x847bec8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0xb62e332e in QGuiEventDispatcherGlib::processEvents (this=0x847bec8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb6d1b9f3 in QEventLoop::processEvents (this=this@entry=0xbf928678, flags=...) at kernel/qeventloop.cpp:149
#39 0xb6d1bd19 in QEventLoop::exec (this=this@entry=0xbf928678, flags=...) at kernel/qeventloop.cpp:204
#40 0xb6d2189e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#41 0xb622c974 in QApplication::exec () at kernel/qapplication.cpp:3828
#42 0x0804a441 in main (argc=3, argv=0xbf928914) at ../../kmail/main.cpp:146

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  deref (this=0xaa08) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  releaseCachedFontEngine (fontEngine=0xaa00) at text/qtextengine.cpp:1457
#9  QTextEngine::resetFontEngineCache (this=this@entry=0x9878640) at text/qtextengine.cpp:1465
#10 0xb64003ff in QTextEngine::invalidate (this=0x9878640) at text/qtextengine.cpp:1478
#11 0xb640186e in QTextLayout::beginLayout (this=this@entry=0x9878608) at text/qtextlayout.cpp:622
#12 0xb6443f8e in QTextDocumentLayoutPrivate::layoutBlock (this=0x95aecf0, bl=..., blockPosition=blockPosition@entry=3788, blockFormat=..., layoutStruct=layoutStruct@entry=0xbfd22be0, layoutFrom=993, layoutTo=994, previousBlockFormat=0x0) at text/qtextdocumentlayout.cpp:2590
#13 0xb644da5f in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x95aecf0, it=..., layoutStruct=layoutStruct@entry=0xbfd22be0, layoutFrom=layoutFrom@entry=993, layoutTo=layoutTo@entry=994, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2402
#14 0xb644819b in QTextDocumentLayoutPrivate::layoutCell (this=0x95aecf0, t=0x98b48e8, cell=..., width=width@entry=..., layoutFrom=993, layoutTo=994, td=0x97f8548, absoluteTableY=..., withPageBreaks=withPageBreaks@entry=false) at text/qtextdocumentlayout.cpp:1532
#15 0xb6448dca in QTextDocumentLayoutPrivate::layoutTable (this=this@entry=0x95aecf0, table=0x98b48e8, layoutFrom=layoutFrom@entry=993, layoutTo=layoutTo@entry=994, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:1642
#16 0xb644bdc7 in QTextDocumentLayoutPrivate::layoutFrame (this=0x95aecf0, f=0x98b48e8, layoutFrom=993, layoutTo=994, frameWidth=frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2107
#17 0xb644c8da in QTextDocumentLayoutPrivate::layoutFrame (this=0x95aecf0, f=0x98b48e8, layoutFrom=993, layoutTo=994, parentY=...) at text/qtextdocumentlayout.cpp:2049
#18 0xb644e0ec in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x95aecf0, it=..., layoutStruct=layoutStruct@entry=0xbfd23558, layoutFrom=layoutFrom@entry=993, layoutTo=layoutTo@entry=994, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2311
#19 0xb644c0e4 in QTextDocumentLayoutPrivate::layoutFrame (this=0x95aecf0, f=0x952b090, layoutFrom=993, layoutTo=994, frameWidth=frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2143
#20 0xb644c8da in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x95aecf0, f=f@entry=0x952b090, layoutFrom=layoutFrom@entry=993, layoutTo=layoutTo@entry=994, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2049
#21 0xb644f884 in QTextDocumentLayout::doLayout (this=this@entry=0x94d7368, from=993, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2939
#22 0xb645092c in QTextDocumentLayout::documentChanged (this=0x94d7368, from=993, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2902
#23 0xb642b453 in QTextDocumentPrivate::finishEdit (this=this@entry=0x95ae770) at text/qtextdocument_p.cpp:1220
#24 0xb642b838 in QTextDocumentPrivate::insert (this=0x95ae770, pos=pos@entry=993, strPos=strPos@entry=11736, strLength=strLength@entry=1, format=format@entry=87) at text/qtextdocument_p.cpp:473
#25 0xb6459a4b in QTextCursor::insertText (this=this@entry=0xbfd23958, text=..., _format=...) at text/qtextcursor.cpp:1481
#26 0xb6459bef in QTextCursor::insertImage (this=0xbfd23958, format=...) at text/qtextcursor.cpp:2308
#27 0xb480f502 in KPIMTextEdit::TextEdit::loadImage (this=0x95daba0, image=..., matchName=..., resourceName=...) at ../../kpimtextedit/textedit.cpp:532
#28 0xb50fb337 in MessageComposer::ComposerViewBase::collectImages (this=0x9580560, root=0x9471d48) at ../../messagecomposer/composer/composerviewbase.cpp:1546
#29 0xb50fbccd in MessageComposer::ComposerViewBase::setMessage (this=0x9580560, msg=...) at ../../messagecomposer/composer/composerviewbase.cpp:191
#30 0xb6f223fd in KMComposeWin::setMessage (this=0x9518058, newMsg=..., lastSignState=false, lastEncryptState=false, mayAutoSign=false, allowDecryption=false, isModified=false) at ../../kmail/editor/kmcomposewin.cpp:1581
#31 0xb6e9f0b4 in KMKernel::recoverDeadLetters (this=this@entry=0xbfd23dcc) at ../../kmail/kmkernel.cpp:1195
#32 0x0804a416 in main (argc=3, argv=0xbfd23f04) at ../../kmail/main.cpp:136

Reported using DrKonqi
Comment 1 Richard Johnson 2015-05-15 03:15:31 UTC
This *might* be the same thing happening for me.  When I move messages or folders, it appears to "hang."  Then it crashes with a segmentation fault that leaves me unable to get a stack trace.

latest kmail, plasma 5.3, kubuntu 15.04 intel 64 bit

Behavior is consistent and repeatable.  I can keep kmail up a bit longer with baby-sized message handling.
Comment 2 Richard Johnson 2015-05-15 03:16:54 UTC
perhaps I should have said, "this appears to be happening in plasma too."
Comment 3 Denis Kurz 2017-06-23 19:57:01 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:50:37 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.