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

Sascha bugzilla_noreply at kde.org
Sat Sep 20 09:24:15 BST 2025


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

            Bug ID: 509701
           Summary: Wrong date format in transaction leads to crash
    Classification: Applications
           Product: kmymoney
      Version First 5.2.1
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: spokede at gmail.com
  Target Milestone: ---

SUMMARY

When changing the date for a transaction e.g. into the wrong "01.01.01.2001",
kMyMoney consistently crashes immediately.

STEPS TO REPRODUCE
1. Create a new transaction or edit an existing one
2. Select date
3. Change to non-date format

OBSERVED RESULT

Immediate crash

EXPECTED RESULT

Error message/highlighted problem in the date field

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.1
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Backtrace:
#0  0x00007ffff54a9967 in QString::append(QChar) () from /lib64/libQt6Core.so.6
#1  0x00007ffff7ce6ecd in ?? () from /lib64/libkmm_base_widgets.so.5
#2  0x00007ffff7ce7905 in ?? () from /lib64/libkmm_base_widgets.so.5
#3  0x00007ffff542fb14 in ?? () from /lib64/libQt6Core.so.6
#4  0x00007ffff6783bfb in QLineEdit::textChanged(QString const&) () from
/lib64/libQt6Widgets.so.6
#5  0x00007ffff542fb14 in ?? () from /lib64/libQt6Core.so.6
#6  0x00007ffff678d9fe in QWidgetLineControl::textChanged(QString const&) ()
from /lib64/libQt6Widgets.so.6
#7  0x00007ffff679271c in QWidgetLineControl::finishChange(int, bool, bool) ()
from /lib64/libQt6Widgets.so.6
#8  0x00007ffff67958ef in QWidgetLineControl::processKeyEvent(QKeyEvent*) ()
from /lib64/libQt6Widgets.so.6
#9  0x00007ffff6781abd in QLineEdit::keyPressEvent(QKeyEvent*) () from
/lib64/libQt6Widgets.so.6
#10 0x00007ffff663caf1 in QWidget::event(QEvent*) () from
/lib64/libQt6Widgets.so.6
#11 0x00007ffff7ce981b in KMyMoneyDateEdit::keyPressEvent(QKeyEvent*) () from
/lib64/libkmm_base_widgets.so.5
#12 0x00007ffff663caf1 in QWidget::event(QEvent*) () from
/lib64/libQt6Widgets.so.6
#13 0x00007ffff65e37a8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /lib64/libQt6Widgets.so.6
#14 0x00007ffff65e79b4 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt6Widgets.so.6
#15 0x00007ffff53c8928 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#16 0x00007ffff6657aea in ?? () from /lib64/libQt6Widgets.so.6
#17 0x00007ffff65e37a8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /lib64/libQt6Widgets.so.6
#18 0x00007ffff53c8928 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#19 0x00007ffff5c29f13 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
    () from /lib64/libQt6Gui.so.6
#20 0x00007ffff5c9cecb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
#21 0x00007ffff5c9d067 in
QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x00007ffff541ce34 in QObject::event(QEvent*) () from
/lib64/libQt6Core.so.6
#23 0x00007ffff65e37a8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /lib64/libQt6Widgets.so.6
#24 0x00007ffff53c8928 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#25 0x00007ffff53cacc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /lib64/libQt6Core.so.6
#26 0x00007ffff56818a7 in ?? () from /lib64/libQt6Core.so.6
#27 0x00007fffe73090b6 in g_main_dispatch (context=0x7fffd8000f70) at
../glib/gmain.c:3398
#28 g_main_context_dispatch_unlocked (context=context at entry=0x7fffd8000f70) at
../glib/gmain.c:4249
#29 0x00007fffe730aee8 in g_main_context_iterate_unlocked
(context=context at entry=0x7fffd8000f70, 
    block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../glib/gmain.c:4314
#30 0x00007fffe730b72c in g_main_context_iteration (context=0x7fffd8000f70,
may_block=1)
    at ../glib/gmain.c:4379
#31 0x00007ffff567f978 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /lib64/libQt6Core.so.6
#32 0x00007ffff53d6003 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /lib64/libQt6Core.so.6
#33 0x00007ffff53cd143 in QCoreApplication::exec() () from
/lib64/libQt6Core.so.6
#34 0x000055555563b948 in ?? ()
#35 0x00007ffff4a2b2fb in __libc_start_call_main
(main=main at entry=0x55555563a370, argc=argc at entry=1, 
    argv=argv at entry=0x7fffffffd848) at
../sysdeps/nptl/libc_start_call_main.h:58
#36 0x00007ffff4a2b3cb in __libc_start_main_impl (main=0x55555563a370, argc=1,
argv=0x7fffffffd848, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffd838)
    at ../csu/libc-start.c:360
#37 0x000055555563c295 in ?? ()

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


More information about the KMyMoney-devel mailing list