Bug 331193 - Seg fault on send.
Summary: Seg fault on send.
Status: RESOLVED DUPLICATE of bug 309337
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-16 16:16 UTC by Andrew Glynn
Modified: 2014-02-17 03:34 UTC (History)
1 user (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 Andrew Glynn 2014-02-16 16:16:25 UTC
Application: akonadi_maildispatcher_agent (4.11)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic i686
Distribution: Ubuntu 13.10

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

Thread was attempting to send an email from the outbox.  The password dialog appeared to be related to the wrong account (both are gmail accounts).  On entering the password the seg fault occurred, leaving the email in the outbox.  Attempting to resend using the correct send account failed with the same error.

-- Backtrace:
Application: Mail Dispatcher Agent (akonadi_maildispatcher_agent), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb47c4a40 (LWP 2429))]

Thread 2 (Thread 0xb1f0db40 (LWP 3423)):
#0  0xb77d6424 in __kernel_vsyscall ()
#1  0xb682f4d2 in clock_gettime (clock_id=1, tp=0xb1f0cfc8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb72ef3ec in do_gettime (frac=0xb1f0cfc0, sec=0xb1f0cfb8) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb73d4fd2 in updateCurrentTime (this=0xb1602074) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xb1602074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb73d367b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb1f0d0bc) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb73d370d in timerSourcePrepare (source=0xb1602040, timeout=0xb1f0d0bc) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb5654143 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5654a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5654ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb73d38df in QEventDispatcherGlib::processEvents (this=0xb1600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb73a29f3 in QEventLoop::processEvents (this=this@entry=0xb1f0d228, flags=...) at kernel/qeventloop.cpp:149
#13 0xb73a2d19 in QEventLoop::exec (this=this@entry=0xb1f0d228, flags=...) at kernel/qeventloop.cpp:204
#14 0xb7291e3d in QThread::exec (this=this@entry=0x893c1c8) at thread/qthread.cpp:542
#15 0xb7382e14 in QInotifyFileSystemWatcherEngine::run (this=0x893c1c8) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb729472f in QThreadPrivate::start (arg=0x893c1c8) at thread/qthread_unix.cpp:338
#17 0xb5738d78 in start_thread (arg=0xb1f0db40) at pthread_create.c:311
#18 0xb681c01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb47c4a40 (LWP 2429)):
[KCrash Handler]
#7  0xb6e47507 in MailTransport::TransportJob::transport (this=this@entry=0x89454d0) at ../../mailtransport/transportjob.cpp:81
#8  0xb6e4b1cd in MailTransport::SmtpJob::startSmtpJob (this=this@entry=0x89454d0) at ../../mailtransport/smtpjob.cpp:192
#9  0xb6e4bbef in MailTransport::SmtpJob::doStart (this=0x89454d0) at ../../mailtransport/smtpjob.cpp:134
#10 0xb6e47628 in MailTransport::TransportJob::start (this=0x89454d0) at ../../mailtransport/transportjob.cpp:129
#11 0x0805a26d in SendJob::Private::doTraditionalTransport (this=this@entry=0x8769e20) at ../../../agents/maildispatcher/sendjob.cpp:214
#12 0x0805ae0d in SendJob::Private::doTransport (this=0x8769e20) at ../../../agents/maildispatcher/sendjob.cpp:135
#13 0x0805cac3 in SendJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./sendjob.moc:62
#14 0xb73b577a in QMetaCallEvent::placeMetaCall (this=0x8769960, object=0x878fe00) at kernel/qobject.cpp:524
#15 0xb73bd58b in QObject::event (this=0x878fe00, e=0x8769960) at kernel/qobject.cpp:1194
#16 0xb5886744 in QApplicationPrivate::notify_helper (this=0x8721638, receiver=0x878fe00, e=0x8769960) at kernel/qapplication.cpp:4567
#17 0xb588d223 in QApplication::notify (this=0xbf892954, receiver=receiver@entry=0x878fe00, e=e@entry=0x8769960) at kernel/qapplication.cpp:4353
#18 0xb6bb9ff4 in KApplication::notify (this=0xbf892954, receiver=0x878fe00, event=0x8769960) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb73a3eda in QCoreApplication::notifyInternal (this=0xbf892954, receiver=receiver@entry=0x878fe00, event=event@entry=0x8769960) at kernel/qcoreapplication.cpp:946
#20 0xb73a76ad in sendEvent (event=0x8769960, receiver=0x878fe00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x86ff768) at kernel/qcoreapplication.cpp:1570
#22 0xb73a7bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#23 0xb73d3f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x87219c0) at kernel/qeventdispatcher_glib.cpp:279
#25 0xb565483e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb5654be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb5654ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb73d38bf in QEventDispatcherGlib::processEvents (this=this@entry=0x87005d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0xb593b32e in QGuiEventDispatcherGlib::processEvents (this=0x87005d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb73a29f3 in QEventLoop::processEvents (this=this@entry=0xbf8928b8, flags=...) at kernel/qeventloop.cpp:149
#31 0xb73a2d19 in QEventLoop::exec (this=this@entry=0xbf8928b8, flags=...) at kernel/qeventloop.cpp:204
#32 0xb73a889e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#33 0xb5884974 in QApplication::exec () at kernel/qapplication.cpp:3828
#34 0xb75bfc28 in Akonadi::AgentBase::init (r=r@entry=0x8864648) at ../../akonadi/agentbase.cpp:706
#35 0x08051bde in Akonadi::AgentBase::init<MailDispatcherAgent> (argc=argc@entry=3, argv=argv@entry=0xbf892a34) at /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:407
#36 0x0804ecfb in main (argc=3, argv=0xbf892a34) at ../../../agents/maildispatcher/maildispatcheragent.cpp:377

The reporter indicates this bug may be a duplicate of or related to bug 330847.

Possible duplicates by query: bug 330847.

Reported using DrKonqi
Comment 1 Andrew Glynn 2014-02-16 16:21:21 UTC
Going into account settings I noticed the authentication for gmail's smtp server was set to LOGIN, changing it to PLAIN (with SSL transport) fixed the issue.  The accounts were created by the importer from Thunderbird, which may be where the bug actually is.

(In reply to comment #0)
> Application: akonadi_maildispatcher_agent (4.11)
> KDE Platform Version: 4.11.5
> Qt Version: 4.8.4
> Operating System: Linux 3.11.0-15-generic i686
> Distribution: Ubuntu 13.10
> 
> -- Information about the crash:
> - What I was doing when the application crashed:
> 
> Thread was attempting to send an email from the outbox.  The password dialog
> appeared to be related to the wrong account (both are gmail accounts).  On
> entering the password the seg fault occurred, leaving the email in the
> outbox.  Attempting to resend using the correct send account failed with the
> same error.
> 
> -- Backtrace:
> Application: Mail Dispatcher Agent (akonadi_maildispatcher_agent), signal:
> Segmentation fault
> Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
> [Current thread is 1 (Thread 0xb47c4a40 (LWP 2429))]
> 
> Thread 2 (Thread 0xb1f0db40 (LWP 3423)):
> #0  0xb77d6424 in __kernel_vsyscall ()
> #1  0xb682f4d2 in clock_gettime (clock_id=1, tp=0xb1f0cfc8) at
> ../sysdeps/unix/clock_gettime.c:115
> #2  0xb72ef3ec in do_gettime (frac=0xb1f0cfc0, sec=0xb1f0cfb8) at
> tools/qelapsedtimer_unix.cpp:123
> #3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
> #4  0xb73d4fd2 in updateCurrentTime (this=0xb1602074) at
> kernel/qeventdispatcher_unix.cpp:354
> #5  QTimerInfoList::timerWait (this=0xb1602074, tm=...) at
> kernel/qeventdispatcher_unix.cpp:461
> #6  0xb73d367b in timerSourcePrepareHelper (src=<optimized out>,
> timeout=0xb1f0d0bc) at kernel/qeventdispatcher_glib.cpp:136
> #7  0xb73d370d in timerSourcePrepare (source=0xb1602040, timeout=0xb1f0d0bc)
> at kernel/qeventdispatcher_glib.cpp:169
> #8  0xb5654143 in g_main_context_prepare () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #9  0xb5654a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #10 0xb5654ca8 in g_main_context_iteration () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #11 0xb73d38df in QEventDispatcherGlib::processEvents (this=0xb1600468,
> flags=...) at kernel/qeventdispatcher_glib.cpp:426
> #12 0xb73a29f3 in QEventLoop::processEvents (this=this@entry=0xb1f0d228,
> flags=...) at kernel/qeventloop.cpp:149
> #13 0xb73a2d19 in QEventLoop::exec (this=this@entry=0xb1f0d228, flags=...)
> at kernel/qeventloop.cpp:204
> #14 0xb7291e3d in QThread::exec (this=this@entry=0x893c1c8) at
> thread/qthread.cpp:542
> #15 0xb7382e14 in QInotifyFileSystemWatcherEngine::run (this=0x893c1c8) at
> io/qfilesystemwatcher_inotify.cpp:265
> #16 0xb729472f in QThreadPrivate::start (arg=0x893c1c8) at
> thread/qthread_unix.cpp:338
> #17 0xb5738d78 in start_thread (arg=0xb1f0db40) at pthread_create.c:311
> #18 0xb681c01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
> 
> Thread 1 (Thread 0xb47c4a40 (LWP 2429)):
> [KCrash Handler]
> #7  0xb6e47507 in MailTransport::TransportJob::transport
> (this=this@entry=0x89454d0) at ../../mailtransport/transportjob.cpp:81
> #8  0xb6e4b1cd in MailTransport::SmtpJob::startSmtpJob
> (this=this@entry=0x89454d0) at ../../mailtransport/smtpjob.cpp:192
> #9  0xb6e4bbef in MailTransport::SmtpJob::doStart (this=0x89454d0) at
> ../../mailtransport/smtpjob.cpp:134
> #10 0xb6e47628 in MailTransport::TransportJob::start (this=0x89454d0) at
> ../../mailtransport/transportjob.cpp:129
> #11 0x0805a26d in SendJob::Private::doTraditionalTransport
> (this=this@entry=0x8769e20) at ../../../agents/maildispatcher/sendjob.cpp:214
> #12 0x0805ae0d in SendJob::Private::doTransport (this=0x8769e20) at
> ../../../agents/maildispatcher/sendjob.cpp:135
> #13 0x0805cac3 in SendJob::qt_static_metacall (_o=<optimized out>,
> _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
> ./sendjob.moc:62
> #14 0xb73b577a in QMetaCallEvent::placeMetaCall (this=0x8769960,
> object=0x878fe00) at kernel/qobject.cpp:524
> #15 0xb73bd58b in QObject::event (this=0x878fe00, e=0x8769960) at
> kernel/qobject.cpp:1194
> #16 0xb5886744 in QApplicationPrivate::notify_helper (this=0x8721638,
> receiver=0x878fe00, e=0x8769960) at kernel/qapplication.cpp:4567
> #17 0xb588d223 in QApplication::notify (this=0xbf892954,
> receiver=receiver@entry=0x878fe00, e=e@entry=0x8769960) at
> kernel/qapplication.cpp:4353
> #18 0xb6bb9ff4 in KApplication::notify (this=0xbf892954, receiver=0x878fe00,
> event=0x8769960) at ../../kdeui/kernel/kapplication.cpp:311
> #19 0xb73a3eda in QCoreApplication::notifyInternal (this=0xbf892954,
> receiver=receiver@entry=0x878fe00, event=event@entry=0x8769960) at
> kernel/qcoreapplication.cpp:946
> #20 0xb73a76ad in sendEvent (event=0x8769960, receiver=0x878fe00) at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
> #21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
> event_type=event_type@entry=0, data=0x86ff768) at
> kernel/qcoreapplication.cpp:1570
> #22 0xb73a7bbc in QCoreApplication::sendPostedEvents
> (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
> kernel/qcoreapplication.cpp:1463
> #23 0xb73d3f6e in sendPostedEvents () at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
> #24 postEventSourceDispatch (s=0x87219c0) at
> kernel/qeventdispatcher_glib.cpp:279
> #25 0xb565483e in g_main_context_dispatch () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #26 0xb5654be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #27 0xb5654ca8 in g_main_context_iteration () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #28 0xb73d38bf in QEventDispatcherGlib::processEvents
> (this=this@entry=0x87005d8, flags=...) at
> kernel/qeventdispatcher_glib.cpp:424
> #29 0xb593b32e in QGuiEventDispatcherGlib::processEvents (this=0x87005d8,
> flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #30 0xb73a29f3 in QEventLoop::processEvents (this=this@entry=0xbf8928b8,
> flags=...) at kernel/qeventloop.cpp:149
> #31 0xb73a2d19 in QEventLoop::exec (this=this@entry=0xbf8928b8, flags=...)
> at kernel/qeventloop.cpp:204
> #32 0xb73a889e in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1218
> #33 0xb5884974 in QApplication::exec () at kernel/qapplication.cpp:3828
> #34 0xb75bfc28 in Akonadi::AgentBase::init (r=r@entry=0x8864648) at
> ../../akonadi/agentbase.cpp:706
> #35 0x08051bde in Akonadi::AgentBase::init<MailDispatcherAgent>
> (argc=argc@entry=3, argv=argv@entry=0xbf892a34) at
> /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:407
> #36 0x0804ecfb in main (argc=3, argv=0xbf892a34) at
> ../../../agents/maildispatcher/maildispatcheragent.cpp:377
> 
> The reporter indicates this bug may be a duplicate of or related to bug
> 330847.
> 
> Possible duplicates by query: bug 330847.
> 
> Reported using DrKonqi
Comment 2 Jekyll Wu 2014-02-17 03:34:56 UTC

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