Bug 472787 - Crash on Outbox
Summary: Crash on Outbox
Status: RESOLVED DUPLICATE of bug 467845
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-30 01:34 UTC by 4ngamboa
Modified: 2023-08-23 22:58 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (2.72 KB, text/plain)
2023-08-23 22:58 UTC, Charles Darwin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 4ngamboa 2023-07-30 01:34:50 UTC
Application: kmail (5.23.3 (23.04.3))

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.6-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Kmail will crash when opening any email in full in the local folders.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fe76b434af6 in QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) (d=0x500000001, index=4) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlengine.cpp:849
#7  0x00007fe76e2d0afe in QObjectPrivate::isDeclarativeSignalConnected(unsigned int) const (signal_index=4, this=<optimized out>) at kernel/qobject_p.h:110
#8  doActivate<false>(QObject*, int, void**) (sender=0x557efd3b0880, signal_index=4, argv=0x7ffee34fb630) at kernel/qobject.cpp:3814
#9  0x00007fe7775c19bd in KMCommand::completed(KMCommand*) (_t1=0x557efd3b0880, this=0x557efd3b0880) at /usr/src/debug/kmail/build/src/kmailprivate_autogen/EWIEGA46WW/moc_kmcommands.cpp:201
#10 KMCommand::slotPostTransfer(KMCommand::Result) (this=0x557efd3b0880, result=KMCommand::OK) at /usr/src/debug/kmail/kmail-23.04.3/src/kmcommands.cpp:263
#11 0x00007fe76e2d1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffee34fb760, r=<optimized out>, this=0x557efdccf9a0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false>(QObject*, int, void**) (sender=0x557efd3b0880, signal_index=3, argv=0x7ffee34fb760) at kernel/qobject.cpp:3925
#13 0x00007fe7775c271c in KMCommand::messagesTransfered(KMCommand::Result) (_t1=KMCommand::OK, this=0x557efd3b0880) at /usr/src/debug/kmail/build/src/kmailprivate_autogen/EWIEGA46WW/moc_kmcommands.cpp:194
#14 KMCommand::slotJobFinished() (this=0x557efd3b0880) at /usr/src/debug/kmail/kmail-23.04.3/src/kmcommands.cpp:368
#15 0x00007fe76e2d1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffee34fb890, r=<optimized out>, this=0x557efd10b800, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x557efda44fc0, signal_index=6, argv=0x7ffee34fb890) at kernel/qobject.cpp:3925
#17 0x00007fe76f6a1b8a in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x557efda44fc0, _t1=<optimized out>, _t1@entry=0x557efda44fc0, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#18 0x00007fe76f6a789c in KJob::finishJob(bool) (this=0x557efda44fc0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-5.108.0/src/lib/jobs/kjob.cpp:98
#19 0x00007fe76e2c3d74 in QObject::event(QEvent*) (this=0x557efda44fc0, e=0x7fe7480030e0) at kernel/qobject.cpp:1347
#20 0x00007fe76ef7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557efda44fc0, e=0x7fe7480030e0) at kernel/qapplication.cpp:3640
#21 0x00007fe76e29c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557efda44fc0, event=0x7fe7480030e0) at kernel/qcoreapplication.cpp:1064
#22 0x00007fe76e2a125b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x557efbf5e470) at kernel/qcoreapplication.cpp:1821
#23 0x00007fe76e2e72d8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x557efbf7d820) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007fe76890fa31 in g_main_dispatch (context=0x7fe750000ee0) at ../glib/glib/gmain.c:3460
#25 g_main_context_dispatch (context=0x7fe750000ee0) at ../glib/glib/gmain.c:4200
#26 0x00007fe76896ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7fe750000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#27 0x00007fe76890d0e2 in g_main_context_iteration (context=0x7fe750000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#28 0x00007fe76e2eb15c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557efbf4f040, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fe76e29b004 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffee34fbd10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007fe76e29c4a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007fe76e73bed2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#32 0x00007fe76ef76cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#33 0x0000557efa39344f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail/kmail-23.04.3/src/main.cpp:188
[Inferior 1 (process 33560) detached]

The reporter indicates this bug may be a duplicate of or related to bug 462878, bug 467845, bug 469674, bug 471223, bug 471834, bug 472149.

Reported using DrKonqi
Comment 1 4ngamboa 2023-07-30 01:40:16 UTC

*** This bug has been marked as a duplicate of bug 467845 ***
Comment 2 Charles Darwin 2023-08-23 22:58:29 UTC
Created attachment 161145 [details]
New crash information added by DrKonqi

kmail (5.23.3 (23.04.3)) using Qt 5.15.9

I tried to send an email as test afer configuring the details of outgoing mail server.  I got an error about the outgoing server not acceping my credentials.   The mail I tried to send, appeared in the outbox of my Local Folders account.   When I double clicked on the message, KMail crashed immedaitely.

-- Backtrace (Reduced):
#4  0x00007fbed7e924c6 in QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) () from /lib64/libQt5Qml.so.5
#5  0x00007fbedaed0c7e in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007fbee43c7c3c in KMCommand::slotPostTransfer(KMCommand::Result) () from /lib64/libkmailprivate.so.5
#7  0x00007fbedaed0fc6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fbee43c87b2 in KMCommand::slotJobFinished() () from /lib64/libkmailprivate.so.5