Bug 387389 - abort when sending mail
Summary: abort when sending mail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmailtransport
Classification: Applications
Component: general (show other bugs)
Version: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 09:28 UTC by Martin Koller
Modified: 2022-11-25 07:59 UTC (History)
0 users

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 Martin Koller 2017-11-28 09:28:32 UTC
Trying to send a queued mail (with a ~900k attachment) always aborts the maildispatcher.
compiled from source at 279e408da3f48b718505bde9d929f3fdb25c5141

Thread 1 "akonadi_maildis" received signal SIGABRT, Aborted.
0x00007fad005e08d7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install libspeechd2-debuginfo-0.8.3-6.7.x86_64
(gdb) bt
#0  0x00007fad005e08d7 in raise () at /lib64/libc.so.6
#1  0x00007fad005e1caa in abort () at /lib64/libc.so.6
#2  0x00007fad0128956e in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007fad01284dc6 in  () at /usr/lib64/libQt5Core.so.5
#4  0x000000000041f86d in SendJob::transportResult(KJob*) (this=0x1b1a280, job=0x1b247c0)
    at /home/KDE5/source/kde/pim/kdepim-runtime/agents/maildispatcher/sendjob.cpp:192
#5  0x000000000041f1d6 in SendJob::__lambda18::operator()(KJob*) const (__closure=0x1b1a1a0, job=0x1b247c0)
    at /home/KDE5/source/kde/pim/kdepim-runtime/agents/maildispatcher/sendjob.cpp:171
#6  0x0000000000422aab in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, SendJob::doTraditionalTransport()::__lambda18>::call(SendJob::__lambda18 &, void **) (f=..., arg=0x7ffffee47340) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:130
#7  0x000000000042292d in QtPrivate::Functor<SendJob::doTraditionalTransport()::__lambda18, 1>::call<QtPrivate::List<KJob*>, void>(SendJob::__lambda18 &, void *, void **) (f=..., arg=0x7ffffee47340) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:240
#8  0x0000000000422640 in QtPrivate::QFunctorSlotObject<SendJob::doTraditionalTransport()::__lambda18, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x1b1a190, r=0x1b1a280, a=0x7ffffee47340, ret=0x0)
    at /usr/include/qt5/QtCore/qobject_impl.h:168
#9  0x00007fad01480883 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fad02da39c7 in KJob::result(KJob*, KJob::QPrivateSignal) (this=0x1b247c0, _t1=0x1b247c0)
    at /home/KDE5/source/build/frameworks/kcoreaddons/src/lib/moc_kjob.cpp:570
#11 0x00007fad02da1da2 in KJob::finishJob(bool) (this=0x1b247c0, emitResult=true)
    at /home/KDE5/source/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:109
#12 0x00007fad02da2475 in KJob::emitResult() (this=0x1b247c0) at /home/KDE5/source/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:293
#13 0x00007face007eb4e in MailTransport::SmtpJob::__lambda16::operator()(QString const&) const (__closure=0x1b1a2e0, err=...)
    at /home/KDE5/source/kde/pim/kmailtransport/src/kmailtransport/plugins/smtp/smtpjob.cpp:162
#14 0x00007face0080049 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QString&>, void, MailTransport::SmtpJob::startSmtpJob()::__lambda16>::call(MailTransport::SmtpJob::__lambda16 &, void **) (f=..., arg=0x7facc0025f70)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:130
---Type <return> to continue, or q <return> to quit---
#15 0x00007face008001d in QtPrivate::Functor<MailTransport::SmtpJob::startSmtpJob()::__lambda16, 1>::call<QtPrivate::List<QString const&>, void>(MailTransport::SmtpJob::__lambda16 &, void *, void **) (f=..., arg=0x7facc0025f70) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:240
#16 0x00007face007ffee in QtPrivate::QFunctorSlotObject<MailTransport::SmtpJob::startSmtpJob()::__lambda16, 1, QtPrivate::List<const QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x1b1a2d0, r=0x1b247c0, a=0x7facc0025f70, ret=0x0) at /usr/include/qt5/QtCore/qobject_impl.h:168
#17 0x00007fad01481b26 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fad0218dcbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007fad02194a10 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007fad01456d25 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007fad01459303 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007fad014a8593 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007facfb56b134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007facfb56b388 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007facfb56b42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007fad014a7dbc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fad0145501b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fad0145d5e4 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x00007fad04dfe770 in Akonadi::AgentBase::init(Akonadi::AgentBase*) (r=0x1a0d9c0)
    at /home/KDE5/source/kde/pim/akonadi/src/agentbase/agentbase.cpp:953
#30 0x0000000000411fe2 in Akonadi::AgentBase::init<MailDispatcherAgent>(int, char**) (argc=3, argv=0x7ffffee47c18)
    at /home/KDE5/include/KF5/AkonadiAgentBase/agentbase.h:480
#31 0x000000000040edd3 in main(int, char**) (argc=3, argv=0x7ffffee47c18)
    at /home/KDE5/source/kde/pim/kdepim-runtime/agents/maildispatcher/maildispatcheragent.cpp:341
Comment 1 Martin Koller 2017-11-28 09:31:03 UTC
More details:

(gdb) f 4
#4  0x000000000041f86d in SendJob::transportResult (this=0x1b1a280, job=0x1b247c0)
    at /home/KDE5/source/kde/pim/kdepim-runtime/agents/maildispatcher/sendjob.cpp:192
192         Q_ASSERT(mCurrentJob == job);
(gdb) p job
$1 = (MailTransport::SmtpJob *) 0x1b247c0
(gdb) p mCurrentJob
$2 = (StoreResultJob *) 0x1a943a0
Comment 2 Christoph Feck 2017-12-20 14:41:52 UTC
Is this a duplicate of bug 387613?
Comment 3 Martin Koller 2017-12-20 21:00:29 UTC
No, this is in a different class and really a Q_ASSERT()
Comment 4 Justin Zobel 2022-11-10 22:32:58 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-25 05:20:13 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 6 Martin Koller 2022-11-25 07:59:33 UTC
since I'm not using a self-compiled kmail at this point, I can't check.