Bug 307656 - kmail krash on Reply to All
Summary: kmail krash on Reply to All
Status: RESOLVED DUPLICATE of bug 302613
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 08:48 UTC by kramapa
Modified: 2012-10-03 23:18 UTC (History)
0 users

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 kramapa 2012-10-01 08:48:35 UTC
Application: kmail (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

I simply a Reply to All button and kmail rapidly display a message saying it could could not save the current something and then kmail disappears.

While lauched from a terminal it displays a message saying something related to the thread display (see below).

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Nepomuk::ResourceManager(0x11c0b30), parent's thread is QThread(0xdf8260), current thread is QThread(0x169e3f0)

Funny thing it works witl all the messages except one thread of two mails. It frezzes while hitting Reply to All for one and crashes while hitting Reply to All for the other.

I presume that the person used a previous mail exchenge for sending a new mail and kmail cannot decide if the mail is within the same thread or not.

kind regards,

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2bf9475780 (LWP 2810))]

Thread 3 (Thread 0x7f2bdabd8700 (LWP 2814)):
#0  0x00007f2bf45dc8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2beae55177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f2beae551a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f2bf45d8e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2bf67e92bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2bda2d7700 (LWP 2815)):
#0  0x00007f2bf67e113f in poll () from /lib64/libc.so.6
#1  0x00007f2beef74684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2beef747a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2bf7170956 in QEventDispatcherGlib::processEvents (this=0x7f2bd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2bf714173f in QEventLoop::processEvents (this=this@entry=0x7f2bda2d6e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2bf71419c8 in QEventLoop::exec (this=0x7f2bda2d6e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2bf7045e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2bf7048ddb in QThreadPrivate::start (arg=0x11ddad0) at thread/qthread_unix.cpp:298
#8  0x00007f2bf45d8e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2bf67e92bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2bf9475780 (LWP 2810)):
[KCrash Handler]
#6  0x00007f2bf6739d25 in raise () from /lib64/libc.so.6
#7  0x00007f2bf673b1a8 in abort () from /lib64/libc.so.6
#8  0x00007f2bf6777fbb in __libc_message () from /lib64/libc.so.6
#9  0x00007f2bf677db56 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f2bf78bbca8 in ~QTextCharFormat (this=0x7fffa73c3080, __in_chrg=<optimized out>) at ../../src/gui/text/qtextformat.h:372
#11 QTextControlPrivate::updateCurrentCharFormat (this=this@entry=0x1b51030) at text/qtextcontrol.cpp:310
#12 0x00007f2bf78bbdf9 in QTextControlPrivate::_q_updateCurrentCharFormatAndSelection (this=0x1b51030) at text/qtextcontrol.cpp:603
#13 0x00007f2bf78c276e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:163
#14 QTextControl::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:125
#15 0x00007f2bf7158f5f in QMetaObject::activate (sender=0x1b511a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#16 0x00007f2bf78f9b3a in QTextDocumentPrivate::finishEdit (this=0x1b511c0) at text/qtextdocument_p.cpp:1246
#17 0x00007f2bf791f805 in removeSelectedText (this=<optimized out>) at text/qtextcursor.cpp:1654
#18 QTextCursor::removeSelectedText (this=0x7fffa73c32e0) at text/qtextcursor.cpp:1647
#19 0x00007f2befdf3709 in KPIMTextEdit::TextEdit::loadImage (this=0x1b4bc90, image=..., matchName=..., resourceName=...) at /usr/src/debug/kdepimlibs-4.8.5/kpimtextedit/textedit.cpp:422
#20 0x00007f2bf260d638 in Message::ComposerViewBase::collectImages (this=this@entry=0x1aa1f50, root=<optimized out>) at /usr/src/debug/kdepim-4.8.5/messagecomposer/composerviewbase.cpp:1311
#21 0x00007f2bf2617810 in Message::ComposerViewBase::setMessage (this=0x1aa1f50, msg=...) at /usr/src/debug/kdepim-4.8.5/messagecomposer/composerviewbase.cpp:182
#22 0x00007f2bf82b0305 in KMComposeWin::setMsg (this=this@entry=0x1abe130, newMsg=..., mayAutoSign=mayAutoSign@entry=true, allowDecryption=allowDecryption@entry=false, isModified=isModified@entry=false) at /usr/src/debug/kdepim-4.8.5/kmail/kmcomposewin.cpp:1481
#23 0x00007f2bf82b37c5 in KMComposeWin::KMComposeWin (this=this@entry=0x1abe130, aMsg=..., context=context@entry=KMail::Composer::ReplyToAll, id=id@entry=0, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.5/kmail/kmcomposewin.cpp:453
#24 0x00007f2bf82b4785 in KMComposeWin::create (msg=..., context=KMail::Composer::ReplyToAll, identity=0, textSelection=..., customTemplate=...) at /usr/src/debug/kdepim-4.8.5/kmail/kmcomposewin.cpp:168
#25 0x00007f2bf824f5c9 in KMReplyCommand::execute (this=0x18cb3b0) at /usr/src/debug/kdepim-4.8.5/kmail/kmcommands.cpp:824
#26 0x00007f2bf824e671 in KMCommand::slotPostTransfer (this=0x18cb3b0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.8.5/kmail/kmcommands.cpp:268
#27 0x00007f2bf7158f5f in QMetaObject::activate (sender=0x18cb3b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa73c4100) at kernel/qobject.cpp:3556
#28 0x00007f2bf824e47e in KMCommand::messagesTransfered (this=this@entry=0x18cb3b0, _t1=_t1@entry=KMCommand::OK) at /usr/src/debug/kdepim-4.8.5/build/kmail/kmcommands.moc:117
#29 0x00007f2bf8252cea in KMCommand::slotJobFinished (this=0x18cb3b0) at /usr/src/debug/kdepim-4.8.5/kmail/kmcommands.cpp:378
#30 0x00007f2bf7158f5f in QMetaObject::activate (sender=0x15b3880, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa73c42b0) at kernel/qobject.cpp:3556
#31 0x00007f2bf88ac762 in KJob::result (this=this@entry=0x15b3880, _t1=_t1@entry=0x15b3880) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#32 0x00007f2bf88ac7a0 in KJob::emitResult (this=0x15b3880) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#33 0x00007f2bf71570ae in QObject::event (this=0x15b3880, e=<optimized out>) at kernel/qobject.cpp:1204
#34 0x00007f2bf767874c in QApplicationPrivate::notify_helper (this=this@entry=0xe53390, receiver=receiver@entry=0x15b3880, e=e@entry=0x1a13980) at kernel/qapplication.cpp:4554
#35 0x00007f2bf767cc7a in QApplication::notify (this=0x7fffa73c4f20, receiver=0x15b3880, e=0x1a13980) at kernel/qapplication.cpp:4415
#36 0x00007f2bf8e82006 in KApplication::notify (this=0x7fffa73c4f20, receiver=0x15b3880, event=0x1a13980) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#37 0x00007f2bf714273e in QCoreApplication::notifyInternal (this=0x7fffa73c4f20, receiver=receiver@entry=0x15b3880, event=event@entry=0x1a13980) at kernel/qcoreapplication.cpp:876
#38 0x00007f2bf7146091 in sendEvent (event=0x1a13980, receiver=0x15b3880) at kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xdf81f0) at kernel/qcoreapplication.cpp:1500
#40 0x00007f2bf71707a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0xe45f80) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007f2beef743b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f2beef746e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f2beef747a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f2bf7170936 in QEventDispatcherGlib::processEvents (this=0xdfda70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f2bf77188ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f2bf714173f in QEventLoop::processEvents (this=this@entry=0x7fffa73c4bc0, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f2bf71419c8 in QEventLoop::exec (this=0x7fffa73c4bc0, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f2bf71463a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x0000000000402df9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.5/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-10-03 23:18:47 UTC

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