Bug 471101 - Crash when enabling "Show Transaction Detail" in the "Tags" view.
Summary: Crash when enabling "Show Transaction Detail" in the "Tags" view.
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-06-16 06:37 UTC by Cory F Cohen
Modified: 2023-06-16 21:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cory F Cohen 2023-06-16 06:37:45 UTC
Application: kmymoney (5.1.80-b3cd1ab27)

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:
Started KMyMoney (built from recent master, commit b3cd1ab2782e9484cd85e7a87d002d92a18c1907)
Opened tags view.
Selected View->"Show Transaction Detail" from menu.
Crashes.

I don't know if there's anything specific about my data file.  I can test again later with an empty/new data file.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  LedgerSortProxyModel::d_func (this=0x801f0fd9) at /home/cory/Source/KMyMoney/kmymoney/models/ledgersortproxymodel.h:30
#5  LedgerSortProxyModel::setHideReconciledTransactions (this=0x801f0fd9, hide=false) at /home/cory/Source/KMyMoney/kmymoney/models/ledgersortproxymodel.cpp:268
#6  0x000055fa37ed1ba9 in operator() (__closure=0x55fa4417c880) at /home/cory/Source/KMyMoney/kmymoney/views/ktagsview.cpp:552
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KTagsView::showEvent(QShowEvent*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<KTagsView::showEvent(QShowEvent*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<KTagsView::showEvent(QShowEvent*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55fa4417c870, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fdd72af39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fdd72af39af in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fdd72af798e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fdd72ae7bf5 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fdd7376bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fdd72abae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fdd72b14201 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fdd72b14aec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fdd7066149d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fdd706bc178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fdd706601b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fdd72b14e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fdd72ab97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fdd72ac1c1a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000055fa37e35fe3 in main (argc=<optimized out>, argv=<optimized out>) at /home/cory/Source/KMyMoney/kmymoney/main.cpp:293
[Inferior 1 (process 328589) detached]

Reported using DrKonqi
Comment 1 Thomas Baumgart 2023-06-16 21:39:23 UTC
Git commit b8e0a9e885fae7e7097554fcced629b93253e374 by Thomas Baumgart.
Committed on 16/06/2023 at 21:39.
Pushed by tbaumgart into branch 'master'.

Fix crash in tags view

M  +1    -0    kmymoney/views/ktagsview.cpp

https://invent.kde.org/office/kmymoney/-/commit/b8e0a9e885fae7e7097554fcced629b93253e374