[Akonadi] [Bug 496002] New: Akonadi maildir ressouce crashed on user update

Christoph Thielecke bugzilla_noreply at kde.org
Sat Nov 9 10:32:33 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496002

            Bug ID: 496002
           Summary: Akonadi maildir ressouce crashed on user update
    Classification: Frameworks and Libraries
           Product: Akonadi
           Version: unspecified
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: Maildir Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: crissi99 at gmx.de
                CC: carl at carlschwan.eu
  Target Milestone: ---

Application: akonadi_maildir_resource (5.24.5 (23.08.5))

Qt Version: 6.6.2
Frameworks Version: 6.6.0
Operating System: Linux 6.11.0-1005-lowlatency x86_64
Windowing System: X11
Distribution: Ubuntu 24.10
DrKonqi: 6.1.5 [KCrashBackend]

-- Information about the crash:
I have multiple maildir instances. When I click on update all one maildir
ressource crashes.
A restart brings it back working.

The crash can be reproduced every time.

-- Backtrace:
Application: christoph.thielecke at gmx.de (akonadi_maildir_resource), signal:
Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x000071c8bac9ce99 in QHash<QByteArray, Akonadi::Attribute*>::findNode
(ahp=0x0, akey=..., this=0x40) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:945
#7  QHash<QByteArray, Akonadi::Attribute*>::contains (akey=..., this=0x40) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:920
#8  Akonadi::AttributeStorage::hasAttribute (this=0x40, type=...) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/core/attributestorage.cpp:69
#9  0x000071c8bacbb570 in Akonadi::Collection::hasAttribute
(this=this at entry=0x5d16137371a0, type=...) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/core/collection.cpp:163
#10 0x000071c8bb011980 in
Akonadi::Collection::hasAttribute<Akonadi::SpecialCollectionAttribute>
(this=0x5d16137371a0) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/core/collection.h:595
#11 (anonymous namespace)::sortCollectionsForSync (l=..., r=...) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/agentbase/resourcebase.cpp:855
#12 0x000071c8bb016290 in __gnu_cxx::__ops::_Iter_comp_iter<bool
(*)(Akonadi::Collection const&, Akonadi::Collection
const&)>::operator()<QTypedArrayData<Akonadi::Collection>::iterator,
QTypedArrayData<Akonadi::Collection>::iterator> (__it2=..., __it1=...,
this=<synthetic pointer>) at /usr/include/c++/13/bits/predefined_ops.h:158
#13 std::__unguarded_partition<QTypedArrayData<Akonadi::Collection>::iterator,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&,
Akonadi::Collection const&)> > (__comp=..., __pivot=..., __last=...,
__first=...) at /usr/include/c++/13/bits/stl_algo.h:1880
#14
std::__unguarded_partition_pivot<QTypedArrayData<Akonadi::Collection>::iterator,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&,
Akonadi::Collection const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/13/bits/stl_algo.h:1899
#15 std::__introsort_loop<QTypedArrayData<Akonadi::Collection>::iterator, int,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&,
Akonadi::Collection const&)> > (__first=..., __last=...,
__depth_limit=<optimized out>, __comp=__comp at entry=...) at
/usr/include/c++/13/bits/stl_algo.h:1930
#16 0x000071c8bb00f8d2 in
std::__sort<QTypedArrayData<Akonadi::Collection>::iterator,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&,
Akonadi::Collection const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/13/bits/stl_algo.h:1947
#17 std::sort<QTypedArrayData<Akonadi::Collection>::iterator, bool
(*)(Akonadi::Collection const&, Akonadi::Collection const&)> (__first=...,
__last=..., __comp=0x71c8bb011850 <(anonymous
namespace)::sortCollectionsForSync(Akonadi::Collection const&,
Akonadi::Collection const&)>) at /usr/include/c++/13/bits/stl_algo.h:4894
#18 Akonadi::ResourceBasePrivate::slotLocalListDone (this=0x5d1611f9b750,
job=<optimized out>) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/agentbase/resourcebase.cpp:897
#19 0x000071c8ba12488e in QtPrivate::QSlotObjectBase::call
(this=0x5d161271ff80, r=<optimized out>, a=0x7ffc21f41420) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x5d1612717720, signal_index=6,
argv=0x7ffc21f41420) at kernel/qobject.cpp:3925
#21 0x000071c8ba11cf27 in QMetaObject::activate
(sender=sender at entry=0x5d1612717720, m=<optimized out>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x7ffc21f41420)
at kernel/qobject.cpp:3985
#22 0x000071c8bae9c266 in KJob::result (this=this at entry=0x5d1612717720,
_t1=<optimized out>, _t1 at entry=0x5d1612717720, _t2=...) at
/usr/src/kcoreaddons-5.116.0-0ubuntu1/obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#23 0x000071c8baea20eb in KJob::finishJob (this=0x5d1612717720,
emitResult=<optimized out>) at
/usr/src/kcoreaddons-5.116.0-0ubuntu1/src/lib/jobs/kjob.cpp:98
#24 0x000071c8ba1178b3 in QObject::event (this=0x5d1612717720,
e=0x5d16127066a0) at kernel/qobject.cpp:1347
#25 0x000071c8ba56bef5 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5d1612717720, e=0x5d16127066a0) at
kernel/qapplication.cpp:3640
#26 0x000071c8ba0e8c98 in QCoreApplication::notifyInternal2
(receiver=0x5d1612717720, event=0x5d16127066a0) at
kernel/qcoreapplication.cpp:1064
#27 0x000071c8ba0e8ec2 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#28 0x000071c8ba0ec394 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5d1611d15f00) at
kernel/qcoreapplication.cpp:1821
#29 0x000071c8ba0ec84d in QCoreApplication::sendPostedEvents
(receiver=<optimized out>, event_type=<optimized out>) at
kernel/qcoreapplication.cpp:1680
#30 0x000071c8ba1484af in postEventSourceDispatch (s=0x5d1611eadc10) at
kernel/qeventdispatcher_glib.cpp:277
#31 0x000071c8b9d10397 in g_main_dispatch (context=0x71c8ac000ed0) at
../../../glib/gmain.c:3357
#32 0x000071c8b9d70dc7 in g_main_context_dispatch_unlocked
(context=0x71c8ac000ed0) at ../../../glib/gmain.c:4208
#33 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x71c8ac000ed0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4273
#34 0x000071c8b9d0f8b3 in g_main_context_iteration (context=0x71c8ac000ed0,
may_block=1) at ../../../glib/gmain.c:4338
#35 0x000071c8ba147afd in QEventDispatcherGlib::processEvents
(this=0x5d1611e9ff70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x000071c8ba0e75ab in QEventLoop::exec (this=this at entry=0x7ffc21f418c0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x000071c8ba0f0286 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x000071c8b8b3db7d in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1863
#39 0x000071c8ba56be69 in QApplication::exec () at kernel/qapplication.cpp:2832
#40 0x000071c8bb00ad1c in Akonadi::ResourceBase::init (r=...) at
/usr/src/akonadi-4:23.08.5-0ubuntu3/src/agentbase/resourcebase.cpp:555
#41 0x00005d15f149c874 in Akonadi::ResourceBase::init<MaildirResource>
(argv=<optimized out>, argc=<optimized out>) at
/usr/include/KPim5/AkonadiAgentBase/akonadi/resourcebase.h:184
#42 main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/kdepim-runtime-4:23.08.5-0ubuntu3/resources/maildir/main.cpp:9
[Inferior 1 (process 78190) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list