Bug 293105 - Kmail2 crashes when "send again" is selected from the "message" menu
Summary: Kmail2 crashes when "send again" is selected from the "message" menu
Status: RESOLVED DUPLICATE of bug 287856
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 00:30 UTC by Claus Wilke
Modified: 2012-02-29 10:20 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 Claus Wilke 2012-02-02 00:30:48 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

kmail crashes when I select "send again" from the message menu. This happens with one imap account and one local mail account. However, it doesn't seem to happen with another imap account. Not sure why. It may depend on the specific message I select to resend rather than the account, but I tried several messages so it's not just one bad message.

Reproducible: Sometimes

Steps to Reproduce:
select message from "sent messages", click on "send again".

Actual Results:  
kmail crashes.

Expected Results:  
kmail opens editor with message.

OS: Linux (x86_64) release 3.1.0-1.2-desktop
Compiler: gcc
Comment 1 Laurent Montel 2012-02-02 07:53:34 UTC
Backtrace ?
Comment 2 Claus Wilke 2012-02-02 22:56:31 UTC
Here you go.

Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2c08f3f780 (LWP 5621))]

Thread 5 (Thread 0x7f2be9a6b700 (LWP 5636)):
#0  0x00007f2c0404ae6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2bfa716c12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f2bfa716c49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f2c04046f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2c0626d63d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2be926a700 (LWP 5637)):
#0  0x00007f2c06264523 in poll () from /lib64/libc.so.6
#1  0x00007f2bfe72ea98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2bfe72ef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2c078ca956 in QEventDispatcherGlib::processEvents (this=0x7f2be40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2c0789a682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2c0789a8d7 in QEventLoop::exec (this=0x7f2be9269e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2c0779b537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2c0779e55b in QThreadPrivate::start (arg=0x14e5160) at thread/qthread_unix.cpp:298
#8  0x00007f2c04046f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2c0626d63d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2ba3588700 (LWP 5638)):
#0  0x00007f2c0404b1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2c0779e9cf in wait (time=30000, this=0x15a6ff0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15a6f68, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2c07791ddf in QThreadPoolThread::run (this=0x15be400) at concurrent/qthreadpool.cpp:141
#4  0x00007f2c0779e55b in QThreadPrivate::start (arg=0x15be400) at thread/qthread_unix.cpp:298
#5  0x00007f2c04046f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2c0626d63d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2ba2aa2700 (LWP 5651)):
#0  0x00007f2c0404b1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2c0779e9cf in wait (time=30000, this=0x6918110) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x6918088, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2c07791ddf in QThreadPoolThread::run (this=0x6918fc0) at concurrent/qthreadpool.cpp:141
#4  0x00007f2c0779e55b in QThreadPrivate::start (arg=0x6918fc0) at thread/qthread_unix.cpp:298
#5  0x00007f2c04046f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2c0626d63d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2c08f3f780 (LWP 5621)):
[KCrash Handler]
#6  0x00007f2c06e89c1c in QTextLine::cursorToX (this=0x7fffa8a2ebb0, cursorPos=0x7fffa8a2ebf8, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00007f2c06e66d8c in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fffa8a2ebb0) at ../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0x6e517a0, position=<optimized out>) at text/qtextcontrol.cpp:1368
#9  0x00007f2c06e6a5a8 in QTextControl::ensureCursorVisible (this=<optimized out>) at text/qtextcontrol.cpp:2950
#10 0x00007f2c06e6e143 in QTextControl::setTextCursor (this=0x6e51780, cursor=...) at text/qtextcontrol.cpp:833
#11 0x00007f2c0210f917 in Message::KMeditor::replaceSignature (this=0x6e4c370, oldSig=..., newSig=...) at /usr/src/debug/kdepim-4.8.0/messagecomposer/kmeditor.cpp:669
#12 0x00007f2c020ffa79 in Message::ComposerViewBase::identityChanged (this=0x4227600, ident=..., oldIdent=...) at /usr/src/debug/kdepim-4.8.0/messagecomposer/composerviewbase.cpp:1143
#13 0x00007f2c07d51fa5 in KMComposeWin::slotIdentityChanged (this=0x6df9a60, uoid=2032930699, initalChange=true) at /usr/src/debug/kdepim-4.8.0/kmail/kmcomposewin.cpp:2951
#14 0x00007f2c07d52e4b in KMComposeWin::setMsg (this=0x6df9a60, newMsg=..., mayAutoSign=false, allowDecryption=<optimized out>, isModified=false) at /usr/src/debug/kdepim-4.8.0/kmail/kmcomposewin.cpp:1531
#15 0x00007f2c07ced8c0 in KMResendMessageCommand::execute (this=<optimized out>) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:1487
#16 0x00007f2c07cefe91 in KMCommand::slotPostTransfer (this=0x6dbf9e0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:268
#17 0x00007f2c078af761 in QMetaObject::activate (sender=0x6dbf9e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa8a2f720) at kernel/qobject.cpp:3556
#18 0x00007f2c07cefc9e in KMCommand::messagesTransfered (this=<optimized out>, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.8.0/build/kmail/kmcommands.moc:117
#19 0x00007f2c07cf4f19 in KMCommand::slotJobFinished (this=0x6dbf9e0) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:378
#20 0x00007f2c078af761 in QMetaObject::activate (sender=0x6be9dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa8a2f8d0) at kernel/qobject.cpp:3556
#21 0x00007f2c0835c412 in KJob::result (this=<optimized out>, _t1=0x6be9dc0) at /usr/src/debug/kdelibs-4.8.0/build/kdecore/kjob.moc:208
#22 0x00007f2c0835c450 in KJob::emitResult (this=0x6be9dc0) at /usr/src/debug/kdelibs-4.8.0/kdecore/jobs/kjob.cpp:318
#23 0x00007f2c078b4926 in QObject::event (this=0x6be9dc0, e=<optimized out>) at kernel/qobject.cpp:1204
#24 0x00007f2c06c20e84 in notify_helper (e=0x606a6d0, receiver=0x6be9dc0, this=0x6615a0) at kernel/qapplication.cpp:4550
#25 QApplicationPrivate::notify_helper (this=0x6615a0, receiver=0x6be9dc0, e=0x606a6d0) at kernel/qapplication.cpp:4522
#26 0x00007f2c06c25d03 in QApplication::notify (this=0x7fffa8a30340, receiver=0x6be9dc0, e=0x606a6d0) at kernel/qapplication.cpp:4411
#27 0x00007f2c08945786 in KApplication::notify (this=0x7fffa8a30340, receiver=0x6be9dc0, event=0x606a6d0) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#28 0x00007f2c0789b89c in QCoreApplication::notifyInternal (this=0x7fffa8a30340, receiver=0x6be9dc0, event=0x606a6d0) at kernel/qcoreapplication.cpp:876
#29 0x00007f2c0789f13a in sendEvent (event=0x606a6d0, receiver=0x6be9dc0) at kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60b740) at kernel/qcoreapplication.cpp:1500
#31 0x00007f2c078ca4c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#33 0x00007f2bfe72e58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f2bfe72ed88 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f2bfe72ef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f2c078ca8ef in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f2c06cc42de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f2c0789a682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2c0789a8d7 in QEventLoop::exec (this=0x7fffa8a30220, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f2c0789f435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.0/kmail/main.cpp:145
Comment 3 Christophe Marin 2012-02-29 10:20:04 UTC

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