Bug 199868 - Kmail Seg fault on sending message
Summary: Kmail Seg fault on sending message
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 203823 209489 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-12 14:16 UTC by mps
Modified: 2012-08-19 11:01 UTC (History)
3 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 mps 2009-07-12 14:16:04 UTC
Application that crashed: kmail
Version of the application: 1.12.0
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.29.5-186.fc11.i586 i686
Distribution: "Fedora release 11 (Leonidas)"

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7f77780 (LWP 4392))]

Thread 2 (Thread 0xb21a5b70 (LWP 4652)):
#0  0x001cb422 in __kernel_vsyscall ()
#1  0x00caf2d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0x02ead0cf in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x02ea28ce in QThreadPoolThread::run (this=0x97c6e90) at concurrent/qthreadpool.cpp:140
#5  0x02eac112 in QThreadPrivate::start (arg=0x97c6e90) at thread/qthread_unix.cpp:188
#6  0x00caa935 in start_thread (arg=0xb21a5b70) at pthread_create.c:297
#7  0x00fba82e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7f77780 (LWP 4392)):
[KCrash Handler]
#6  0x00255f45 in KMMessage::updateAttachmentState(DwBodyPart*) () from /usr/lib/libkmailprivate.so.4
#7  0x003a63e2 in KMSender::doSendMsg() () from /usr/lib/libkmailprivate.so.4
#8  0x003a9393 in KMSender::slotResult(KJob*) () from /usr/lib/libkmailprivate.so.4
#9  0x003a9703 in KMSender::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#10 0x02fb22b3 in QMetaObject::activate (sender=0xa4099d0, from_signal_index=7, to_signal_index=7, argv=0xbfd9be48) at kernel/qobject.cpp:3113
#11 0x02fb2f12 in QMetaObject::activate (sender=0xa4099d0, m=0x7cc0468, local_signal_index=3, argv=0xbfd9be48) at kernel/qobject.cpp:3187
#12 0x07b2cfe3 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#13 0x07b2d469 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#14 0x079d75fc in MailTransport::SmtpJob::slotResult (this=0xa4099d0, job=0xa6332b8) at /usr/src/debug/kdepimlibs-4.2.95/mailtransport/smtpjob.cpp:299
#15 0x079d5b5c in MailTransport::SmtpJob::qt_metacall (this=0xa4099d0, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbfd9bfc8)
    at /usr/src/debug/kdepimlibs-4.2.95/i586-redhat-linux-gnu/mailtransport/smtpjob.moc:71
#16 0x02fb22b3 in QMetaObject::activate (sender=0xa6332b8, from_signal_index=7, to_signal_index=7, argv=0xbfd9bfc8) at kernel/qobject.cpp:3113
#17 0x02fb2f12 in QMetaObject::activate (sender=0xa6332b8, m=0x7cc0468, local_signal_index=3, argv=0xbfd9bfc8) at kernel/qobject.cpp:3187
#18 0x07b2cfe3 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#19 0x07b2d469 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#20 0x033d62a0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#21 0x033d67aa in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#22 0x033d44d3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#23 0x02fb22b3 in QMetaObject::activate (sender=0x9dbbd88, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3113
#24 0x02fb2f12 in QMetaObject::activate (sender=0x9dbbd88, m=0x35b8b64, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3187
#25 0x034a1a37 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#26 0x034a588d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#27 0x034a1ef3 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#28 0x03493f9a in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#29 0x034963c3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#30 0x02fb22b3 in QMetaObject::activate (sender=0xa49f420, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#31 0x02fb2f12 in QMetaObject::activate (sender=0xa49f420, m=0x35b54a0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#32 0x0339d8c7 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#33 0x0339f68e in ?? () from /usr/lib/libkio.so.5
#34 0x0339f7be in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#35 0x02faaf5b in QMetaCallEvent::placeMetaCall (this=0xa486bc0, object=0xa49f420) at kernel/qobject.cpp:477
#36 0x02fac64e in QObject::event (this=0xa49f420, e=0xa486bc0) at kernel/qobject.cpp:1111
#37 0x025e53b4 in QApplicationPrivate::notify_helper (this=0x94018d0, receiver=0xa49f420, e=0xa486bc0) at kernel/qapplication.cpp:4056
#38 0x025eca3e in QApplication::notify (this=0xbfd9ce30, receiver=0xa49f420, e=0xa486bc0) at kernel/qapplication.cpp:4021
#39 0x03f4f90a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#40 0x02f9c58b in QCoreApplication::notifyInternal (this=0xbfd9ce30, receiver=0xa49f420, event=0xa486bc0) at kernel/qcoreapplication.cpp:610
#41 0x02f9d1a8 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#42 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#43 0x02f9d37d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#44 0x02fc73ef in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#45 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#46 0x078b9cf8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x078bd370 in ?? () from /lib/libglib-2.0.so.0
#48 0x078bd4a3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x02fc701c in QEventDispatcherGlib::processEvents (this=0x93db0d0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#50 0x02684445 in QGuiEventDispatcherGlib::processEvents (this=0x93db0d0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x02f9ab79 in QEventLoop::processEvents (this=0xbfd9cd14, flags={i = 36}) at kernel/qeventloop.cpp:149
#52 0x02f9afca in QEventLoop::exec (this=0xbfd9cd14, flags={i = 0}) at kernel/qeventloop.cpp:201
#53 0x02f9d43f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#54 0x025e5237 in QApplication::exec () at kernel/qapplication.cpp:3525
#55 0x0804a572 in main (argc=1, argv=0xbfd9cfe4) at /usr/src/debug/kdepim-4.2.95/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-13 20:26:47 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You need to install the "kdepim4-debuginfo" package. Thanks
Comment 2 mps 2009-07-14 09:19:12 UTC
Thought I had the debuginfo's installed, but turns out that apart from kdepim-debuginfo, there is a kdepim-runtime-debuginfo on fedora. Have it installed now. I can't reproduce the crash at will, but if it happens again will let you know.

Thanks
M.
Comment 3 Dario Andres 2009-07-14 14:27:56 UTC
Thanks
Comment 4 Christophe Marin 2009-07-18 17:49:17 UTC
Closing the report for the moment, feel free to reopen.
Comment 5 Christophe Marin 2009-08-15 23:12:59 UTC
*** Bug 203823 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-10-05 13:57:19 UTC
*** Bug 209489 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-10-05 13:57:49 UTC
bt from 209489:

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  DwEntity::Body (this=0x1d3) at ../../mimelib/entity.cpp:248
#6  0x00007f0c342a1fc0 in KMMessage::getFirstDwBodyPart (this=<value optimized
out>) at ../../kmail/kmmessage.cpp:2460
#7  0x00007f0c342ac5d5 in KMMessage::updateAttachmentState (this=0x2b2bbe0,
part=0x0) at ../../kmail/kmmessage.cpp:3243
#8  0x00007f0c343d3928 in KMSender::doSendMsg (this=0x214f0f0) at
../../kmail/kmsender.cpp:348
#9  0x00007f0c343d5dbb in KMSender::slotResult (this=0x214f0f0, job=0x2ef3f30)
at ../../kmail/kmsender.cpp:725
#10 0x00007f0c343d5fe4 in KMSender::qt_metacall (this=0x214f0f0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3d83c830) at
./kmsender.moc:73
#11 0x00007f0c33b88682 in QMetaObject::activate (sender=0x2ef3f30,
from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1) at
kernel/qobject.cpp:3112
#12 0x00007f0c34c77df2 in KJob::result (this=0x1d3, _t1=0x2ef3f30) at
./kjob.moc:188
#13 0x00007f0c34c7816f in KJob::emitResult (this=0x2ef3f30) at
../../kdecore/jobs/kjob.cpp:304
#14 0x00007f0c2ec61226 in MailTransport::SmtpJob::qt_metacall (this=0x2ef3f30,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3d83c970) at ./smtpjob.moc:71
#15 0x00007f0c33b88682 in QMetaObject::activate (sender=0x292ae70,
from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1) at
kernel/qobject.cpp:3112
#16 0x00007f0c34c77df2 in KJob::result (this=0x1d3, _t1=0x292ae70) at
./kjob.moc:188
#17 0x00007f0c34c7816f in KJob::emitResult (this=0x292ae70) at
../../kdecore/jobs/kjob.cpp:304
#18 0x00007f0c2d357af0 in KIO::SimpleJob::slotFinished (this=0x292ae70) at
../../kio/kio/job.cpp:477
#19 0x00007f0c2d357fb3 in KIO::TransferJob::slotFinished (this=0x292ae70) at
../../kio/kio/job.cpp:948
#20 0x00007f0c2d352ccd in KIO::TransferJob::qt_metacall (this=0x292ae70,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3d83cd70)
at ./jobclasses.moc:343
#21 0x00007f0c33b88682 in QMetaObject::activate (sender=0x305e5f0,
from_signal_index=<value optimized out>, to_signal_index=8, argv=0x1) at
kernel/qobject.cpp:3112
#22 0x00007f0c2d414d51 in KIO::SlaveInterface::dispatch (this=0x305e5f0,
_cmd=104, rawdata=<value optimized out>) at
../../kio/kio/slaveinterface.cpp:175
#23 0x00007f0c2d4117e2 in KIO::SlaveInterface::dispatch (this=0x305e5f0) at
../../kio/kio/slaveinterface.cpp:91
#24 0x00007f0c2d40424e in KIO::Slave::gotInput (this=0x305e5f0) at
../../kio/kio/slave.cpp:322
#25 0x00007f0c2d406578 in KIO::Slave::qt_metacall (this=0x305e5f0,
_c=QMetaObject::InvokeMetaMethod, _id=27051368, _a=0x7fff3d83d190) at
./slave.moc:76
#26 0x00007f0c33b88682 in QMetaObject::activate (sender=0x27683a0,
from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at
kernel/qobject.cpp:3112
#27 0x00007f0c2d3209c1 in KIO::ConnectionPrivate::dequeue (this=0x305be00) at
../../kio/kio/connection.cpp:82
#28 0x00007f0c2d320e1a in KIO::Connection::qt_metacall (this=0x27683a0,
_c=QMetaObject::InvokeMetaMethod, _id=27051368, _a=0x2156430) at
./connection.moc:73
#29 0x00007f0c33b82f68 in QObject::event (this=0x27683a0, e=0x3064a10) at
kernel/qobject.cpp:1110
#30 0x00007f0c32feb80d in QApplicationPrivate::notify_helper (this=0x1a00360,
receiver=0x27683a0, e=0x3064a10) at kernel/qapplication.cpp:4056
#31 0x00007f0c32ff386a in QApplication::notify (this=0x7fff3d83dd00,
receiver=0x27683a0, e=0x3064a10) at kernel/qapplication.cpp:4021
#32 0x00007f0c3522843b in KApplication::notify (this=0x7fff3d83dd00,
receiver=0x27683a0, event=0x3064a10) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007f0c33b7351c in QCoreApplication::notifyInternal
(this=0x7fff3d83dd00, receiver=0x27683a0, event=0x3064a10) at
kernel/qcoreapplication.cpp:610
#34 0x00007f0c33b74164 in QCoreApplication::sendEvent (receiver=0x0,
event_type=0, data=0x19cc510) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x19cc510) at kernel/qcoreapplication.cpp:1247
#36 0x00007f0c33b9bf73 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:210
#38 0x00007f0c2af0c86a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#39 0x00007f0c2af0feb8 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007f0c2af1006c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#41 0x00007f0c33b9bbff in QEventDispatcherGlib::processEvents (this=0x19cc170,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#42 0x00007f0c3308264f in QGuiEventDispatcherGlib::processEvents (this=0x1d3,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#43 0x00007f0c33b71de2 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f0c33b721b4 in QEventLoop::exec (this=0x7fff3d83db50, flags=...) at
kernel/qeventloop.cpp:201
#45 0x00007f0c33b74424 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#46 0x0000000000402fab in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../kmail/main.cpp:146
Comment 8 Myriam Schweingruber 2012-08-19 11:01:52 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