Bug 289370 - KMail crashed after trying to forward a message (encrypted)
Summary: KMail crashed after trying to forward a message (encrypted)
Status: RESOLVED DUPLICATE of bug 287856
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 18:30 UTC by micu
Modified: 2011-12-19 22:32 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 micu 2011-12-19 18:30:56 UTC
Application: kmail (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.1.5-6.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

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

KMail crashes when inline forwarding a GnuPG encrypted message (when forwarding the message as an attachment the message stays encrypted)

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), 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 0x7fdb02657840 (LWP 8884))]

Thread 3 (Thread 0x7fdaf37e9700 (LWP 8902)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000037f95973cc in WTF::TCMalloc_PageHeap::scavengerThread (this=0x37f9f90f80) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000037f95974f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003bf2607d90 in start_thread (arg=0x7fdaf37e9700) at pthread_create.c:309
#4  0x0000003bf1aef3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fdaf2ee0700 (LWP 8903)):
#0  0x0000003bf1ae6a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003bf4644f88 in g_main_context_poll (n_fds=1, fds=0x7fdaec0013e0, priority=<optimized out>, timeout=6714, context=0x7fdaec0009a0) at gmain.c:3386
#2  g_main_context_iterate (context=0x7fdaec0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x0000003bf464544c in g_main_context_iteration (context=0x7fdaec0009a0, may_block=1) at gmain.c:3136
#4  0x00000037ec7a79c6 in QEventDispatcherGlib::processEvents (this=0x7fdaec0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000037ec777dc2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000037ec778017 in QEventLoop::exec (this=0x7fdaf2edfd40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000037ec678ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000037ec67bb1b in QThreadPrivate::start (arg=0x209de50) at thread/qthread_unix.cpp:298
#9  0x0000003bf2607d90 in start_thread (arg=0x7fdaf2ee0700) at pthread_create.c:309
#10 0x0000003bf1aef3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fdb02657840 (LWP 8884)):
[KCrash Handler]
#6  0x00000037ed0312db in QTextLine::cursorToX (this=0x7fffe4fe7af0, cursorPos=0x7fffe4fe7b38, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00000037ed00e4fc in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fffe4fe7af0) at ../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0x4c57460, position=<optimized out>) at text/qtextcontrol.cpp:1369
#9  0x00000037ed011a08 in QTextControl::ensureCursorVisible (this=0x4210a90) at text/qtextcontrol.cpp:2953
#10 0x00000037ed0150f3 in QTextControl::setTextCursor (this=0x4210a90, cursor=...) at text/qtextcontrol.cpp:834
#11 0x0000003800c8de37 in Message::KMeditor::replaceSignature (this=0x4ba0770, oldSig=..., newSig=...) at /usr/src/debug/kdepim-4.7.4/messagecomposer/kmeditor.cpp:667
#12 0x0000003800c7d299 in Message::ComposerViewBase::identityChanged (this=0x4bd3ef0, ident=..., oldIdent=...) at /usr/src/debug/kdepim-4.7.4/messagecomposer/composerviewbase.cpp:1179
#13 0x0000003802170335 in KMComposeWin::slotIdentityChanged (this=0x4be1c50, uoid=505583492, initalChange=true) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:2895
#14 0x00000038021711db in KMComposeWin::setMsg (this=0x4be1c50, newMsg=..., mayAutoSign=true, allowDecryption=<optimized out>, isModified=false) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:1529
#15 0x00000038021742fb in KMComposeWin::KMComposeWin (this=0x4be1c50, 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 0x00000038021751a5 in KMComposeWin::create (msg=..., context=KMail::Composer::Forward, identity=505583492, textSelection=..., customTemplate=...) at /usr/src/debug/kdepim-4.7.4/kmail/kmcomposewin.cpp:166
#17 0x0000003802112875 in KMForwardCommand::execute (this=0x49d10f0) at /usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:1021
#18 0x000000380210c8d1 in KMCommand::slotPostTransfer (this=0x49d10f0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:266
#19 0x00000037ec78c911 in QMetaObject::activate (sender=0x49d10f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe4fe9040) at kernel/qobject.cpp:3546
#20 0x000000380210c6de 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 0x0000003802114d09 in KMCommand::slotJobFinished (this=0x49d10f0) at /usr/src/debug/kdepim-4.7.4/kmail/kmcommands.cpp:376
#22 0x00000037ec78c911 in QMetaObject::activate (sender=0x4c03910, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe4fe91f0) at kernel/qobject.cpp:3546
#23 0x00000037eeb41d92 in KJob::result (this=<optimized out>, _t1=0x4c03910) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdecore/kjob.moc:208
#24 0x00000037eeb41dd0 in KJob::emitResult (this=0x4c03910) at /usr/src/debug/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:312
#25 0x00000037ec791b26 in QObject::event (this=0x4c03910, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00000037ecdc96f4 in notify_helper (e=0x4dbc520, receiver=0x4c03910, this=0xdef190) at kernel/qapplication.cpp:4518
#27 QApplicationPrivate::notify_helper (this=0xdef190, receiver=0x4c03910, e=0x4dbc520) at kernel/qapplication.cpp:4490
#28 0x00000037ecdce573 in QApplication::notify (this=0x7fffe4fe9c70, receiver=0x4c03910, e=0x4dbc520) at kernel/qapplication.cpp:4379
#29 0x00000037efa50766 in KApplication::notify (this=0x7fffe4fe9c70, receiver=0x4c03910, event=0x4dbc520) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#30 0x00000037ec778c8c in QCoreApplication::notifyInternal (this=0x7fffe4fe9c70, receiver=0x4c03910, event=0x4dbc520) at kernel/qcoreapplication.cpp:876
#31 0x00000037ec77c71a in sendEvent (event=0x4dbc520, receiver=0x4c03910) at kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xda1210) at kernel/qcoreapplication.cpp:1500
#33 0x00000037ec7a7533 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0xdf2c20) at kernel/qeventdispatcher_glib.cpp:279
#35 0x0000003bf4644a7d in g_main_dispatch (context=0xdf11e0) at gmain.c:2425
#36 g_main_context_dispatch (context=0xdf11e0) at gmain.c:2995
#37 0x0000003bf4645278 in g_main_context_iterate (context=0xdf11e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#38 0x0000003bf464544c in g_main_context_iteration (context=0xdf11e0, may_block=1) at gmain.c:3136
#39 0x00000037ec7a795f in QEventDispatcherGlib::processEvents (this=0xda2af0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00000037ece6c2ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x00000037ec777dc2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00000037ec778017 in QEventLoop::exec (this=0x7fffe4fe9b40, flags=...) at kernel/qeventloop.cpp:204
#43 0x00000037ec77ca15 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x0000000000402d23 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.7.4/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Laurent Montel 2011-12-19 19:04:09 UTC
could you send me in private your encrypted message if possible ?
Comment 2 Christophe Marin 2011-12-19 22:32:44 UTC

*** This bug has been marked as a duplicate of bug 287856 ***