Bug 480237 - Pop retriving crashes even if no imap account without password is active, receiving a greater amount of duplicates
Summary: Pop retriving crashes even if no imap account without password is active, rec...
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: POP3 Resource (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-23 17:06 UTC by stakanov.s
Modified: 2024-01-23 17:06 UTC (History)
2 users (show)

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 stakanov.s 2024-01-23 17:06:34 UTC
Application: akonadi_pop3_resource (5.24.4 (23.08.4))

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.6.11-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
it appears the application is not able to handle POP correctly as the "leave on server" causes a retrival of messages already taken, causing an ever growing amount of duplicates that partially are not even captured by the "remove duplicates" function. Remove duplicates prooves to be more unefficient when uses as such, more efficient if "in this and all subdiretories" althouth there are NO subdirectories. But that part of remove duplicates at least works to some extend. When retriving all mail from POP you get the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: POP Mailboxorg (akonadi_pop3_resource), signal: Aborted

[KCrash Handler]
#4  0x00007f1b1e491dec in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007f1b1e43f0c6 in raise () at /lib64/libc.so.6
#6  0x00007f1b1e4268d7 in abort () at /lib64/libc.so.6
#7  0x00007f1b1e8acc37 in  () at /lib64/libstdc++.so.6
#8  0x00007f1b1e8bc21c in  () at /lib64/libstdc++.so.6
#9  0x00007f1b1e8bc287 in  () at /lib64/libstdc++.so.6
#10 0x00007f1b1e8bc4e8 in  () at /lib64/libstdc++.so.6
#11 0x00007f1b1ecba6ef in qBadAlloc() () at global/qglobal.cpp:3372
#12 0x00007f1b1ecbd6a0 in QListData::realloc_grow(int) (this=this@entry=0x7fffe739c4b8, growth=growth@entry=1) at tools/qlist.cpp:171
#13 0x00007f1b1ed40f7a in QListData::append(int) (this=0x7fffe739c4b8, n=n@entry=1) at tools/qlist.cpp:196
#14 0x00007f1b1ed40faa in QListData::append() (this=<optimized out>) at tools/qlist.cpp:206
#15 0x00007f1b1fd383d5 in QList<QVariant>::append(QVariant const&) (t=..., this=0x7fffe739c4b8) at /usr/include/qt5/QtCore/qlist.h:620
#16 QList<QVariant>::append(QVariant const&) (this=0x7fffe739c4b8, t=...) at /usr/include/qt5/QtCore/qlist.h:620
#17 0x00007f1b1fd5dac1 in KConfigGroup::writeEntry<int>(char const*, QList<int> const&, QFlags<KConfigBase::WriteConfigFlag>) (pFlags=..., list=<optimized out>, key=0x55bbb2ca1b98 "seenUidTimeList", this=0x7fffe739c4c0) at /usr/src/debug/kconfig-5.114.0/src/core/kconfiggroup.h:869
#18 KConfigGroup::writeEntry<int>(QString const&, QList<int> const&, QFlags<KConfigBase::WriteConfigFlag>) (pFlags=..., value=<optimized out>, key=..., this=0x7fffe739c4c0) at /usr/src/debug/kconfig-5.114.0/src/core/kconfiggroup.h:505
#19 KConfigSkeletonGenericItem<QList<int> >::writeConfig(KConfig*) (this=0x55bbb2b4e080, config=<optimized out>) at /usr/src/debug/kconfig-5.114.0/src/core/kcoreconfigskeleton.h:398
#20 0x00007f1b1fd5b93d in KCoreConfigSkeleton::save() (this=this@entry=0x7fffe739cd80) at /usr/src/debug/kconfig-5.114.0/src/core/kcoreconfigskeleton.cpp:1236
#21 0x000055bbb16e178c in POP3Resource::saveSeenUIDList() (this=this@entry=0x7fffe739ccb0) at /usr/src/debug/kdepim-runtime-23.08.4/resources/pop3/pop3resource.cpp:891
#22 0x000055bbb16e1ff8 in POP3Resource::finish() (this=0x7fffe739ccb0) at /usr/src/debug/kdepim-runtime-23.08.4/resources/pop3/pop3resource.cpp:802
#23 0x00007f1b1ef25be2 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffe739c770, r=0x7fffe739ccb0, this=0x55bbb2c6f0c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false>(QObject*, int, void**) (sender=0x55bbb2c9b730, signal_index=6, argv=0x7fffe739c770) at kernel/qobject.cpp:3925
#25 0x00007f1b1ef1e84f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55bbb2c9b730, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffe739c770) at kernel/qobject.cpp:3985
#26 0x00007f1b1fdce4e5 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x55bbb2c9b730, _t1=<optimized out>, _t1@entry=0x55bbb2c9b730, _t2=...) at /usr/src/debug/kcoreaddons-5.114.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#27 0x00007f1b1fdd27eb in KJob::finishJob(bool) (this=0x55bbb2c9b730, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.114.0/src/lib/jobs/kjob.cpp:98
#28 0x00007f1b1ef196f0 in QObject::event(QEvent*) (this=0x55bbb2c9b730, e=0x7f1ae0002bc0) at kernel/qobject.cpp:1347
#29 0x00007f1b1f5a51ae in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55bbb2c9b730, e=0x7f1ae0002bc0) at kernel/qapplication.cpp:3640
#30 0x00007f1b1eeed938 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55bbb2c9b730, event=0x7f1ae0002bc0) at kernel/qcoreapplication.cpp:1064
#31 0x00007f1b1eeedafe in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#32 0x00007f1b1eef0f31 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55bbb2a04f10) at kernel/qcoreapplication.cpp:1821
#33 0x00007f1b1eef1478 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#34 0x00007f1b1ef47063 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55bbb2a75e20) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f1b1da2cf30 in  () at /lib64/libglib-2.0.so.0
#36 0x00007f1b1da2eb58 in  () at /lib64/libglib-2.0.so.0
#37 0x00007f1b1da2f20c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#38 0x00007f1b1ef46876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55bbb2a6e340, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f1b1eeec3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffe739cb60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f1b1eef4860 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x000055bbb16e40e1 in Akonadi::ResourceBase::init<POP3Resource>(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/include/KPim5/AkonadiAgentBase/akonadi/resourcebase.h:184
#42 0x00007f1b1e4281b0 in __libc_start_call_main () at /lib64/libc.so.6
#43 0x00007f1b1e428279 in __libc_start_main_impl () at /lib64/libc.so.6
#44 0x000055bbb16d1ad5 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 2400) detached]

The reporter indicates this bug may be a duplicate of or related to bug 473194.

Reported using DrKonqi