[Bug 290651] New: KMail crashes when trying to replay to all

Lukas Redynk mr.erdk at gmail.com
Thu Jan 5 00:19:58 GMT 2012


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

           Summary: KMail crashes when trying to replay to all
           Product: kontact
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mr.erdk at gmail.com


Application: kontact (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.1.6-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

1. Clicked message on the list
2. Hit 'a' on keyboard | clicked on 'Replay to all' in Kmail main window |
clicked on 'Replay to all' in message window
3. KMail crashes

After KMail/Kontact restart: appeared main KMail/Kontact window with additional
window for message writing with message thread (just like I'd clicked reply),
but with no signature and all the text was wrapd at ~5-7th column. When I've
done the same (1-3), without closing reply window, Kontact/KMail crashed and
after restart there was: windows from last 'session' (main + reply) + nest
replay window, also without signature and with strangely wrapped quote text.

In my customized templerates I've put literally %SIGNATURE and checked option
'Automatically add signature' <- maybe this was the problem, because when I've
restored default email templates (for replying) KMail stopped crashing.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fca0854e700 (LWP 13499)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000315df973cc in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x315e990f80) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x000000315df974f9 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x000000313c407d90 in start_thread (arg=0x7fca0854e700) at
pthread_create.c:309
#4  0x000000313bcef48d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fca07c35700 (LWP 13500)):
#0  0x000000313bce6af3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000313e444f88 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000313e44544c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x00007fca16586db6 in QEventDispatcherGlib::processEvents
(this=0x7fca000008c0, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fca16557172 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fca165573c7 in QEventLoop::exec (this=0x7fca07c34d40, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fca16457b27 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fca1645ab6b in QThreadPrivate::start (arg=0xd20af0) at
thread/qthread_unix.cpp:298
#8  0x000000313c407d90 in start_thread (arg=0x7fca07c35700) at
pthread_create.c:309
#9  0x000000313bcef48d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fca14fe1840 (LWP 13498)):
[KCrash Handler]
#6  0x00007fca158dc5cb in QTextLine::cursorToX (this=0x7fffcc36d940,
cursorPos=0x7fffcc36d988, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00007fca158b981c in cursorToX (edge=QTextLine::Leading, cursorPos=0,
this=0x7fffcc36d940) at ../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0x145add0, position=<optimized
out>) at text/qtextcontrol.cpp:1368
#9  0x00007fca158bcd08 in QTextControl::ensureCursorVisible (this=0x128ebc0) at
text/qtextcontrol.cpp:2950
#10 0x00007fca158c03e3 in QTextControl::setTextCursor (this=0x128ebc0,
cursor=...) at text/qtextcontrol.cpp:833
#11 0x00007fca04a53e37 in Message::KMeditor::replaceSignature (this=0x16edc80,
oldSig=..., newSig=...) at
/usr/src/debug/kdepim-4.7.4/messagecomposer/kmeditor.cpp:667
#12 0x00007fca04a43299 in Message::ComposerViewBase::identityChanged
(this=0x213ca50, ident=..., oldIdent=...) at
/usr/src/debug/kdepim-4.7.4/messagecomposer/composerviewbase.cpp:1179
#13 0x000000367a370335 in KMComposeWin::slotIdentityChanged (this=0x1403570,
uoid=678003294, initalChange=true) at
/usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:2895
#14 0x000000367a3711db in KMComposeWin::setMsg (this=0x1403570, newMsg=...,
mayAutoSign=true, allowDecryption=<optimized out>, isModified=false) at
/usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:1529
#15 0x000000367a3742fb in KMComposeWin::KMComposeWin (this=0x1403570, aMsg=...,
context=<optimized out>, id=<optimized out>, textSelection=<optimized out>,
customTemplate=<optimized out>, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at
/usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:444
#16 0x000000367a3751a5 in KMComposeWin::create (msg=...,
context=KMail::Composer::Reply, identity=0, textSelection=...,
customTemplate=...) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:166
#17 0x000000367a30dc84 in KMReplyAuthorCommand::execute (this=0x28b20b0) at
/usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:923
#18 0x000000367a30c8d1 in KMCommand::slotPostTransfer (this=0x28b20b0,
result=KMCommand::OK) at /usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:266
#19 0x00007fca1656bcd1 in QMetaObject::activate (sender=0x28b20b0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffcc36eb40) at
kernel/qobject.cpp:3547
#20 0x000000367a30c6de in KMCommand::messagesTransfered (this=<optimized out>,
_t1=KMCommand::OK) at
/usr/src/debug/kdepim-4.7.4/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:117
#21 0x000000367a314d09 in KMCommand::slotJobFinished (this=0x28b20b0) at
/usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:376
#22 0x00007fca1656bcd1 in QMetaObject::activate (sender=0x14d1480, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffcc36ecf0) at
kernel/qobject.cpp:3547
#23 0x0000003147b41d92 in KJob::result (this=<optimized out>, _t1=0x14d1480) at
/usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdecore/kjob.moc:208
#24 0x0000003147b41dd0 in KJob::emitResult (this=0x14d1480) at
/usr/src/debug/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:312
#25 0x00007fca16570f06 in QObject::event (this=0x14d1480, e=<optimized out>) at
kernel/qobject.cpp:1195
#26 0x00007fca15674994 in notify_helper (e=0x12b4e90, receiver=0x14d1480,
this=0xbed860) at kernel/qapplication.cpp:4550
#27 QApplicationPrivate::notify_helper (this=0xbed860, receiver=0x14d1480,
e=0x12b4e90) at kernel/qapplication.cpp:4522
#28 0x00007fca15679813 in QApplication::notify (this=0x7fffcc36f6b0,
receiver=0x14d1480, e=0x12b4e90) at kernel/qapplication.cpp:4411
#29 0x000000314a850766 in KApplication::notify (this=0x7fffcc36f6b0,
receiver=0x14d1480, event=0x12b4e90) at
/usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#30 0x00007fca1655803c in QCoreApplication::notifyInternal
(this=0x7fffcc36f6b0, receiver=0x14d1480, event=0x12b4e90) at
kernel/qcoreapplication.cpp:876
#31 0x00007fca1655baca in sendEvent (event=0x12b4e90, receiver=0x14d1480) at
kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0xbb8070) at kernel/qcoreapplication.cpp:1500
#33 0x00007fca16586923 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0xbf35e0) at
kernel/qeventdispatcher_glib.cpp:279
#35 0x000000313e444a7d in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#36 0x000000313e445278 in ?? () from /lib64/libglib-2.0.so.0
#37 0x000000313e44544c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#38 0x00007fca16586d4f in QEventDispatcherGlib::processEvents (this=0xbb9530,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007fca1571761e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:207
#40 0x00007fca16557172 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fca165573c7 in QEventLoop::exec (this=0x7fffcc36f640, flags=...) at
kernel/qeventloop.cpp:204
#42 0x00007fca1655bdc5 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#43 0x00000000004037b9 in main (argc=1, argv=0x7fffcc36fcd8) at
/usr/src/debug/kdepim-4.7.4/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 287856.

Possible duplicates by query: bug 289037, bug 288466, bug 231588.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list