Bug 472059 - Pop3 account crashes on Check Mail
Summary: Pop3 account crashes on Check Mail
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: POP3 Resource (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-07 19:21 UTC by Michael Zeilfelder
Modified: 2023-07-07 19:21 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 Michael Zeilfelder 2023-07-07 19:21:43 UTC
Application: akonadi_pop3_resource (5.15.3 (20.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-23-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux 11 (bullseye)

-- Information about the crash:
- What I was doing when the application crashed:

Started KMail and directly afterwards clicked "Check Mail" button. I got this crash regularly since Debian 11 (sorry, late report... didn't figure out before how to add the debug symbols). My workaround is that I usually slow down - start KMail - wait a few seconds -  and only then click Check Mail. Thought not sure if the crash even does anything that matters, kmail continues to run.

Same crash also often happens if I click Check Mail twice in a row. Thought not always - some days (rather seldom) it allows me to click endless without getting this crash.

- Further info:
Possibly mail database is messed up. It's imported over and over since KDE 2.x times and the amount of times I had to run akonadictl fsck over the years to get rid of other problems (double mails, undeleted mails, etc) is very high.

The crash can be reproduced sometimes.

-- Backtrace:
Application: POP3 Account (akonadi_pop3_resource), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fbeed2b34c0 (LWP 1816))]
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:526
#7  0x00007fbef26cb28b in memmove (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:40
#8  QListData::remove (this=this@entry=0x7fff728c6028, i=<optimized out>, i@entry=0) at tools/qlist.cpp:282
#9  0x00007fbef26cb5d9 in QListData::erase (this=this@entry=0x7fff728c6028, xi=xi@entry=0x558547bdbca0) at tools/qlist.cpp:347
#10 0x0000558545bf13fb in QList<int>::erase (it=..., this=0x7fff728c6028) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:567
#11 POP3Resource::saveSeenUIDList (this=0x7fff728c6b50) at ./resources/pop3/pop3resource.cpp:930
#12 0x0000558545bf3010 in POP3Resource::finish (this=0x7fff728c6b50) at ./resources/pop3/pop3resource.cpp:848
#13 0x00007fbef28a65a6 in QtPrivate::QSlotObjectBase::call (a=0x7fff728c6220, r=0x7fff728c6b50, this=0x558547b9c320) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x558547b54fe0, signal_index=6, argv=argv@entry=0x7fff728c6220) at kernel/qobject.cpp:3886
#15 0x00007fbef289f900 in QMetaObject::activate (sender=sender@entry=0x558547b54fe0, m=m@entry=0x7fbef3382ce0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff728c6220) at kernel/qobject.cpp:3946
#16 0x00007fbef332de7c in KJob::result (this=this@entry=0x558547b54fe0, _t1=<optimized out>, _t1@entry=0x558547b54fe0, _t2=...) at ./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:576
#17 0x00007fbef332e9a3 in KJob::finishJob (this=0x558547b54fe0, emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:93
#18 0x00007fbef333037a in KJob::emitResult (this=<optimized out>) at ./src/lib/jobs/kjob.cpp:297
#19 0x0000558545bfbf3f in SlaveBaseJob::slotSlaveResult (this=0x558547b54fe0, job=0x558547baa8e0) at ./resources/pop3/jobs.cpp:227
#20 0x00007fbef28a65a6 in QtPrivate::QSlotObjectBase::call (a=0x7fff728c6390, r=0x558547b54fe0, this=0x558547b9f880) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x558547baa8e0, signal_index=6, argv=argv@entry=0x7fff728c6390) at kernel/qobject.cpp:3886
#22 0x00007fbef289f900 in QMetaObject::activate (sender=sender@entry=0x558547baa8e0, m=m@entry=0x7fbef3382ce0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff728c6390) at kernel/qobject.cpp:3946
#23 0x00007fbef332de7c in KJob::result (this=this@entry=0x558547baa8e0, _t1=<optimized out>, _t1@entry=0x558547baa8e0, _t2=...) at ./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:576
#24 0x00007fbef332e9a3 in KJob::finishJob (this=0x558547baa8e0, emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:93
#25 0x00007fbef28a65a6 in QtPrivate::QSlotObjectBase::call (a=0x7fff728c6470, r=0x558547baa8e0, this=0x558547b5b360) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#26 doActivate<false> (sender=0x558547babb50, signal_index=7, argv=0x7fff728c6470, argv@entry=0x0) at kernel/qobject.cpp:3886
#27 0x00007fbef289f900 in QMetaObject::activate (sender=sender@entry=0x558547babb50, m=m@entry=0x7fbef361af20 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#28 0x00007fbef35572f3 in KIO::SlaveInterface::finished (this=this@entry=0x558547babb50) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:464
#29 0x00007fbef35592c0 in KIO::SlaveInterface::dispatch (this=0x558547babb50, _cmd=104, rawdata=...) at ./src/core/slaveinterface.cpp:148
#30 0x00007fbef3557b09 in KIO::SlaveInterface::dispatch (this=0x558547babb50) at ./src/core/slaveinterface.cpp:77
#31 0x00007fbef355b42a in KIO::Slave::gotInput (this=0x558547babb50) at ./src/core/slave.cpp:394
#32 0x00007fbef28a65a6 in QtPrivate::QSlotObjectBase::call (a=0x7fff728c66d0, r=0x558547babb50, this=0x558547b02aa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x558547bcca90, signal_index=3, argv=0x7fff728c66d0) at kernel/qobject.cpp:3886
#34 0x00007fbef289bff1 in QObject::event (this=0x558547bcca90, e=0x558547bab2b0) at kernel/qobject.cpp:1314
#35 0x00007fbef2c7015f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x558547bcca90, e=0x558547bab2b0) at kernel/qapplication.cpp:3632
#36 0x00007fbef286ffca in QCoreApplication::notifyInternal2 (receiver=0x558547bcca90, event=0x558547bab2b0) at kernel/qcoreapplication.cpp:1063
#37 0x00007fbef2872a01 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558547a4d980) at kernel/qcoreapplication.cpp:1817
#38 0x00007fbef28c7e93 in postEventSourceDispatch (s=0x558547b1f9e0) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fbef0ab5e6b in g_main_dispatch (context=0x7fbee8005000) at ../../../glib/gmain.c:3325
#40 g_main_context_dispatch (context=0x7fbee8005000) at ../../../glib/gmain.c:4043
#41 0x00007fbef0ab6118 in g_main_context_iterate (context=context@entry=0x7fbee8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#42 0x00007fbef0ab61cf in g_main_context_iteration (context=0x7fbee8005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#43 0x00007fbef28c751f in QEventDispatcherGlib::processEvents (this=0x558547b17040, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fbef286e98b in QEventLoop::exec (this=this@entry=0x7fff728c6ac0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007fbef2876c00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007fbef1ae0bdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007fbef2c700d5 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x00007fbef38ebfd5 in Akonadi::ResourceBase::init (r=...) at ./src/agentbase/resourcebase.cpp:561
#49 0x0000558545bfb563 in Akonadi::ResourceBase::init<POP3Resource> (argc=<optimized out>, argv=0x7fff728c6b50) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:186
#50 0x00007fbef2228d0a in __libc_start_main (main=0x558545bec7e0 <main(int, char**)>, argc=3, argv=0x7fff728c6ea8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff728c6e98) at ../csu/libc-start.c:308
#51 0x0000558545bec81a in _start ()
[Inferior 1 (process 1816) detached]

Possible duplicates by query: bug 470450, bug 465077, bug 461723, bug 453371, bug 446412.

Reported using DrKonqi