Bug 298426 - KMail crash while sending message with smtp authentication
Summary: KMail crash while sending message with smtp authentication
Status: RESOLVED UNMAINTAINED
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:
: 305900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-19 16:43 UTC by giacof
Modified: 2017-01-07 22:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.55 KB, text/plain)
2013-01-02 09:39 UTC, Diego
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giacof 2012-04-19 16:43:19 UTC
Application: akonadi_maildispatcher_agent (4.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-19-generic x86_64
Distribution: Ubuntu 11.10

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

I tried to send a message to a smtp server which supports authentication and TSL encryption.
I probably entered the wrong password, then the crash message popped up.

Now, if I try to open the message from the outgoing folder and resend it, nothing happens: no dialog prompts for credentials and the message is left in the folder.

-- Backtrace:
Application: Agente per la consegna della posta (akonadi_maildispatcher_agent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3d4fd35780 (LWP 3105))]

Thread 2 (Thread 0x7f3d3b0ea700 (LWP 3867)):
#0  0x00007f3d4c4bd473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3d4a7b3f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3d4a7b4429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3d4f1d3f3e in QEventDispatcherGlib::processEvents (this=0xe4d230, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3d4f1a7cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3d4f1a7ef7 in QEventLoop::exec (this=0x7f3d3b0e9dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3d4f0bf27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f3d4f18acbf in QInotifyFileSystemWatcherEngine::run (this=0x1003600) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3d4f0c1d05 in QThreadPrivate::start (arg=0x1003600) at thread/qthread_unix.cpp:331
#9  0x00007f3d4b295efc in start_thread (arg=0x7f3d3b0ea700) at pthread_create.c:304
#10 0x00007f3d4c4c959d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3d4fd35780 (LWP 3105)):
[KCrash Handler]
#6  0x00007f3d4f1a7de0 in QEventLoop::exit (this=<optimized out>, returnCode=0) at kernel/qeventloop.cpp:285
#7  0x00007f3d4ea2464a in KJob::emitResult (this=<optimized out>) at ../../kdecore/jobs/kjob.cpp:306
#8  0x00007f3d4e43f86d in MailTransport::SmtpJob::startSmtpJob (this=0xe214c0) at ../../mailtransport/smtpjob.cpp:188
#9  0x00007f3d4e441077 in MailTransport::SmtpJob::doStart (this=0xe214c0) at ../../mailtransport/smtpjob.cpp:130
#10 0x00007f3d4e43cdcc in MailTransport::TransportJob::start (this=0xe214c0) at ../../mailtransport/transportjob.cpp:129
#11 0x00000000004156cd in SendJob::Private::doTraditionalTransport (this=0xe31c40) at ../../../agents/maildispatcher/sendjob.cpp:201
#12 0x000000000041601e in SendJob::Private::doTransport (this=0xe31c40) at ../../../agents/maildispatcher/sendjob.cpp:130
#13 0x000000000041693e in SendJob::qt_metacall (this=0xe78b10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xdbb2a0) at ./sendjob.moc:85
#14 0x00007f3d4f1bfa5e in QObject::event (this=0xe78b10, e=<optimized out>) at kernel/qobject.cpp:1217
#15 0x00007f3d4cea0474 in notify_helper (e=0xd71c10, receiver=0xe78b10, this=0xbe09a0) at kernel/qapplication.cpp:4486
#16 QApplicationPrivate::notify_helper (this=0xbe09a0, receiver=0xe78b10, e=0xd71c10) at kernel/qapplication.cpp:4458
#17 0x00007f3d4cea52e1 in QApplication::notify (this=0x7fff4702eb60, receiver=0xe78b10, e=0xd71c10) at kernel/qapplication.cpp:4365
#18 0x00007f3d4dbb5466 in KApplication::notify (this=0x7fff4702eb60, receiver=0xe78b10, event=0xd71c10) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f3d4f1a8afc in QCoreApplication::notifyInternal (this=0x7fff4702eb60, receiver=0xe78b10, event=0xd71c10) at kernel/qcoreapplication.cpp:787
#20 0x00007f3d4f1ac51f in sendEvent (event=0xd71c10, receiver=0xe78b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xbc00a0) at kernel/qcoreapplication.cpp:1428
#22 0x00007f3d4f1d3a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f3d4a7b3a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f3d4a7b4258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3d4a7b4429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3d4f1d3ed6 in QEventDispatcherGlib::processEvents (this=0xbc1bb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007f3d4cf4810e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f3d4f1a7cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f3d4f1a7ef7 in QEventLoop::exec (this=0x7fff4702eae0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f3d4f1ac789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0x00007f3d4f79ec46 in Akonadi::AgentBase::init (r=0xd35630) at ../../akonadi/agentbase.cpp:564
#33 0x000000000040be63 in Akonadi::AgentBase::init<MailDispatcherAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:342
#34 0x00007f3d4c40730d in __libc_start_main (main=0x408ef0 <main(int, char**)>, argc=3, ubp_av=0x7fff4702ec78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4702ec68) at libc-start.c:226
#35 0x0000000000408fb5 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2012-09-02 10:27:13 UTC
*** Bug 305900 has been marked as a duplicate of this bug. ***
Comment 2 Diego 2013-01-02 09:39:26 UTC
Created attachment 76135 [details]
New crash information added by DrKonqi

akonadi_maildispatcher_agent (4.9) on KDE Platform 4.9.4 using Qt 4.8.4

- What I was doing when the application crashed:

Same as described in the previous report. Kontact 4.9.4 and Akonadi 1.8.1 here.

-- Backtrace (Reduced):
#6  data (this=0xffff0009) at ../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QEventLoop::exit (this=0xffff0001, returnCode=0) at kernel/qeventloop.cpp:284
#10 0x00007f423b12be6a in KJob::emitResult (this=0x1549f40) at /usr/src/debug/kdelibs-4.9.4/kdecore/jobs/kjob.cpp:312
#11 0x00007f423a694f18 in MailTransport::SmtpJob::startSmtpJob (this=0x1549f40) at /usr/src/debug/kdepimlibs-4.9.4/mailtransport/smtpjob.cpp:201
#12 0x00007f423a696525 in MailTransport::SmtpJob::doStart (this=0x1549f40) at /usr/src/debug/kdepimlibs-4.9.4/mailtransport/smtpjob.cpp:133
Comment 3 Denis Kurz 2016-09-24 20:37:43 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:50:10 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.