[kontact] [Bug 313684] New: kmail crashes when forwarding email

Arnaud Mombrial arnaud.mombrial at free.fr
Tue Jan 22 12:45:48 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=313684

            Bug ID: 313684
           Summary: kmail crashes when forwarding email
    Classification: Unclassified
           Product: kontact
           Version: 4.9.5
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: arnaud.mombrial at free.fr

Application: kontact (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.6.11-5.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Select a mail 
Right click
Forward Inline

-> kmail crashes

Select a mail
enter "a" (reply all shortcut)

-> kmail crashes

% kmail -v
Qt: 4.8.4
KDE Development Platform: 4.9.5
KMail: 4.9.5

Linux nocheapad 3.6.11-5.fc17.x86_64 #1 SMP Tue Jan 8 21:40:51 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd5ce7fe880 (LWP 1846))]

Thread 3 (Thread 0x7fd5c31ac700 (LWP 1847)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x0000003f1281677d in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x3f13200980) at wtf/FastMalloc.cpp:2495
#2  0x0000003f12816889 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003392c07d14 in start_thread (arg=0x7fd5c31ac700) at
pthread_create.c:309
#4  0x00000033924f168d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd5c28ab700 (LWP 1848)):
#0  0x00007fff9e9ff827 in clock_gettime ()
#1  0x000000339340410d in __GI_clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x0000003f050d1854 in do_gettime (frac=0x7fd5c28aaa68, sec=0x7fd5c28aaa60)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003f051a68ed in QTimerInfoList::updateCurrentTime
(this=this at entry=0x7fd5bc002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003f051a6c33 in QTimerInfoList::timerWait (this=0x7fd5bc002860,
tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x0000003f051a569c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7fd5c28aab5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003f051a5745 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000339444732f in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#9  0x0000003394447a1b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x0000003394447c14 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#11 0x0000003f051a5fe6 in QEventDispatcherGlib::processEvents
(this=0x7fd5bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x0000003f051766ef in QEventLoop::processEvents
(this=this at entry=0x7fd5c28aad00, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003f05176978 in QEventLoop::exec (this=0x7fd5c28aad00, flags=...) at
kernel/qeventloop.cpp:204
#14 0x0000003f05078940 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#15 0x0000003f0507b91c in QThreadPrivate::start (arg=0x1be3910) at
thread/qthread_unix.cpp:338
#16 0x0000003392c07d14 in start_thread (arg=0x7fd5c28ab700) at
pthread_create.c:309
#17 0x00000033924f168d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd5ce7fe880 (LWP 1846)):
[KCrash Handler]
#6  0x0000003392435935 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00000033924370e8 in __GI_abort () at abort.c:91
#8  0x0000003392474e8b in __libc_message (do_abort=do_abort at entry=2,
fmt=fmt at entry=0x3392578928 "*** glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x000000339247ae16 in malloc_printerr (action=3, str=0x3392576798
"corrupted double-linked list", ptr=<optimized out>) at malloc.c:5027
#10 0x000000339247d6e7 in _int_malloc (av=0x33927b0720, bytes=<optimized out>)
at malloc.c:3811
#11 0x000000339247f4b3 in __GI___libc_malloc (bytes=40) at malloc.c:2928
#12 0x0000003f0507db7d in QByteArray::resize (this=0x7fff9e95af10, size=8) at
tools/qbytearray.cpp:1415
#13 0x0000003f050be222 in toLatin1_helper (data=0x1b2604a, length=8) at
tools/qstring.cpp:3642
#14 0x0000003f050c27a3 in QString::toLatin1 (this=<optimized out>) at
tools/qstring.cpp:3709
#15 0x0000003f1c74a748 in CodecManager::updatePreferredCharsets
(this=0x89fc470) at /usr/src/debug/kdepim-4.9.5/kmail/codecmanager.cpp:86
#16 0x0000003f1c74aa4a in CodecManagerPrivate::CodecManagerPrivate
(this=0x8536d00) at /usr/src/debug/kdepim-4.9.5/kmail/codecmanager.cpp:55
#17 0x0000003f1c74aac0 in operator-> (this=<optimized out>) at
/usr/src/debug/kdepim-4.9.5/kmail/codecmanager.cpp:50
#18 CodecManager::self () at
/usr/src/debug/kdepim-4.9.5/kmail/codecmanager.cpp:73
#19 0x0000003f1c749fba in CodecAction::mimeCharsets (this=0x98c5b30) at
/usr/src/debug/kdepim-4.9.5/kmail/codecaction.cpp:82
#20 0x0000003f1c764f1b in KMComposeWin::applyComposerSetting
(this=this at entry=0x8999dc0, mComposerBase=0x9dc5f60) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcomposewin.cpp:2694
#21 0x0000003f1c76514f in KMComposeWin::autoSaveMessage (this=0x8999dc0,
force=true) at /usr/src/debug/kdepim-4.9.5/kmail/kmcomposewin.cpp:1839
#22 0x0000003f1c6ec5b9 in KMKernel::dumpDeadLetters (this=0x736) at
/usr/src/debug/kdepim-4.9.5/kmail/kmkernel.cpp:1334
#23 0x0000003f1c6ec887 in kmCrashHandler (sigId=<optimized out>) at
/usr/src/debug/kdepim-4.9.5/kmail/kmkernel.cpp:1176
#24 0x0000003f07ca51e8 in KCrash::defaultCrashHandler (sig=6) at
/usr/src/debug/kdelibs-4.9.5/kdeui/util/kcrash.cpp:307
#25 <signal handler called>
#26 0x0000003392435935 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#27 0x00000033924370e8 in __GI_abort () at abort.c:91
#28 0x0000003392474e8b in __libc_message (do_abort=do_abort at entry=2,
fmt=fmt at entry=0x3392578928 "*** glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:198
#29 0x000000339247ae16 in malloc_printerr (action=3, str=0x3392576798
"corrupted double-linked list", ptr=<optimized out>) at malloc.c:5027
#30 0x000000339247d6e7 in _int_malloc (av=0x33927b0720, bytes=<optimized out>)
at malloc.c:3811
#31 0x000000339247f4b3 in __GI___libc_malloc (bytes=32) at malloc.c:2928
#32 0x0000003398c196c6 in FcPatternObjectAddWithBinding (p=0x89fcd40, object=1,
value=..., binding=FcValueBindingWeak, append=1) at fcpat.c:479
#33 0x0000003f06c07365 in getFcPattern (request=..., script=0, fp=0x8a06b10) at
text/qfontdatabase_x11.cpp:1598
#34 loadFc (request=..., script=0, fp=0x8a06b10) at
text/qfontdatabase_x11.cpp:1705
#35 QFontDatabase::load (d=0x8a06b10, script=0) at
text/qfontdatabase_x11.cpp:1977
#36 0x0000003f06be53ce in QFontPrivate::engineForScript (this=0x8a06b10,
script=0) at text/qfont.cpp:305
#37 0x0000003f06c1aa5a in QTextEngine::fontEngine (this=this at entry=0x851f970,
si=..., ascent=ascent at entry=0x89fca2c, descent=descent at entry=0x89fca28,
leading=leading at entry=0x89fca30) at text/qtextengine.cpp:1908
#38 0x0000003f06c1bf38 in QTextEngine::shapeTextWithHarfbuzz
(this=this at entry=0x851f970, item=item at entry=0) at text/qtextengine.cpp:1195
#39 0x0000003f06c1ce92 in QTextEngine::shapeText (this=this at entry=0x851f970,
item=item at entry=0) at text/qtextengine.cpp:935
#40 0x0000003f06c1d1c3 in QTextEngine::shape (this=0x851f970, item=0) at
text/qtextengine.cpp:1450
#41 0x0000003f06c2c6ae in QTextLine::layout_helper (this=0x7fff9e95d440,
maxGlyphs=<optimized out>) at text/qtextlayout.cpp:1752
#42 0x0000003f06c629c8 in QTextDocumentLayoutPrivate::layoutBlock
(this=this at entry=0x8a639d0, bl=..., blockPosition=blockPosition at entry=2544,
blockFormat=..., layoutStruct=layoutStruct at entry=0x7fff9e95dcb0,
layoutFrom=512, layoutFrom at entry=619, layoutTo=layoutTo at entry=619,
previousBlockFormat=previousBlockFormat at entry=0x0) at
text/qtextdocumentlayout.cpp:2614
#43 0x0000003f06c6a4e8 in QTextDocumentLayoutPrivate::layoutFlow
(this=0x8a639d0, it=..., layoutStruct=0x7fff9e95dcb0, layoutFrom=619,
layoutTo=619, width=...) at text/qtextdocumentlayout.cpp:2402
#44 0x0000003f06c66014 in QTextDocumentLayoutPrivate::layoutCell
(this=this at entry=0x8a639d0, t=t at entry=0x8a063c0, cell=..., width=...,
layoutFrom=layoutFrom at entry=619, layoutTo=layoutTo at entry=619,
td=td at entry=0x89de0d0, absoluteTableY=absoluteTableY at entry=...,
withPageBreaks=withPageBreaks at entry=false) at text/qtextdocumentlayout.cpp:1532
#45 0x0000003f06c669c1 in QTextDocumentLayoutPrivate::layoutTable
(this=this at entry=0x8a639d0, table=0x8a063c0, layoutFrom=layoutFrom at entry=619,
layoutTo=layoutTo at entry=619, parentY=..., parentY at entry=...) at
text/qtextdocumentlayout.cpp:1642
#46 0x0000003f06c68d5c in QTextDocumentLayoutPrivate::layoutFrame
(this=this at entry=0x8a639d0, f=f at entry=0x8a063c0,
layoutFrom=layoutFrom at entry=619, layoutTo=layoutTo at entry=619, frameWidth=...,
frameWidth at entry=..., frameHeight=..., parentY=...) at
text/qtextdocumentlayout.cpp:2107
#47 0x0000003f06c6955f in QTextDocumentLayoutPrivate::layoutFrame
(this=this at entry=0x8a639d0, f=f at entry=0x8a063c0,
layoutFrom=layoutFrom at entry=619, layoutTo=layoutTo at entry=619, parentY=...) at
text/qtextdocumentlayout.cpp:2049
#48 0x0000003f06c6aa18 in QTextDocumentLayoutPrivate::layoutFlow
(this=0x8a639d0, it=..., layoutStruct=0x7fff9e95e920, layoutFrom=619,
layoutTo=619, width=...) at text/qtextdocumentlayout.cpp:2311
#49 0x0000003f06c69041 in QTextDocumentLayoutPrivate::layoutFrame
(this=this at entry=0x8a639d0, f=f at entry=0x8bf1870,
layoutFrom=layoutFrom at entry=619, layoutTo=layoutTo at entry=619, frameWidth=...,
frameWidth at entry=..., frameHeight=..., parentY=...) at
text/qtextdocumentlayout.cpp:2143
#50 0x0000003f06c6955f in QTextDocumentLayoutPrivate::layoutFrame
(this=this at entry=0x8a639d0, f=f at entry=0x8bf1870,
layoutFrom=layoutFrom at entry=619, layoutTo=layoutTo at entry=619,
parentY=parentY at entry=...) at text/qtextdocumentlayout.cpp:2049
#51 0x0000003f06c6b8a1 in QTextDocumentLayout::doLayout
(this=this at entry=0x8a639b0, from=from at entry=619, oldLength=oldLength at entry=1,
length=length at entry=0) at text/qtextdocumentlayout.cpp:2939
#52 0x0000003f06c6c829 in QTextDocumentLayout::documentChanged (this=0x8a639b0,
from=619, oldLength=1, length=0) at text/qtextdocumentlayout.cpp:2902
#53 0x0000003f06c4c404 in QTextDocumentPrivate::finishEdit (this=0xdbc2af0) at
text/qtextdocument_p.cpp:1220
#54 0x0000003f06c72285 in removeSelectedText (this=<optimized out>) at
text/qtextcursor.cpp:1662
#55 QTextCursor::removeSelectedText (this=0x7fff9e95ecc0) at
text/qtextcursor.cpp:1655
#56 0x0000003f1580dce8 in KPIMTextEdit::TextEdit::loadImage (this=0x8bf1530,
image=..., matchName=..., resourceName=...) at
/usr/src/debug/kdepimlibs-4.9.5/kpimtextedit/textedit.cpp:434
#57 0x0000003f1b272168 in Message::ComposerViewBase::collectImages
(this=this at entry=0x9dc5f60, root=<optimized out>) at
/usr/src/debug/kdepim-4.9.5/messagecomposer/composerviewbase.cpp:1336
#58 0x0000003f1b2798e9 in Message::ComposerViewBase::setMessage
(this=0x9dc5f60, msg=...) at
/usr/src/debug/kdepim-4.9.5/messagecomposer/composerviewbase.cpp:180
#59 0x0000003f1c767bf7 in KMComposeWin::setMessage (this=this at entry=0x8999dc0,
newMsg=..., lastSignState=lastSignState at entry=false,
lastEncryptState=lastEncryptState at entry=false,
mayAutoSign=mayAutoSign at entry=true,
allowDecryption=allowDecryption at entry=false, isModified=isModified at entry=false)
at /usr/src/debug/kdepim-4.9.5/kmail/kmcomposewin.cpp:1509
#60 0x0000003f1c76b134 in KMComposeWin::KMComposeWin
(this=this at entry=0x8999dc0, aMsg=..., lastSignState=lastSignState at entry=false,
lastEncryptState=lastEncryptState at entry=false,
context=context at entry=KMail::Composer::Forward, id=id at entry=649591222,
textSelection=..., customTemplate=..., __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcomposewin.cpp:458
#61 0x0000003f1c76c0cf in KMComposeWin::create (msg=..., lastSignState=false,
lastEncryptState=false, context=KMail::Composer::Forward, identity=649591222,
textSelection=..., customTemplate=...) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcomposewin.cpp:171
#62 0x0000003f1c70209d in KMForwardCommand::createComposer
(this=this at entry=0x9985960, item=...) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcommands.cpp:906
#63 0x0000003f1c70761a in KMForwardCommand::execute (this=0x9985960) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcommands.cpp:955
#64 0x0000003f1c702aa1 in KMCommand::slotPostTransfer (this=0x9985960,
result=KMCommand::OK) at /usr/src/debug/kdepim-4.9.5/kmail/kmcommands.cpp:268
#65 0x0000003f0518cdbf in QMetaObject::activate (sender=0x9985960, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff9e95fe30) at
kernel/qobject.cpp:3539
#66 0x0000003f1c7028ae in KMCommand::messagesTransfered
(this=this at entry=0x9985960, _t1=_t1 at entry=KMCommand::OK) at
/usr/src/debug/kdepim-4.9.5/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:116
#67 0x0000003f1c706d9c in KMCommand::slotJobFinished (this=0x9985960) at
/usr/src/debug/kdepim-4.9.5/kmail/kmcommands.cpp:378
#68 0x0000003f0518cdbf in QMetaObject::activate (sender=0x8ae5760, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff9e95ffe0) at
kernel/qobject.cpp:3539
#69 0x0000003f06333e92 in KJob::result (this=this at entry=0x8ae5760,
_t1=_t1 at entry=0x8ae5760) at
/usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#70 0x0000003f06333ed0 in KJob::emitResult (this=0x8ae5760) at
/usr/src/debug/kdelibs-4.9.5/kdecore/jobs/kjob.cpp:318
#71 0x0000003f0518c29e in QObject::event (this=0x8ae5760, e=<optimized out>) at
kernel/qobject.cpp:1194
#72 0x0000003f069ca5ac in QApplicationPrivate::notify_helper
(this=this at entry=0x1a65c90, receiver=receiver at entry=0x8ae5760,
e=e at entry=0x9a1ccb0) at kernel/qapplication.cpp:4562
#73 0x0000003f069cea2a in QApplication::notify (this=0x7fff9e960a80,
receiver=0x8ae5760, e=0x9a1ccb0) at kernel/qapplication.cpp:4423
#74 0x0000003f07c468c6 in KApplication::notify (this=0x7fff9e960a80,
receiver=0x8ae5760, event=0x9a1ccb0) at
/usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#75 0x0000003f0517799e in QCoreApplication::notifyInternal
(this=0x7fff9e960a80, receiver=receiver at entry=0x8ae5760,
event=event at entry=0x9a1ccb0) at kernel/qcoreapplication.cpp:946
#76 0x0000003f0517b451 in sendEvent (event=0x9a1ccb0, receiver=0x8ae5760) at
kernel/qcoreapplication.h:231
#77 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1a25600) at kernel/qcoreapplication.cpp:1570
#78 0x0000003f051a5e33 in sendPostedEvents () at kernel/qcoreapplication.h:236
#79 postEventSourceDispatch (s=0x1a66570) at
kernel/qeventdispatcher_glib.cpp:279
#80 0x0000003394447825 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#81 0x0000003394447b58 in ?? () from /usr/lib64/libglib-2.0.so.0
#82 0x0000003394447c14 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#83 0x0000003f051a5fc6 in QEventDispatcherGlib::processEvents (this=0x1a26ee0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#84 0x0000003f06a6a5ee in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#85 0x0000003f051766ef in QEventLoop::processEvents
(this=this at entry=0x7fff9e9608f0, flags=...) at kernel/qeventloop.cpp:149
#86 0x0000003f05176978 in QEventLoop::exec (this=0x7fff9e9608f0, flags=...) at
kernel/qeventloop.cpp:204
#87 0x0000003f0517b768 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#88 0x00000000004033f9 in main (argc=1, argv=0x7fff9e960bc8) at
/usr/src/debug/kdepim-4.9.5/kontact/src/main.cpp:219

Possible duplicates by query: bug 313509, bug 313188, bug 311589, bug 309216,
bug 307561.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list