Bug 475412 - akonadi_mail_dispatcher_agent closed unexcpectedly
Summary: akonadi_mail_dispatcher_agent closed unexcpectedly
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-10 02:29 UTC by Nick
Modified: 2023-12-19 15:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.62 KB, text/plain)
2023-12-16 20:35 UTC, tprotopopescu
Details
New crash information added by DrKonqi (3.64 KB, text/plain)
2023-12-16 20:58 UTC, tprotopopescu
Details
New crash information added by DrKonqi (3.50 KB, text/plain)
2023-12-16 22:32 UTC, tprotopopescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2023-10-10 02:29:18 UTC
Application: akonadi_maildispatcher_agent (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.14.21-150500.53-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.5"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
post upgrade to opensuse leap 155;  many of KDE  settings/functions fail
1. the autostart settings +  app launcher settings fail  [ ~/.config/autostart ]
2.  send and email link ... it complains ...
Thanks

The crash can be reproduced every time.

-- Backtrace:
Application: akonadi_maildispatcher_agent (akonadi_maildispatcher_agent), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fca4631a4d0 in MailTransport::TransportAttribute::transportId() const () at /usr/lib64/libKF5MailTransportAkonadi.so.5
#5  0x000055647dac15af in  ()
#6  0x00007fca4535b4db in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fca457bd53c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#8  0x00007fca457c42ff in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007fca45327043 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fca45329a61 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fca4538a2e3 in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007fca41e6f82b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#13 0x00007fca41e6fbd0 in  () at /usr/lib64/libglib-2.0.so.0
#14 0x00007fca41e6fc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fca4538998c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#16 0x00007fca453258aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fca4532f0e7 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#18 0x00007fca4627e0cd in Akonadi::AgentBase::init(Akonadi::AgentBase&) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#19 0x000055647dab21b5 in  ()
#20 0x00007fca447dc24d in __libc_start_main () at /lib64/libc.so.6
#21 0x000055647daad9da in  ()
[Inferior 1 (process 14984) detached]

Reported using DrKonqi
Comment 1 Nick 2023-10-26 22:30:22 UTC
Any news ?

Tx
Comment 2 Carl Schwan 2023-10-27 11:21:56 UTC
Hello,

Unfortunately I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:
Could you please install debug symbols and attach a new symbolicated backtrace generated by using coredumpctl gdb in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.
Thanks again!
Comment 3 Bug Janitor Service 2023-11-11 03:45:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-11-26 03:45:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 5 tprotopopescu 2023-12-16 20:35:52 UTC
Created attachment 164230 [details]
New crash information added by DrKonqi

akonadi_maildispatcher_agent (5.22.3 (22.12.3)) using Qt 5.15.8

the maildispathcher_agent crashes when I try to send an email. It happens every time, on both x11 and wayland sessions (there are lots of glitches kmail on wayland, which is why I mention this).

This is happening after upgrading from the openSUSE 15.5 packages to the latest KDE repo packages.

-- Backtrace (Reduced):
#4  MailTransport::TransportAttribute::transportId() const (this=this@entry=0x0) at /usr/src/debug/kmailtransport-22.12.3-bp155.1.5.x86_64/src/kmailtransportakonadi/transportattribute.cpp:49
#5  0x0000560ef96395af in SendJob::doTransport() (this=0x560efadfda80) at /usr/src/debug/kdepim-runtime-22.12.3-bp155.1.7.x86_64/agents/maildispatcher/sendjob.cpp:56
#6  0x00007f0c9b6c850b in QObject::event(QEvent*) (this=0x560efadfda80, e=0x560efadff740) at kernel/qobject.cpp:1347
#7  0x00007f0c9bb2b53c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x560efab07a80, receiver=receiver@entry=0x560efadfda80, e=e@entry=0x560efadff740) at kernel/qapplication.cpp:3640
#8  0x00007f0c9bb322ff in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x560efadfda80, e=0x560efadff740) at kernel/qapplication.cpp:3164
Comment 6 tprotopopescu 2023-12-16 20:58:33 UTC
Created attachment 164231 [details]
New crash information added by DrKonqi

akonadi_maildispatcher_agent (5.22.3 (22.12.3)) using Qt 5.15.8

This is happening for me. I try to send an email and the main_dispatcher crashes. It happens every time. I switched from the standard opensuse 15.5 packages to the KDE repo packages. 

It happens on both x11 and wayland (I say this because I get a lot of glitches on wayland and thought that might be related).

-- Backtrace (Reduced):
#4  MailTransport::TransportAttribute::transportId() const (this=this@entry=0x0) at /usr/src/debug/kmailtransport-22.12.3-bp155.1.5.x86_64/src/kmailtransportakonadi/transportattribute.cpp:49
#5  0x00005594801af5af in SendJob::doTransport() (this=0x7fa36804e2c0) at /usr/src/debug/kdepim-runtime-22.12.3-bp155.1.7.x86_64/agents/maildispatcher/sendjob.cpp:56
#6  0x00007fa3e1ba450b in QObject::event(QEvent*) (this=0x7fa36804e2c0, e=0x7fa36804fed0) at kernel/qobject.cpp:1347
#7  0x00007fa3e200753c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x559482184a80, receiver=receiver@entry=0x7fa36804e2c0, e=e@entry=0x7fa36804fed0) at kernel/qapplication.cpp:3640
#8  0x00007fa3e200e2ff in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fa36804e2c0, e=0x7fa36804fed0) at kernel/qapplication.cpp:3164
Comment 7 tprotopopescu 2023-12-16 22:32:59 UTC
Created attachment 164234 [details]
New crash information added by DrKonqi

akonadi_maildispatcher_agent (5.22.3 (22.12.3)) using Qt 5.15.8

The maildispatcher-agent crashes whenever I try to send an email. This happens every time since I switched from the opensuse 15.5 standard packages to the KDE repos.

-- Backtrace (Reduced):
#4  MailTransport::TransportAttribute::transportId() const (this=this@entry=0x0) at /usr/src/debug/kmailtransport-22.12.3-bp155.1.5.x86_64/src/kmailtransportakonadi/transportattribute.cpp:49
#5  0x0000560947f745af in SendJob::doTransport() (this=0x560948a66690) at /usr/src/debug/kdepim-runtime-22.12.3-bp155.1.7.x86_64/agents/maildispatcher/sendjob.cpp:56
#6  0x00007fbdc357a50b in QObject::event(QEvent*) (this=0x560948a66690, e=0x560948a67f20) at kernel/qobject.cpp:1347
#7  0x00007fbdc39dd53c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x560948862a80, receiver=receiver@entry=0x560948a66690, e=e@entry=0x560948a67f20) at kernel/qapplication.cpp:3640
#8  0x00007fbdc39e42ff in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x560948a66690, e=0x560948a67f20) at kernel/qapplication.cpp:3164
Comment 8 tprotopopescu 2023-12-16 22:56:50 UTC
My apologies for the multiple postings. The automatic bug submission did not confirm anything was submitted (just the spiny wheel), after trying three times and (apparently) failing I logged in to submit it and found it had already. I suppose that's a bug in dr Konqi...
Comment 9 Laurent Montel 2023-12-17 17:44:00 UTC
Do you use smtp mailtransport ?
Comment 10 tprotopopescu 2023-12-19 15:56:55 UTC
(In reply to Laurent Montel from comment #9)
> Do you use smtp mailtransport ?

Yes, for one account (gmail), and exchange for two others.

I have had to switch back to the standard opensuse 15.5 packages for the time being (busy time at work, can't afford not to have email working right now).