Application: kmail (1.99.0) KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.32-19-generic x86_64 Distribution: Ubuntu lucid (development branch) -- Information about the crash: - Launch Kmail - Click on 'New' button - Fill in the recipient, subject and enter a few words - Click on 'Send' button - The email is sent but instead of being stored in the outbox folder it is stored in my Imap resource - Click on the mail you've just sent (in the folder where it is stored) so that its content is displayed in the Message Viewer - Right click on the text in the Message Viewer and select 'Edit' Kmail crashes (see backtrace below) Trunk, Svn Rev 1125123 The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Aborted [Current thread is 1 (Thread 0x7f58770fc780 (LWP 3933))] Thread 2 (Thread 0x7f585c534710 (LWP 3944)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f5869c1a5e0 in WTF::TCMalloc_PageHeap::scavengerThread() () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4 #2 0x00007f5869c195f6 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4 #3 0x00007f5870d969ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007f58703466dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f58770fc780 (LWP 3933)): [KCrash Handler] #5 0x00007f5870293a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f58702975c0 in *__GI_abort () at abort.c:92 #7 0x00007f5871042c3d in qt_message_output (msgType=QtFatalMsg, buf=0x1d62f28 "ASSERT: \"dynamic_cast<T*>( h )\" in file /d/kde/src/t/kdepimlibs/kmime/kmime_content.h, line 775") at global/qglobal.cpp:2250 #8 0x00007f5871042e3f in qt_message (msgType=QtFatalMsg, msg=0x7f5871204988 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff7218adc0) at global/qglobal.cpp:2296 #9 0x00007f58710436ac in qFatal (msg=0x7f5871204988 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479 #10 0x00007f58710427cf in qt_assert (assertion=0x7f58717f5d46 "dynamic_cast<T*>( h )", file=0x7f58717f5d18 "/d/kde/src/t/kdepimlibs/kmime/kmime_content.h", line=775) at global/qglobal.cpp:2013 #11 0x00007f58717ed71f in KMime::Content::header<KMime::Headers::Organization> (this=0x2a2af10, create=true) at /d/kde/src/t/kdepimlibs/kmime/kmime_content.h:775 #12 0x00007f58717ecc0b in KMime::Message::organization (this=0x2a2af10, create=true) at /d/kde/src/t/kdepimlibs/kmime/kmime_message.cpp:147 #13 0x00007f5875b7c966 in KMComposeWin::slotIdentityChanged (this=0x2a63130, uoid=1097287358, initalChange=true) at /d/kde/src/t/kdepim/kmail/kmcomposewin.cpp:3592 #14 0x00007f5875b6c8a9 in KMComposeWin::setMsg (this=0x2a63130, newMsg=..., mayAutoSign=false, allowDecryption=true, isModified=false) at /d/kde/src/t/kdepim/kmail/kmcomposewin.cpp:1655 #15 0x00007f5875aa7726 in KMResendMessageCommand::execute (this=0x2a3a780) at /d/kde/src/t/kdepim/kmail/kmcommands.cpp:2429 #16 0x00007f5875a94838 in KMCommand::slotPostTransfer (this=0x2a3a780, result=KMCommand::OK) at /d/kde/src/t/kdepim/kmail/kmcommands.cpp:274 #17 0x00007f5875aa8d11 in KMCommand::qt_metacall (this=0x2a3a780, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff7218b9e0) at /d/kde/build/t/kdepim/kmail/kmcommands.moc:93 #18 0x00007f5875aab13f in KMResendMessageCommand::qt_metacall (this=0x2a3a780, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff7218b9e0) at /d/kde/build/t/kdepim/kmail/kmcommands.moc:2097 #19 0x00007f5871183557 in QMetaObject::metacall (object=0x2a3a780, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0x7fff7218b9e0) at kernel/qmetaobject.cpp:237 #20 0x00007f58711999d5 in QMetaObject::activate (sender=0x2a3a780, m=0x7f5875ef2340, local_signal_index=0, argv=0x7fff7218b9e0) at kernel/qobject.cpp:3293 #21 0x00007f5875aa8da4 in KMCommand::messagesTransfered (this=0x2a3a780, _t1=KMCommand::OK) at /d/kde/build/t/kdepim/kmail/kmcommands.moc:108 #22 0x00007f5875a94e70 in KMCommand::slotJobFinished (this=0x2a3a780) at /d/kde/src/t/kdepim/kmail/kmcommands.cpp:388 #23 0x00007f5875aa8d3e in KMCommand::qt_metacall (this=0x2a3a780, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff7218bbe0) at /d/kde/build/t/kdepim/kmail/kmcommands.moc:95 #24 0x00007f5875aab13f in KMResendMessageCommand::qt_metacall (this=0x2a3a780, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff7218bbe0) at /d/kde/build/t/kdepim/kmail/kmcommands.moc:2097 #25 0x00007f5871183557 in QMetaObject::metacall (object=0x2a3a780, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0x7fff7218bbe0) at kernel/qmetaobject.cpp:237 #26 0x00007f58711999d5 in QMetaObject::activate (sender=0x2a4ae00, m=0x7f5876811760, local_signal_index=3, argv=0x7fff7218bbe0) at kernel/qobject.cpp:3293 #27 0x00007f587644849f in KJob::result (this=0x2a4ae00, _t1=0x2a4ae00) at /d/kde/build/t/kdelibs/kdecore/kjob.moc:194 #28 0x00007f587644790d in KJob::emitResult (this=0x2a4ae00) at /d/kde/src/t/kdelibs/kdecore/jobs/kjob.cpp:312 #29 0x00007f587373fa55 in Akonadi::JobPrivate::delayedEmitResult (this=0x2a3ac60) at /d/kde/src/t/kdepimlibs/akonadi/job.cpp:145 #30 0x00007f5873741200 in Akonadi::Job::qt_metacall (this=0x2a4ae00, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff7218be00) at /d/kde/build/t/kdepimlibs/akonadi/job.moc:91 #31 0x00007f58737206b3 in Akonadi::ItemFetchJob::qt_metacall (this=0x2a4ae00, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x7fff7218be00) at /d/kde/build/t/kdepimlibs/akonadi/itemfetchjob.moc:73 #32 0x00007f5871183557 in QMetaObject::metacall (object=0x2a4ae00, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x7fff7218be00) at kernel/qmetaobject.cpp:237 #33 0x00007f58711999d5 in QMetaObject::activate (sender=0x27d3740, m=0x7f58714f33e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293 #34 0x00007f58711a357b in QSingleShotTimer::timeout (this=0x27d3740) at .moc/debug-shared/qtimer.moc:82 #35 0x00007f58711a344b in QSingleShotTimer::timerEvent (this=0x27d3740) at kernel/qtimer.cpp:308 #36 0x00007f58711951a7 in QObject::event (this=0x27d3740, e=0x7fff7218c6c0) at kernel/qobject.cpp:1212 #37 0x00007f58721f97aa in QApplicationPrivate::notify_helper (this=0x1ae1be0, receiver=0x27d3740, e=0x7fff7218c6c0) at kernel/qapplication.cpp:4304 #38 0x00007f58721f6e65 in QApplication::notify (this=0x7fff7218cbc0, receiver=0x27d3740, e=0x7fff7218c6c0) at kernel/qapplication.cpp:3708 #39 0x00007f5876a775cb in KApplication::notify (this=0x7fff7218cbc0, receiver=0x27d3740, event=0x7fff7218c6c0) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302 #40 0x00007f587117b3f8 in QCoreApplication::notifyInternal (this=0x7fff7218cbc0, receiver=0x27d3740, event=0x7fff7218c6c0) at kernel/qcoreapplication.cpp:704 #41 0x00007f58721ead27 in QCoreApplication::sendEvent (receiver=0x27d3740, event=0x7fff7218c6c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #42 0x00007f58711bbc73 in QTimerInfoList::activateTimers (this=0x1ae54c0) at kernel/qeventdispatcher_unix.cpp:603 #43 0x00007f58711b6f3b in timerSourceDispatch (source=0x1ae5460) at kernel/qeventdispatcher_glib.cpp:184 #44 0x00007f5868c418c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #45 0x00007f5868c45748 in ?? () from /lib/libglib-2.0.so.0 #46 0x00007f5868c458fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #47 0x00007f58711b83d3 in QEventDispatcherGlib::processEvents (this=0x1aa1ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #48 0x00007f58722ca4c0 in QGuiEventDispatcherGlib::processEvents (this=0x1aa1ca0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #49 0x00007f58711783f0 in QEventLoop::processEvents (this=0x7fff7218ca50, flags=...) at kernel/qeventloop.cpp:149 #50 0x00007f5871178546 in QEventLoop::exec (this=0x7fff7218ca50, flags=...) at kernel/qeventloop.cpp:201 #51 0x00007f587117bafa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #52 0x00007f58721f69ec in QApplication::exec () at kernel/qapplication.cpp:3583 #53 0x0000000000403923 in main (argc=3, argv=0x7fff7218cd58) at /d/kde/src/t/kdepim/kmail/main.cpp:147 Reported using DrKonqi
I cannot reproduce the crash here. However, the opened composer window is completely empty, with no message in it.
empty composer window fixed in r1125898
I retested this today and I still have the same crash. There is no need to reopen the sent mail. Just right click on the bottom part of Kmail (where the details are displayed) and select edit. The crash happens immediately (the composer dialogue does not have time to be displayed). Trunk, Svn Rev 1125914
I still can't reproduce this. I pushed a commit last night that has changed the wording on the action to "Send Again" rather than "Edit", because under the hood pressing Edit actually made a new Send-Again message. But I cannot manage to get it to crash :-/
I cannot reproduce this crash either :\ However it wasn't using imap folders, just the local folders. Perhaps that makes a difference, however I cannot test that as my imap resources arent really working atm.
can't reproduce by following original directions, sending mail and having it end up in an imap folder (which itself is a bug, but can be forced). closing for now, reopen if the problem persists.
Indeed it is impossible to reproduce that crash at will now (send an email and having it end up in an imap folder)! Since it has not happened for me in a while I am verifying that bug. Trunk, Svn Rev 1147197