Bug 507774 - KMyMoney crashes when editing account details
Summary: KMyMoney crashes when editing account details
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (other bugs)
Version First Reported In: 5.2.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-02 08:53 UTC by Szőts Ákos
Modified: 2025-09-13 03:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szőts Ákos 2025-08-02 08:53:09 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Open a .kmy file
2. Accounts on the left > Select an account from the list > Right click > Edit account
3. Crash

OBSERVED RESULT

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=0x6, no_tid=no_tid@entry=0x0) at pthread_kill.c:44
#1  0x00007ffff4a9c6f3 in __pthread_kill_internal (threadid=<optimized out>, signo=0x6) at pthread_kill.c:89
#2  0x00007ffff4a42106 in __GI_raise (sig=sig@entry=0x6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff4a2938b in __GI_abort () at abort.c:73
#4  0x00007ffff4eb2cb4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x00007ffff4ec531c in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x00007ffff4eb283a in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#7  0x00007ffff4ec55c8 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7ffff5059ab8 <typeinfo for std::bad_alloc>, dest=0x7ffff4ec3740 <std::bad_alloc::~bad_alloc()>)
    at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:98
#8  0x00007ffff52f2db9 in qBadAlloc () at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qassert.cpp:171
#9  0x00007ffff5311685 in QArrayDataPointer<char16_t>::reallocateAndGrow (this=0x55555b82e5f0, where=QArrayData::GrowsAtEnd, n=0x1, old=0x0)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/tools/qarraydatapointer.h:230
#10 0x00007ffff54874cf in QArrayDataPointer<char16_t>::detachAndGrow (this=0x55555b82e5f0, where=QArrayData::GrowsAtEnd, n=0x1, data=0x0, old=0x0)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/tools/qarraydatapointer.h:209
#11 QString::append (this=0x55555b82e5f0, ch=..., ch@entry=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/text/qstring.cpp:3250
#12 0x00007ffff7ce0b6d in KMyMoneyDateEditPrivate::editParts (this=0x55555b82dfa0) at /usr/src/debug/kmymoney-5.2.0/kmymoney/widgets/kmymoneydateedit.cpp:154
#13 KMyMoneyDateEditPrivate::fixupDate (this=0x55555b82dfa0) at /usr/src/debug/kmymoney-5.2.0/kmymoney/widgets/kmymoneydateedit.cpp:178
#14 0x00007ffff7ce2563 in KMyMoneyDateEdit::setDate (this=this@entry=0x55555b7ef900, date=...) at /usr/src/debug/kmymoney-5.2.0/kmymoney/widgets/kmymoneydateedit.cpp:451
#15 0x00007ffff7ce2a44 in KMyMoneyDateEdit::KMyMoneyDateEdit (this=this@entry=0x55555b7ef900, parent=<optimized out>, this=<optimized out>, parent=<optimized out>)
    at /usr/src/debug/kmymoney-5.2.0/kmymoney/widgets/kmymoneydateedit.cpp:427
#16 0x00007ffff7d940e1 in Ui_KNewAccountDlg::setupUi (this=0x55555ac5f090, KNewAccountDlg=0x55555b7a1e80) at /usr/src/debug/kmymoney-5.2.0/build/kmymoney/dialogs/ui_knewaccountdlg.h:254
#17 0x00007ffff7d9bd71 in KNewAccountDlgPrivate::init (this=this@entry=0x55555b748ed0) at /usr/src/debug/kmymoney-5.2.0/kmymoney/dialogs/knewaccountdlg.cpp:87
#18 0x00007ffff7da0af6 in KNewAccountDlg::KNewAccountDlg
    (this=this@entry=0x55555b7a1e80, account=..., isEditing=isEditing@entry=0x1, categoryEditor=categoryEditor@entry=0x0, parent=parent@entry=0x0, title=..., this=<optimized out>, account=<optimized out>, isEditing=<optimized out>, categoryEditor=<optimized out>, parent=<optimized out>, title=<optimized out>)
    at /usr/src/debug/kmymoney-5.2.0/kmymoney/dialogs/knewaccountdlg.cpp:756
#19 0x000055555568bcfb in KAccountsViewPrivate::editAccount (this=0x5555561ee7a0) at /usr/src/debug/kmymoney-5.2.0/kmymoney/views/kaccountsview_p.h:192
#20 0x00007ffff54199a1 in QtPrivate::QSlotObjectBase::call (this=0x555556272bd0, r=<optimized out>, a=0x7fffffffa3b0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#21 doActivate<false> (sender=0x555555c7f7b0, signal_index=0x7, argv=0x7fffffffa3b0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#22 0x00007ffff5fcb8e6 in QMetaObject::activate<void, bool>
    (sender=0x555555c7f7b0, mo=0x7ffff634cbc0, local_signal_index=0x4, ret=0x0, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs.h:306
#23 QAction::triggered (this=this@entry=0x555555c7f7b0, _t1=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/build/src/gui/Gui_autogen/include/moc_qaction.cpp:372
#24 0x00007ffff5fd150a in QAction::activate (this=0x555555c7f7b0, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/gui/kernel/qaction.cpp:1104
#25 0x00007ffff67b0b54 in ??? () at /lib64/libQt6Widgets.so.6
#26 0x00007ffff67b14d1 in ??? () at /lib64/libQt6Widgets.so.6
#27 0x00007ffff662f4b3 in QWidget::event(QEvent*) () at /lib64/libQt6Widgets.so.6
#28 0x00007ffff65e0d9a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#29 0x00007ffff65e68ad in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#30 0x00007ffff53b8b28 in QCoreApplication::notifyInternal2 (receiver=0x555555cc76b0, event=0x7fffffffaa20)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1106
#31 0x00007ffff65e518b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt6Widgets.so.6
#32 0x00007ffff664b6bb in ??? () at /lib64/libQt6Widgets.so.6
#33 0x00007ffff66467c8 in ??? () at /lib64/libQt6Widgets.so.6
#34 0x00007ffff65e0d9a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#35 0x00007ffff53b8b28 in QCoreApplication::notifyInternal2 (receiver=0x55555b7df1b0, event=0x7fffffffae50)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1106
#36 0x00007ffff53b917d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1560
#37 0x00007ffff5c1d48d in QGuiApplicationPrivate::processMouseEvent (e=0x55555b7ea130) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/gui/kernel/qguiapplication.cpp:2476
#38 0x00007ffff5c8052c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/gui/kernel/qwindowsysteminterface.cpp:1113
#39 0x00007fffdbd8b03e in xcbSourceDispatch (source=source@entry=0x5555559ef040) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#40 0x00007fffe73c0eb3 in g_main_dispatch (context=0x7fffd4000f00) at ../glib/gmain.c:3398
#41 g_main_context_dispatch_unlocked (context=context@entry=0x7fffd4000f00) at ../glib/gmain.c:4249
#42 0x00007fffe73c2ce8 in g_main_context_iterate_unlocked (context=context@entry=0x7fffd4000f00, block=block@entry=0x1, dispatch=dispatch@entry=0x1, self=<optimized out>)
    at ../glib/gmain.c:4314
#43 0x00007fffe73c352c in g_main_context_iteration (context=0x7fffd4000f00, may_block=0x1) at ../glib/gmain.c:4379
#44 0x00007ffff561de83 in QEventDispatcherGlib::processEvents (this=0x555555a4c6c0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#45 0x00007ffff53c3afb in QEventLoop::exec (this=0x7fffffffb240, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#46 0x00007ffff67b4acd in ??? () at /lib64/libQt6Widgets.so.6
#47 0x00007ffff67b4c30 in QMenu::exec(QPoint const&, QAction*) () at /lib64/libQt6Widgets.so.6
#48 0x000055555563ff50 in KMyMoneyApp::KMyMoneyApp(QWidget*)::{lambda(eMenu::Menu, QPoint const&)#1}::operator()(eMenu::Menu, QPoint const&) const [clone .lto_priv.0] ()
    at /usr/src/debug/kmymoney-5.2.0/kmymoney/kmymoney.cpp:1086
#49 0x00007ffff54199a1 in QtPrivate::QSlotObjectBase::call (this=0x555556562290, r=<optimized out>, a=0x7fffffffb550, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#50 doActivate<false> (sender=0x555555da4720, signal_index=0x14, argv=0x7fffffffb550) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#51 0x00005555556c183b in QMetaObject::activate<void, eMenu::Menu, QPoint>
    (sender=<optimized out>, mo=<optimized out>, local_signal_index=0x9, ret=0x0, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs.h:306
#52 KMyMoneyView::requestCustomContextMenu (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>)
    at /usr/src/debug/kmymoney-5.2.0/build/kmymoney/views/views_autogen/include/moc_kmymoneyview.cpp:388
#53 0x00007ffff54199a1 in QtPrivate::QSlotObjectBase::call (this=0x555556491fc0, r=<optimized out>, a=0x7fffffffb680, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#54 doActivate<false> (sender=0x5555561ed7a0, signal_index=0x8, argv=0x7fffffffb680) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#55 0x00007ffff7df638b in QMetaObject::activate<void, eMenu::Menu, QPoint> (sender=<optimized out>, mo=0x7ffff7e10b80, local_signal_index=0x1, ret=0x0)
    at /usr/include/qt6/QtCore/qobjectdefs.h:306
#56 KMyMoneyViewBase::requestCustomContextMenu (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>)
    at /usr/src/debug/kmymoney-5.2.0/build/kmymoney/widgets/kmm_widgets_autogen/EWIEGA46WW/moc_kmymoneyviewbase.cpp:213
#57 0x00007ffff54199a1 in QtPrivate::QSlotObjectBase::call (this=0x555556267840, r=<optimized out>, a=0x7fffffffb7b0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#58 doActivate<false> (sender=0x5555561ef300, signal_index=0x12, argv=0x7fffffffb7b0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#59 0x00007ffff7cb18eb in QMetaObject::activate<void, eMenu::Menu, QPoint> (sender=<optimized out>, mo=0x7ffff7d29a00, local_signal_index=0x1, ret=0x0)
    at /usr/include/qt6/QtCore/qobjectdefs.h:306


EXPECTED RESULT

Account details window is shown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250702
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-1-default (64-bit)
Graphics Platform: X11
Comment 1 Jack 2025-08-14 23:17:15 UTC
Out of curiosity, does this still happen with 5.2.1?
Comment 2 Bug Janitor Service 2025-08-29 03:47:51 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-09-13 03:48:30 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.