Bug 428691 - Kmail2 did not send mail
Summary: Kmail2 did not send mail
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-04 16:31 UTC by rawaju88
Modified: 2026-02-12 03:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.53 KB, text/plain)
2021-01-16 10:34 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rawaju88 2020-11-04 16:31:43 UTC
Application: akonadi_maildispatcher_agent (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.47-default x86_64
Windowing system: X11
Distribution: openSUSE Leap 15.2

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

- Unusual behavior I noticed: 
Kmail did not send email. 
After restarting the computer, Kontact appears and the following messages:

'akonadi_maildispatcher_agent was unexpectedly ended'
'error in getting the D-Bus-port (or gateway - don't know the right expression) of mailfilteragent

Please excuse my english.

-- Backtrace:
Application: akonadi_maildispatcher_agent (akonadi_maildispatcher_agent), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efc30a0e940 (LWP 3326))]

Thread 5 (Thread 0x7efc1185c700 (LWP 3332)):
#0  0x00007efc27d82ad4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007efc27d36827 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efc27d37635 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007efc27d3788c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007efc2dd5eecb in QEventDispatcherGlib::processEvents (this=0x7efc08000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007efc2dd0005a in QEventLoop::exec (this=this@entry=0x7efc1185bc70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007efc2db2539a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007efc2db26b42 in QThreadPrivate::start (arg=0x5636b12436c0) at thread/qthread_unix.cpp:361
#8  0x00007efc299a24f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007efc2d1c0fbf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7efc1205d700 (LWP 3329)):
#0  0x00007efc27d82ad4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007efc27d36827 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efc27d37635 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007efc27d3788c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007efc2dd5eecb in QEventDispatcherGlib::processEvents (this=0x7efc04000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007efc2dd0005a in QEventLoop::exec (this=this@entry=0x7efc1205cc70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007efc2db2539a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007efc2db26b42 in QThreadPrivate::start (arg=0x5636b1216860) at thread/qthread_unix.cpp:361
#8  0x00007efc299a24f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007efc2d1c0fbf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7efc1285e700 (LWP 3328)):
#0  0x00007efc2d1b66db in poll () from /lib64/libc.so.6
#1  0x00007efc27d37779 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efc27d3788c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007efc2dd5eecb in QEventDispatcherGlib::processEvents (this=0x7efc0c000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007efc2dd0005a in QEventLoop::exec (this=this@entry=0x7efc1285dc40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007efc2db2539a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007efc2ea48cd5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007efc2db26b42 in QThreadPrivate::start (arg=0x7efc2ecc0d80) at thread/qthread_unix.cpp:361
#8  0x00007efc299a24f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007efc2d1c0fbf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7efc1ac47700 (LWP 3327)):
#0  0x00007efc2d1b66db in poll () from /lib64/libc.so.6
#1  0x00007efc25703307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007efc25704f3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007efc1d834300 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007efc2db26b42 in QThreadPrivate::start (arg=0x5636b1157500) at thread/qthread_unix.cpp:361
#5  0x00007efc299a24f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007efc2d1c0fbf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7efc30a0e940 (LWP 3326)):
[KCrash Handler]
#4  MailTransport::TransportJob::setData (this=this@entry=0x0, data=...) at /usr/src/debug/kmailtransport-20.04.2-lp152.1.1.x86_64/src/kmailtransport/transportjob.cpp:83
#5  0x00005636af7ea32a in SendJob::doTraditionalTransport (this=this@entry=0x5636b12f8f80) at /usr/src/debug/kdepim-runtime-20.04.2-lp152.1.1.x86_64/agents/maildispatcher/sendjob.cpp:175
#6  0x00005636af7ec9a8 in SendJob::doTransport (this=0x5636b12f8f80) at /usr/src/debug/kdepim-runtime-20.04.2-lp152.1.1.x86_64/agents/maildispatcher/sendjob.cpp:91
#7  0x00007efc2dd3e904 in QtPrivate::QSlotObjectBase::call (a=0x7fff4fb48fe0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#8  QSingleShotTimer::timerEvent (this=0x7efc0404d340) at kernel/qtimer.cpp:318
#9  0x00007efc2dd3248b in QObject::event (this=0x7efc0404d340, e=<optimized out>) at kernel/qobject.cpp:1283
#10 0x00007efc2e32da0c in QApplicationPrivate::notify_helper (this=this@entry=0x5636b1130350, receiver=receiver@entry=0x7efc0404d340, e=e@entry=0x7fff4fb49320) at kernel/qapplication.cpp:3701
#11 0x00007efc2e335020 in QApplication::notify (this=0x7fff4fb49620, receiver=0x7efc0404d340, e=0x7fff4fb49320) at kernel/qapplication.cpp:3447
#12 0x00007efc2dd01e08 in QCoreApplication::notifyInternal2 (receiver=0x7efc0404d340, event=0x7fff4fb49320) at kernel/qcoreapplication.cpp:1088
#13 0x00007efc2dd5e319 in QTimerInfoList::activateTimers (this=0x5636b11387f0) at kernel/qtimerinfo_unix.cpp:643
#14 0x00007efc2dd5eb19 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#15 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#16 0x00007efc27d37464 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007efc27d37800 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007efc27d3788c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007efc2dd5eeaf in QEventDispatcherGlib::processEvents (this=0x5636b11ff210, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007efc2dd0005a in QEventLoop::exec (this=this@entry=0x7fff4fb49570, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#21 0x00007efc2dd09260 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#22 0x00007efc303df51d in Akonadi::AgentBase::init (r=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/agentbase/agentbase.cpp:967
#23 0x00005636af7dd005 in Akonadi::AgentBase::init<MailDispatcherAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:484
#24 0x00007efc2d0e934a in __libc_start_main () from /lib64/libc.so.6
#25 0x00005636af7d888a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 3326) detached]

Reported using DrKonqi
Comment 1 Rolf Eike Beer 2021-01-16 10:34:04 UTC
Created attachment 134924 [details]
New crash information added by DrKonqi

akonadi_maildispatcher_agent (5.14.2 (20.04.2)) using Qt 5.12.7

It happened for me when I tried to answer a CMake discourse posting.

-- Backtrace (Reduced):
#4  MailTransport::TransportJob::setData(QByteArray const&) (this=this@entry=0x0, data=...) at /usr/src/debug/kmailtransport-20.04.2-lp152.1.1.x86_64/src/kmailtransport/transportjob.cpp:83
#5  0x000055f949a1d32a in SendJob::doTraditionalTransport() (this=this@entry=0x7f84bc04c760) at /usr/src/debug/kdepim-runtime-20.04.2-lp152.1.1.x86_64/agents/maildispatcher/sendjob.cpp:175
#6  0x000055f949a1f9a8 in SendJob::doTransport() (this=0x7f84bc04c760) at /usr/src/debug/kdepim-runtime-20.04.2-lp152.1.1.x86_64/agents/maildispatcher/sendjob.cpp:91
#7  0x00007f84e744ae04 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd3f5e16f0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#8  QSingleShotTimer::timerEvent(QTimerEvent*) (this=0x55f94b0b3cd0) at kernel/qtimer.cpp:318
Comment 2 aristsakas 2026-01-27 19:35:04 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Akonadi 25.12.0.
Comment 3 cwo 2026-01-28 21:14:15 UTC
.
Comment 4 Bug Janitor Service 2026-02-12 03:58:13 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!