[kmymoney] [Bug 449974] Maintaining Prices in "Price Editor", deleting empty locations

Ralf Habacker bugzilla_noreply at kde.org
Mon Jun 24 15:10:33 BST 2024


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

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habacker at freenet.de

--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Walter Ogelsby from comment #0)
> Thread 1 (Thread 0x7fac5f894900 (LWP 1980)):
> [KCrash Handler]
> #6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x3)
> at /usr/include/c++/9/bits/atomic_base.h:413
> #7  QAtomicOps<int>::load<int> (_q_value=...) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
> #8  QBasicAtomicInteger<int>::load (this=0x3) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
> #9  QtPrivate::RefCount::ref (this=0x3) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:55

This stack frame indicates that an invalid address is being accessed here,
presumably caused by an instance that has already been released.

> #10 0x00007fac66ebb476 in QMap<QDate, MyMoneyPrice>::QMap
> (this=0x55f4765706c0, other=...) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:622
> #11 0x00007fac66eaf767 in MyMoneyMap<QPair<QString, QString>, QMap<QDate,
> MyMoneyPrice> >::MyMoneyMapAction::MyMoneyMapAction (obj=..., key=...,
> container=0x55f47482f278, this=0x55f4765706b0) at
> ./kmymoney/mymoney/storage/mymoneymap.h:223
> #12 MyMoneyMap<QPair<QString, QString>, QMap<QDate, MyMoneyPrice>
> >::MyMoneyMapRemove::MyMoneyMapRemove (key=..., container=0x55f47482f278,
> this=0x55f4765706b0) at ./kmymoney/mymoney/storage/mymoneymap.h:281
> #13 MyMoneyMap<QPair<QString, QString>, QMap<QDate, MyMoneyPrice> >::remove
> (key=..., this=0x55f47482f278) at ./kmymoney/mymoney/storage/mymoneymap.h:148
> #14 MyMoneyStorageMgr::removePrice (this=<optimized out>, price=...) at
> ./kmymoney/mymoney/storage/mymoneystoragemgr.cpp:1696
> #15 0x00007fac66e256bb in MyMoneyFile::removePrice
> (this=this at entry=0x7fac66f16de0 <MyMoneyFile::file>, price=...) at
> ./kmymoney/mymoney/mymoneyfile.cpp:2953
> #16 0x000055f472b5bae0 in KMyMoneyPriceDlg::slotDeletePrice (this=<optimized
> out>) at /usr/include/c++/9/bits/move.h:182

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


More information about the KMyMoney-devel mailing list