Bug 172166 - Kmail Crash When sending
Summary: Kmail Crash When sending
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.1
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 22:46 UTC by Warren
Modified: 2012-08-19 11:09 UTC (History)
2 users (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 Warren 2008-10-04 22:46:35 UTC
Version:           1.10.1 (using KDE 4.1.2)
Compiler:          QT4.4.2 
OS:                FreeBSD
Installed from:    FreeBSD Ports

This has only started to occur since updating to KDE4.1.2 and happens each time i try to send an email out

Application: KMail (kmail), signal SIGSEGV
[New Thread 0x602180 (LWP 100068)]
[Switching to Thread 0x602180 (LWP 100068)]
[KCrash handler]
#6  0x00000008008528a0 in KMFolder::getMsg ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#7  0x00000008008a0596 in KMSender::doSendMsg ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#8  0x00000008008a3959 in KMSender::slotResult ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#9  0x00000008008a3e9e in KMSender::qt_metacall ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#10 0x000000080558e86b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#11 0x0000000804841592 in KJob::result ()
   from /usr/local/kde4/lib/libkdecore.so.7
#12 0x0000000804841dc7 in KJob::emitResult ()
   from /usr/local/kde4/lib/libkdecore.so.7
#13 0x00000008026cb81c in MailTransport::SmtpJob::slaveError (this=0x6fbd00, 
    slave=0x10d0ba0, errorCode=143, errorMsg=@0x7fffffffdaa0)
    at /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.1.1/mailtransport/smtpjob.cpp:326
#14 0x00000008026cb9d1 in MailTransport::SmtpJob::qt_metacall (this=0x6fbd00, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffd8e0)
    at smtpjob.moc:71
#15 0x000000080558e86b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#16 0x0000000803d69a15 in KIO::Scheduler::slaveError ()
   from /usr/local/kde4/lib/libkio.so.7
#17 0x0000000803d69b4d in KIO::SchedulerPrivate::slotSlaveError ()
   from /usr/local/kde4/lib/libkio.so.7
#18 0x0000000803d705ba in KIO::Scheduler::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#19 0x000000080558e86b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#20 0x0000000803d85e86 in KIO::SlaveInterface::error ()
   from /usr/local/kde4/lib/libkio.so.7
#21 0x0000000803d7507b in KIO::Slave::gotInput ()
   from /usr/local/kde4/lib/libkio.so.7
#22 0x0000000803d75196 in KIO::Slave::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#23 0x000000080558e86b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#24 0x0000000803c7fee5 in KIO::Connection::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#25 0x000000080558d6b0 in QObject::event ()
   from /usr/local/lib/qt4/libQtCore.so.4
#26 0x000000080730c12f in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/qt4/libQtGui.so.4
#27 0x0000000807312b44 in QApplication::notify ()
   from /usr/local/lib/qt4/libQtGui.so.4
#28 0x00000008042000df in KApplication::notify ()
   from /usr/local/kde4/lib/libkdeui.so.7
#29 0x000000080557efb4 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/qt4/libQtCore.so.4
#30 0x0000000805580205 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#31 0x00000008055a3113 in postEventSourceDispatch ()
   from /usr/local/lib/qt4/libQtCore.so.4
#32 0x000000080975b093 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#33 0x000000080975e705 in g_main_context_check ()
   from /usr/local/lib/libglib-2.0.so.0
#34 0x000000080975ed1b in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#35 0x00000008055a35de in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#36 0x000000080738830f in QGuiEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtGui.so.4
#37 0x000000080557e2bd in QEventLoop::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#38 0x000000080557e427 in QEventLoop::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#39 0x0000000805580491 in QCoreApplication::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#40 0x0000000000402f2a in main ()
Comment 1 Warren 2008-10-05 01:32:12 UTC
Reading through the backtrace, i believe i see the error being with kdepimlibs being 4.1.1 not 4.1.2

The problem if it is that, is trying to get kdepimlibs to patch to 4.1.2

/bin/mkdir -p /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.1.2/build
===>  Patching for kdepimlibs-4.1.2
===>  Applying FreeBSD patches for kdepimlibs-4.1.2
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to ../kcal/incidenceformatter.cpp.rej
=> Patch patch-kcal_incidenceformatter.cpp failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/deskutils/kdepimlibs4.
Comment 2 Warren 2008-10-15 13:51:32 UTC
Ok i sort of feel im posting for nothing, but anyway... Kmail is still crashing when trying to send and also errors with below when trying to retrieve messages.

The process for the pop3://pop3.server.name protocol died unexpectedly
Comment 3 Warren 2008-10-16 10:01:20 UTC
New Backtrace information....

Application: KMail (kmail), signal SIGSEGV
[New Thread 0x602180 (LWP 100160)]
[Switching to Thread 0x602180 (LWP 100160)]
[KCrash handler]
#6  0x000000080720abd4 in QDrag::target ()
   from /usr/local/lib/qt4/libQtGui.so.4
#7  0x0000000803385b3b in Q3DragObject::drag ()
   from /usr/local/lib/qt4/libQt3Support.so.4
#8  0x0000000803382c5c in Q3DragObject::drag ()
   from /usr/local/lib/qt4/libQt3Support.so.4
#9  0x0000000806cb4b67 in K3ListView::startDrag ()
   from /usr/local/kde4/lib/libkde3support.so.5
#10 0x0000000806cb5a0e in K3ListView::contentsMouseMoveEvent ()
   from /usr/local/kde4/lib/libkde3support.so.5
#11 0x0000000803405719 in Q3ScrollView::viewportMouseMoveEvent ()
   from /usr/local/lib/qt4/libQt3Support.so.4
#12 0x0000000803406db6 in Q3ScrollView::eventFilter ()
   from /usr/local/lib/qt4/libQt3Support.so.4
#13 0x00000008033bb75e in Q3ListView::eventFilter ()
   from /usr/local/lib/qt4/libQt3Support.so.4
#14 0x00000008007e24b1 in KMFolderTree::eventFilter ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#15 0x00000008055b13cf in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/local/lib/qt4/libQtCore.so.4
#16 0x00000008071fb100 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/qt4/libQtGui.so.4
#17 0x0000000807201d3e in QApplication::notify ()
   from /usr/local/lib/qt4/libQtGui.so.4
#18 0x00000008043480df in KApplication::notify ()
   from /usr/local/kde4/lib/libkdeui.so.7
#19 0x00000008055b0fb4 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/qt4/libQtCore.so.4
#20 0x00000008072017c3 in QApplicationPrivate::sendMouseEvent ()
   from /usr/local/lib/qt4/libQtGui.so.4
#21 0x0000000807255ddf in QETWidget::translateMouseEvent ()
   from /usr/local/lib/qt4/libQtGui.so.4
#22 0x0000000807254bdb in QApplication::x11ProcessEvent ()
   from /usr/local/lib/qt4/libQtGui.so.4
#23 0x0000000807277633 in x11EventSourceDispatch ()
   from /usr/local/lib/qt4/libQtGui.so.4
#24 0x0000000809651093 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#25 0x0000000809654705 in g_main_context_check ()
   from /usr/local/lib/libglib-2.0.so.0
#26 0x0000000809654d1b in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#27 0x00000008055d55de in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#28 0x000000080727730f in QGuiEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtGui.so.4
#29 0x00000008055b02bd in QEventLoop::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#30 0x00000008055b0427 in QEventLoop::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#31 0x00000008055b2491 in QCoreApplication::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#32 0x0000000000402f1a in main ()
Comment 4 Oliver Putz 2008-10-21 21:00:56 UTC
Warren, your second backtrace seems to be unrelated to your first backtrace. It rather looks like the backtrace in bug #166003
Comment 5 Warren 2008-10-21 23:08:29 UTC
The 1st backtrace i believe part of the problem was with the kdepimlibs, which i eventually managed to solve an get installed.

Sometime after that kmail stopped loading due to some other library files, but i eventually managed to get that resolved and finally got kmail at least loading.

Now as per above kmail will neither send nor recieve mail, an the last backtrace is the result from trying to send an email.

i'll look at th eother bug u mentioned though.
Comment 6 Warren 2008-10-21 23:12:25 UTC
I just tryed to send an Email and this is the backtrace it gave.

Application: KMail (kmail), signal SIGSEGV
[New Thread 0x602180 (LWP 100117)]
[Switching to Thread 0x602180 (LWP 100117)]
[KCrash handler]
#6  0x0000000800852890 in KMFolder::getMsg ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#7  0x00000008008a0586 in KMSender::doSendMsg ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#8  0x00000008008a3949 in KMSender::slotResult ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#9  0x00000008008a3e8e in KMSender::qt_metacall ()
   from /usr/local/kde4/lib/libkmailprivate.so.5
#10 0x00000008055c086b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#11 0x0000000804873592 in KJob::result ()
   from /usr/local/kde4/lib/libkdecore.so.7
#12 0x0000000804873dc7 in KJob::emitResult ()
   from /usr/local/kde4/lib/libkdecore.so.7
#13 0x00000008026ec28a in MailTransport::SmtpJob::slaveError ()
   from /usr/local/kde4/lib/libmailtransport.so.5
#14 0x00000008026ec43f in MailTransport::SmtpJob::qt_metacall ()
   from /usr/local/kde4/lib/libmailtransport.so.5
#15 0x00000008055c086b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#16 0x0000000803eb1a15 in KIO::Scheduler::slaveError ()
   from /usr/local/kde4/lib/libkio.so.7
#17 0x0000000803eb1b4d in KIO::SchedulerPrivate::slotSlaveError ()
   from /usr/local/kde4/lib/libkio.so.7
#18 0x0000000803eb85ba in KIO::Scheduler::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#19 0x00000008055c086b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#20 0x0000000803ecde86 in KIO::SlaveInterface::error ()
   from /usr/local/kde4/lib/libkio.so.7
#21 0x0000000803ebd07b in KIO::Slave::gotInput ()
   from /usr/local/kde4/lib/libkio.so.7
#22 0x0000000803ebd196 in KIO::Slave::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#23 0x00000008055c086b in QMetaObject::activate ()
   from /usr/local/lib/qt4/libQtCore.so.4
#24 0x0000000803dc7ee5 in KIO::Connection::qt_metacall ()
   from /usr/local/kde4/lib/libkio.so.7
#25 0x00000008055bf6b0 in QObject::event ()
   from /usr/local/lib/qt4/libQtCore.so.4
#26 0x00000008071fb12f in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/qt4/libQtGui.so.4
#27 0x0000000807201b44 in QApplication::notify ()
   from /usr/local/lib/qt4/libQtGui.so.4
#28 0x00000008043480df in KApplication::notify ()
   from /usr/local/kde4/lib/libkdeui.so.7
#29 0x00000008055b0fb4 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/qt4/libQtCore.so.4
#30 0x00000008055b2205 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#31 0x00000008055d5113 in postEventSourceDispatch ()
   from /usr/local/lib/qt4/libQtCore.so.4
#32 0x0000000809651093 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#33 0x0000000809654705 in g_main_context_check ()
   from /usr/local/lib/libglib-2.0.so.0
#34 0x0000000809654d1b in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#35 0x00000008055d55de in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#36 0x000000080727730f in QGuiEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt4/libQtGui.so.4
#37 0x00000008055b02bd in QEventLoop::processEvents ()
   from /usr/local/lib/qt4/libQtCore.so.4
#38 0x00000008055b0427 in QEventLoop::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#39 0x00000008055b2491 in QCoreApplication::exec ()
   from /usr/local/lib/qt4/libQtCore.so.4
#40 0x0000000000402f1a in main ()
Comment 7 Björn Ruberg 2010-01-29 00:25:45 UTC
Do you still have this crash?
Comment 8 Myriam Schweingruber 2012-08-19 11:09:03 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding