Bug 469714 - Crash when changing currency price precision
Summary: Crash when changing currency price precision
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-13 19:00 UTC by chrisashtear
Modified: 2024-09-11 03:46 UTC (History)
0 users

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


Attachments
attachment-2194296-0.html (1.97 KB, text/html)
2023-05-14 15:00 UTC, chrisashtear
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chrisashtear 2023-05-13 19:00:38 UTC
Application: kmymoney (5.1.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.0-20-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.04
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
USD had somehow gotten set to 4 digits of price precision and trying to change that back to 2 so i didnt have a ton of decimals everywhere resultsd in a crash every time

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault

[KCrash Handler]
#4  0x0000557242b31cf2 in ?? ()
#5  0x00007f05b94f39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f05ba2604a6 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f05ba26071e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f05ba26235c in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f05ba26257b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f05ba1aec28 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f05ba16bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f05ba174612 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f05b94bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f05ba172712 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f05ba1c81cc in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f05ba1cb590 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f05ba16bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f05b94bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f05b994240d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f05b99164bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007f05b2e1c54e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f05b723c49d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f05b7297178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f05b723b1b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f05b9514e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f05b94b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f05ba37ba87 in QDialog::exec() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x0000557242a25fe6 in ?? ()
#29 0x00007f05b94f39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f05ba165546 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f05ba168203 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f05ba2f1342 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f05ba2f924c in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f05ba1aec28 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f05ba16bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f05ba174612 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f05b94bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f05ba172712 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f05ba1c8625 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007f05ba1cb590 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f05ba16bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f05b94bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f05b994240d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#44 0x00007f05b99164bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#45 0x00007f05b2e1c54e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#46 0x00007f05b723c49d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f05b7297178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f05b723b1b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f05b9514e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f05b94b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007f05b94c1c1a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x0000557242a0c28b in ?? ()
#53 0x00007f05b8a23a90 in __libc_start_call_main (main=main@entry=0x557242a0a530, argc=argc@entry=2, argv=argv@entry=0x7ffcd4382958) at ../sysdeps/nptl/libc_start_call_main.h:58
#54 0x00007f05b8a23b49 in __libc_start_main_impl (main=0x557242a0a530, argc=2, argv=0x7ffcd4382958, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcd4382948) at ../csu/libc-start.c:360
#55 0x0000557242a0d8e5 in ?? ()
[Inferior 1 (process 654085) detached]

Reported using DrKonqi
Comment 1 Jack 2023-05-14 00:14:35 UTC
When did this start?  Was it on some upgrade, or just the first time you needed to make that precision change?
At what exact point in the process does it crash?  Clicking somewhere?  Releasing the mouse click?  Since I see references to clicks in the backtrace, can you try the same action, but using keyboard only, no mouse?  Another thing to try is the appimage, just in case there is a packaging problem with the Ubuntu build.
Comment 2 chrisashtear 2023-05-14 15:00:48 UTC
Created attachment 158940 [details]
attachment-2194296-0.html

after you select the precision change, it crashes after you hit ok to
confirm the changes.
It works fine on the windows version, but it doesnt fix the actual thing im
trying to fix, which is that the balance for most accounts show as
$123.030000 . I think this is after a csv/ofx import. Might have to submit
a separate ticket for that

On Sat, May 13, 2023 at 8:14โ€ฏPM Jack <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=469714
>
> Jack <ostroffjh@users.sourceforge.net> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Jack <ostroffjh@users.sourceforge.net> ---
> When did this start?  Was it on some upgrade, or just the first time you
> needed
> to make that precision change?
> At what exact point in the process does it crash?  Clicking somewhere?
> Releasing the mouse click?  Since I see references to clicks in the
> backtrace,
> can you try the same action, but using keyboard only, no mouse?  Another
> thing
> to try is the appimage, just in case there is a packaging problem with the
> Ubuntu build.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Bug Janitor Service 2023-05-29 03:45:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Thomas Baumgart 2023-05-29 08:20:13 UTC
Changed state
Comment 5 Thomas Baumgart 2024-08-12 12:10:39 UTC
I am unable to reproduce this problem in the current master version, so I assume this has been fixed in the meantime. Question to the OP: can you reproduce the problem with current master?
Comment 6 Bug Janitor Service 2024-08-27 03:47:29 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 7 Bug Janitor Service 2024-09-11 03:46:52 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.