Bug 283364 - Mail Dispatcher Agent (akonadi_maildispatcher_agent) crashes when sending email with kmail
Summary: Mail Dispatcher Agent (akonadi_maildispatcher_agent) crashes when sending ema...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 283619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-05 03:44 UTC by Greg Kincaid
Modified: 2011-10-08 22:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Kincaid 2011-10-05 03:44:36 UTC
Application: akonadi_maildispatcher_agent (4.7)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
I was trying to send email with kmail when Mail Dispatcher Agent (akonadi_maildispatcher_agent) crashed during sending leaving the email in the out box, however the email was sent.

The crash can be reproduced every time.

-- Backtrace:
Application: Mail Dispatcher Agent (akonadi_maildispatcher_agent), signal: Segmentation fault
[KCrash Handler]
#7  QSharedDataPointer (o=..., this=0xbf8f9f3c) at /usr/include/qt4/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#9  0x002fe737 in Akonadi::Entity::operator= (this=0xbf8f9f84, other=...) at ../../akonadi/entity.cpp:116
#10 0x0805d244 in operator= (this=<optimized out>) at /usr/include/akonadi/collection.h:75
#11 SendJob::Private::slotSentMailCollectionFetched (this=0x899e678, job=0xbf8f9f8c) at ../../../agents/maildispatcher/sendjob.cpp:312
#12 0x0805d368 in SendJob::qt_metacall (this=0x8a0b960, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8fa0a8) at ./sendjob.moc:92
#13 0x0080eb7d in metacall (argv=0xbf8fa0a8, idx=33, cl=QMetaObject::InvokeMetaMethod, object=0x8a0b960) at kernel/qmetaobject.cpp:237
#14 QMetaObject::metacall (object=0x8a0b960, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbf8fa0a8) at kernel/qmetaobject.cpp:232
#15 0x0081da6a in QMetaObject::activate (sender=0x8960940, m=0x80694dc, local_signal_index=3, argv=0xbf8fa0a8) at kernel/qobject.cpp:3278
#16 0x00cb0a05 in KJob::result (this=0x8960940, _t1=0x8960940) at ./kjob.moc:194
#17 0x00cb0a58 in KJob::emitResult (this=0x8960940) at ../../kdecore/jobs/kjob.cpp:312
#18 0x003ca25e in Akonadi::JobPrivate::delayedEmitResult (this=0x8967e88) at ../../akonadi/job.cpp:144
#19 0x003caf6f in Akonadi::Job::qt_metacall (this=0x8960940, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x89c0798) at ./job.moc:91
#20 0x0033de22 in Akonadi::CollectionFetchJob::qt_metacall (this=0x8960940, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x89c0798) at ./collectionfetchjob.moc:75
#21 0x0080eb7d in metacall (argv=0x89c0798, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0x8960940) at kernel/qmetaobject.cpp:237
#22 QMetaObject::metacall (object=0x8960940, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x89c0798) at kernel/qmetaobject.cpp:232
#23 0x00819685 in QMetaCallEvent::placeMetaCall (this=0x8a41a70, object=0x8960940) at kernel/qobject.cpp:535
#24 0x00820b52 in QObject::event (this=0x8960940, e=0x8a41a70) at kernel/qobject.cpp:1217
#25 0x06e2fd54 in notify_helper (e=0x8a41a70, receiver=0x8960940, this=0x884d388) at kernel/qapplication.cpp:4486
#26 QApplicationPrivate::notify_helper (this=0x884d388, receiver=0x8960940, e=0x8a41a70) at kernel/qapplication.cpp:4458
#27 0x06e35103 in QApplication::notify (this=0x8a41a70, receiver=0x8960940, e=0x8a41a70) at kernel/qapplication.cpp:3886
#28 0x0104d721 in KApplication::notify (this=0xbf8fa860, receiver=0x8960940, event=0x8a41a70) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x0080819e in QCoreApplication::notifyInternal (this=0xbf8fa860, receiver=0x8960940, event=0x8a41a70) at kernel/qcoreapplication.cpp:787
#30 0x0080bf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8832468) at kernel/qcoreapplication.cpp:1428
#32 0x0080c0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#33 0x008366a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x884ffb0) at kernel/qeventdispatcher_glib.cpp:277
#35 0x017d125f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x017d1990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x017d1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x00836ada in QEventDispatcherGlib::processEvents (this=0x88333a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x06ee7e3a in QGuiEventDispatcherGlib::processEvents (this=0x88333a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x008071dd in QEventLoop::processEvents (this=0xbf8fa7c4, flags=...) at kernel/qeventloop.cpp:149
#41 0x00807421 in QEventLoop::exec (this=0xbf8fa7c4, flags=...) at kernel/qeventloop.cpp:201
#42 0x0080c19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#43 0x06e2d8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#44 0x00308c91 in Akonadi::AgentBase::init (r=0x8918060) at ../../akonadi/agentbase.cpp:554
#45 0x0805210f in Akonadi::AgentBase::init<MailDispatcherAgent> (argc=3, argv=0xbf8fa934) at /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:342
#46 0x0804ee7b in main (argc=3, argv=0xbf8fa934) at ../../../agents/maildispatcher/maildispatcheragent.cpp:376

Possible duplicates by query: bug 266358.

Reported using DrKonqi
Comment 1 David Faure 2011-10-07 19:44:35 UTC
Fixed today in dcf16b6c1b2614d32a46d0deacf53fc1d3adcadb

David Faure KDE/4.7 * v4.7.1-70-gdcf16b6 [kdepim-runtime] /agents/maildispatcher/sendjob.cpp 
Fix crash when the collection list from the collectionfetch job is empty.
Reported (and fix tested) by arkascha on irc.
Comment 2 Christophe Marin 2011-10-08 22:17:46 UTC
*** Bug 283619 has been marked as a duplicate of this bug. ***