Bug 311460

Summary: Mail dispatcher crash when closing the second password prompt
Product: [Frameworks and Libraries] Akonadi Reporter: carlo.tognetti
Component: Mail Dispatcher AgentAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description carlo.tognetti 2012-12-10 11:08:43 UTC
Application: akonadi_maildispatcher_agent (4.9)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-20-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Kdewallet was open and running fine.
Previously I was prompted for smtps authentication password and I didn't check the "remember password" flag. Then I tried to send the second e-mail that wasn't delivered. I was not shown the password prompt. When I tried to send the third e-mail, I saw two password prompts. I entered the password on the first one. The mail was suddenly delivered but as soon as I clicked on "Annulla" (Italian  for Cancel) on the second password prompt I had the crash message.

-- Backtrace:
Application: Agente per la consegna della posta (akonadi_maildispatcher_agent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb6a01b7780 (LWP 3285))]

Thread 2 (Thread 0x7fb68aedf700 (LWP 3853)):
#0  pthread_mutex_unlock (mutex=0x7fb684000a60) at forward.c:184
#1  0x00007fb69ae98e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb69ae5b066 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb69ae5bc64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb69ae5bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb69f61cc16 in QEventDispatcherGlib::processEvents (this=0x7fb6840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb69f5ed2bf in QEventLoop::processEvents (this=this@entry=0x7fb68aededd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb69f5ed548 in QEventLoop::exec (this=0x7fb68aededd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb69f4eeb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb69f5cd9af in QInotifyFileSystemWatcherEngine::run (this=0x1dbc880) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb69f4f1aec in QThreadPrivate::start (arg=0x1dbc880) at thread/qthread_unix.cpp:338
#11 0x00007fb69b736e9a in start_thread (arg=0x7fb68aedf700) at pthread_create.c:308
#12 0x00007fb69c95ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb6a01b7780 (LWP 3285)):
[KCrash Handler]
#6  0x00007fb69ee61bb4 in KJob::setError (this=0x1adcb40, errorCode=1) at ../../kdecore/jobs/kjob.cpp:253
#7  0x00007fb69e88b670 in MailTransport::SmtpJob::startSmtpJob (this=0x1adcb40) at ../../mailtransport/smtpjob.cpp:200
#8  0x00007fb69e88cc85 in MailTransport::SmtpJob::doStart (this=0x1adcb40) at ../../mailtransport/smtpjob.cpp:133
#9  0x00007fb69e8893fc in MailTransport::TransportJob::start (this=0x1adcb40) at ../../mailtransport/transportjob.cpp:129
#10 0x0000000000415a9e in SendJob::Private::doTraditionalTransport (this=this@entry=0x1968170) at ../../../agents/maildispatcher/sendjob.cpp:214
#11 0x000000000041666a in SendJob::Private::doTransport (this=0x1968170) at ../../../agents/maildispatcher/sendjob.cpp:135
#12 0x00007fb69f60343e in QObject::event (this=0x1b9e5d0, e=<optimized out>) at kernel/qobject.cpp:1195
#13 0x00007fb69d30ce9c in QApplicationPrivate::notify_helper (this=this@entry=0x18f7970, receiver=receiver@entry=0x1b9e5d0, e=e@entry=0x1a63b50) at kernel/qapplication.cpp:4562
#14 0x00007fb69d31130a in QApplication::notify (this=0x7fff6b747240, receiver=0x1b9e5d0, e=0x1a63b50) at kernel/qapplication.cpp:4423
#15 0x00007fb69e0151d6 in KApplication::notify (this=0x7fff6b747240, receiver=0x1b9e5d0, event=0x1a63b50) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fb69f5ee56e in QCoreApplication::notifyInternal (this=0x7fff6b747240, receiver=receiver@entry=0x1b9e5d0, event=event@entry=0x1a63b50) at kernel/qcoreapplication.cpp:915
#17 0x00007fb69f5f23f1 in sendEvent (event=0x1a63b50, receiver=0x1b9e5d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x18cce60) at kernel/qcoreapplication.cpp:1539
#19 0x00007fb69f61ca63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=0x18f9eb0) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007fb69ae5bab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb69ae5bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb69ae5bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb69f61cbf6 in QEventDispatcherGlib::processEvents (this=0x18ce740, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007fb69d3b1c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fb69f5ed2bf in QEventLoop::processEvents (this=this@entry=0x7fff6b7471c0, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fb69f5ed548 in QEventLoop::exec (this=0x7fff6b7471c0, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007fb69f5f2708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#29 0x00007fb69fc0efe3 in Akonadi::AgentBase::init (r=0x1ac21d0) at ../../akonadi/agentbase.cpp:550
#30 0x000000000040bb70 in Akonadi::AgentBase::init<MailDispatcherAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:343
#31 0x00007fb69c88a76d in __libc_start_main (main=0x408ec0 <main(int, char**)>, argc=3, ubp_av=0x7fff6b747358, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6b747348) at libc-start.c:226
#32 0x0000000000408f85 in _start ()

Possible duplicates by query: bug 300435.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-04 02:20:18 UTC

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