[kmymoney] [Bug 509701] Wrong date format in transaction leads to crash

Jack bugzilla_noreply at kde.org
Sat Sep 20 20:16:05 BST 2025


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

Jack <ostroffjh at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Jack <ostroffjh at users.sourceforge.net> ---
I can confirm with kmymoney 5.2.70-8edfeeb23 just built from master branch. 
Not sure if this bt might be more useful.  If I place the cursor on the first 2
of 2025 and type 11/ it crashes on typing the slash.  If I delete 2025 and type
11/2 it crashes on typing the 2.

#0  0x00007ffff5476aec in ?? () from /usr/lib/libQt6Core.so.6
#1  0x00007ffff545a1a0 in QString::append(QChar) () from
/usr/lib/libQt6Core.so.6
#2  0x00007ffff7c89826 in KMyMoneyDateEditPrivate::editParts
(this=0x555557072180)
    at
/home/jack/KDE/KMM/kmymoney/kmymoney/kmymoney/widgets/kmymoneydateedit.cpp:156
#3  KMyMoneyDateEditPrivate::fixupDate (this=0x555557072180) at
/home/jack/KDE/KMM/kmymoney/kmymoney/kmymoney/widgets/kmymoneydateedit.cpp:180
#4  0x00007ffff7c86455 in operator() (__closure=0x555557072650, text=...) at
/home/jack/KDE/KMM/kmymoney/kmymoney/kmymoney/widgets/kmymoneydateedit.cpp:421
#5  operator() (__closure=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#6  QtPrivate::FunctorCallBase::call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>,
QtPrivate::List<const QString&>, void, 
KMyMoneyDateEdit::KMyMoneyDateEdit(QWidget*)::<lambda(const QString&)>
>::call(KMyMoneyDateEdit::KMyMoneyDateEdit(QWidget*)::<lambda(const
QString&)>&, void**)
::<lambda()> > (args=<optimized out>, fn=...) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#7  QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>,
QtPrivate::List<const QString&>, void,
KMyMoneyDateEdit::KMyMoneyDateEdit(QWidget*)::<l
ambda(const QString&)> >::call (f=..., arg=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:115
#8 
QtPrivate::FunctorCallable<KMyMoneyDateEdit::KMyMoneyDateEdit(QWidget*)::<lambda(const
QString&)>, const QString&>::call<QtPrivate::List<QString const&>, v
oid> (f=..., arg=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:337
#9 
QtPrivate::QCallableObject<KMyMoneyDateEdit::KMyMoneyDateEdit(QWidget*)::<lambda(const
QString&)>, QtPrivate::List<const QString&>, void>::impl(int, QtPriv
ate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>,
this_=0x555557072640, r=<optimized out>, a=<optimized out>, ret=<optimized
out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#10 0x00007ffff53d2a37 in ?? () from /usr/lib/libQt6Core.so.6
#11 0x00007ffff66b0cbc in QLineEdit::textChanged(QString const&) () from
/usr/lib/libQt6Widgets.so.6
#12 0x00007ffff53d2a37 in ?? () from /usr/lib/libQt6Core.so.6
#13 0x00007ffff66c04fa in QWidgetLineControl::finishChange(int, bool, bool) ()
from /usr/lib/libQt6Widgets.so.6
#14 0x00007ffff66c2cc0 in QWidgetLineControl::processKeyEvent(QKeyEvent*) ()
from /usr/lib/libQt6Widgets.so.6
#15 0x00007ffff66ad43d in QLineEdit::keyPressEvent(QKeyEvent*) () from
/usr/lib/libQt6Widgets.so.6
#16 0x00007ffff655a73a in QWidget::event(QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#17 0x00007ffff7c87183 in KMyMoneyDateEdit::keyPressEvent (this=0x555557031000,
keyEvent=0x7fffffffd470)
    at
/home/jack/KDE/KMM/kmymoney/kmymoney/kmymoney/widgets/kmymoneydateedit.cpp:644
#18 0x00007ffff655a73a in QWidget::event(QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#19 0x00007ffff6501c99 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#20 0x00007ffff6505b51 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#21 0x00007ffff5367f28 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#22 0x00007ffff65773bb in ?? () from /usr/lib/libQt6Widgets.so.6
#23 0x00007ffff6501c99 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#24 0x00007ffff5367f28 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#25 0x00007ffff5b9afac in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib/libQt6Gui.so.6
#26 0x00007ffff5c226b4 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt6Gui.so.6
#27 0x00007ffff5c11c97 in
QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt6Gui.so.6
#28 0x00007ffff53c0334 in QObject::event(QEvent*) () from
/usr/lib/libQt6Core.so.6
#29 0x00007ffff6501c99 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#30 0x00007ffff5367f28 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#31 0x00007ffff53682db in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt6Core.so.6
#32 0x00007ffff563a620 in ?? () from /usr/lib/libQt6Core.so.6
#33 0x00007fffe7b05b48 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007fffe7b06eff in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fffe7b07082 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#36 0x00007ffff5636e3b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#37 0x00007ffff53741a5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#38 0x00007ffff536c44b in QCoreApplication::exec() () from
/usr/lib/libQt6Core.so.6
#39 0x000055555561893e in main (argc=<optimized out>, argv=<optimized out>) at
/home/jack/KDE/KMM/kmymoney/kmymoney/kmymoney/main.cpp:289

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


More information about the KMyMoney-devel mailing list