Bug 472317

Summary: after suspend to disc, laptop, when awakening and rettrieving on a non working imap, the application crashed.
Product: [Frameworks and Libraries] Akonadi Reporter: stakanov
Component: POP3 ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: aacid, carl
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description stakanov 2023-07-17 08:59:53 UTC
Application: akonadi_pop3_resource (5.23.3 (23.04.3))

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.2-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
suspended, awaken, non working imap, before I noticed that the kwallet app had apparently closed. So, I opened wallet, the imap tried to retrieve (but was unable because not yet verified as MAC/clien instance by the provider "web.de". Then the app crashed. Seems much related to the bug indicated in this report.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: POP Mailboxorg (akonadi_pop3_resource), signal: Segmentation fault

[KCrash Handler]
#4  0x0000559556374e41 in POPSession::setCurrentJob (job=0x559558178d40, this=0x0) at /usr/src/debug/kdepim-runtime-23.04.3/resources/pop3/jobs.cpp:39
#5  BaseJob::BaseJob (this=<optimized out>, POPSession=<optimized out>, this=<optimized out>, POPSession=<optimized out>) at /usr/src/debug/kdepim-runtime-23.04.3/resources/pop3/jobs.cpp:95
#6  0x000055955636552e in ListJob::ListJob (popSession=<optimized out>, this=0x559558178d40) at /usr/src/debug/kdepim-runtime-23.04.3/resources/pop3/jobs.cpp:158
#7  POP3Resource::doStateStep (this=0x7ffe1cc8c540) at /usr/src/debug/kdepim-runtime-23.04.3/resources/pop3/pop3resource.cpp:278
#8  0x00007fe0519257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1cc8c000, r=0x7ffe1cc8c540, this=0x55955811a400) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x559558114530, signal_index=6, argv=0x7ffe1cc8c000) at kernel/qobject.cpp:3925
#10 0x00007fe05191e40f in QMetaObject::activate (sender=sender@entry=0x559558114530, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe1cc8c000) at kernel/qobject.cpp:3985
#11 0x00007fe05269d845 in KJob::result (this=this@entry=0x559558114530, _t1=<optimized out>, _t1@entry=0x559558114530, _t2=...) at /usr/src/debug/kcoreaddons-5.108.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#12 0x00007fe0526a1beb in KJob::finishJob (this=0x559558114530, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.108.0/src/lib/jobs/kjob.cpp:98
#13 0x00007fe0519192b0 in QObject::event (this=0x559558114530, e=0x7fe0200076a0) at kernel/qobject.cpp:1347
#14 0x00007fe051fa519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559558114530, e=0x7fe0200076a0) at kernel/qapplication.cpp:3640
#15 0x00007fe0518ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x559558114530, event=0x7fe0200076a0) at kernel/qcoreapplication.cpp:1064
#16 0x00007fe0518ed6be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#17 0x00007fe0518f0af1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559557ed3f30) at kernel/qcoreapplication.cpp:1821
#18 0x00007fe0518f1038 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#19 0x00007fe051946c83 in postEventSourceDispatch (s=0x559557f2a560) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007fe0502e2988 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00007fe0502e2d98 in ?? () from /lib64/libglib-2.0.so.0
#22 0x00007fe0502e2e2c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007fe051946496 in QEventDispatcherGlib::processEvents (this=0x559557f227e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007fe0518ebf8b in QEventLoop::exec (this=this@entry=0x7ffe1cc8c3f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007fe0518f4420 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x00005595563730e1 in Akonadi::ResourceBase::init<POP3Resource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KPim5/AkonadiAgentBase/akonadi/resourcebase.h:184
#27 0x00007fe05102abf0 in __libc_start_call_main () from /lib64/libc.so.6
#28 0x00007fe05102acb9 in __libc_start_main_impl () from /lib64/libc.so.6
#29 0x0000559556360ad5 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 2317) detached]

The reporter indicates this bug may be a duplicate of or related to bug 294851, bug 325657.

Reported using DrKonqi