new crash in master

Thomas Baumgart thb at net-bembel.de
Mon Aug 8 09:58:58 BST 2022


Jack,

is this still hapenning or solved due to recent changes?

Thomas

On Montag, 11. Juli 2022 22:54:25 CEST Jack Ostroff via KMyMoney-devel wrote:

> First, thanks for all the help and quick work dealing with everything  
> I've been adding to Issue 61.  All my original crashes and other issues  
> are fixed or are  being worked on.  This was all for reconciling a  
> bunch of investment accounts and a checking account, so it was a pretty  
> good exercise of most of what I do with KMM.
> 
> This is a new crash over the past few days.  It's pretty consistent:   
> start KMM, go the the ledger for an investment account, click  on the  
> Investments View, crash.  So far, I only found two accounts which do  
> this.  If I start with the Investments View and select the account,  
> then go to the Ledger and back, no crash.  If I select any other  
> investment account first, I can 't get it to crash.  I just finished  
> reconciling a whole bunch of my investment accounts, so it doesn't seem  
> likely there is anything seriously wrong with any of them, including  
> the one that triggers the crash.
> 
> The BT:
> 
> #1  0x00007ffff5e59cf0 in QSortFilterProxyModel::data(QModelIndex  
> const&, int) const () at /usr/lib64/libQt5Core.so.5
> #2  0x0000555555644da6 in QModelIndex::data(int) const (arole=256,  
> this=0x7fffffffd140) at /usr/include/qt5/QtCore/qabstractitemmodel.h:460
> #3  operator()(QModelIndex const&, QModelIndex const&) const  
> (__closure=0x55555f020bf0, current=<optimized out>, previous=<optimized  
> out>)
>      at  
> /var/tmp/portage/app-office/kmymoney-9999/work/kmymoney-9999/kmymoney/views/kinvestmentview.cpp:129
> #4  0x0000555555645074 in  
> QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>,  
> QtPrivate::List<const QModelIndex&, const QModelIndex&>, void,  
> KInvestmentView::showEvent(QShowEvent*)::<lambda(const QModelIndex&,  
> const QM
> odelIndex&)> >::call (arg=<optimized out>, f=<optimized out>) at  
> /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
> #5   
> QtPrivate::Functor<KInvestmentView::showEvent(QShowEvent*)::<lambda(const  
> QModelIndex&, const QModelIndex&)>,  
> 2>::call<QtPrivate::List<QModelIndex const&, QModelIndex const&>, void>
>      (arg=<optimized out>, f=<optimized out>) at  
> /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
> #6   
> QtPrivate::QFunctorSlotObject<KInvestmentView::showEvent(QShowEvent*)::<lambda(const  
> QModelIndex&, const QModelIndex&)>, 2, QtPrivate::List<const  
> QModelIndex&, const QModelIndex&>, void>::impl(int, QtPrivate::QSlotO
> bjectBase *, QObject *, void **, bool *) (which=<optimized out>,  
> this_=<optimized out>, r=<optimized out>, a=<optimized out>,  
> ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
> #7  0x00007ffff5eac4e6 in QObject::event(QEvent*) () at  
> /usr/lib64/libQt5Core.so.5
> #8  0x00007ffff69639af in QApplicationPrivate::notify_helper(QObject*,  
> QEvent*) () at /usr/lib64/libQt5Widgets.so.5
> #9  0x00007ffff5e80b38 in QCoreApplication::notifyInternal2(QObject*,  
> QEvent*) () at /usr/lib64/libQt5Core.so.5
> #10 0x00007ffff5e841c5 in  
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)  
> () at /usr/lib64/libQt5Core.so.5
> #11 0x00007ffff5ed33c3 in  () at /usr/lib64/libQt5Core.so.5
> #12 0x00007ffff3d9160b in g_main_context_dispatch () at  
> /usr/lib64/libglib-2.0.so.0
> #13 0x00007ffff3d918c8 in  () at /usr/lib64/libglib-2.0.so.0
> #14 0x00007ffff3d9197f in g_main_context_iteration () at  
> /usr/lib64/libglib-2.0.so.0
> #15 0x00007ffff5ed2e54 in  
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  
> () at /usr/lib64/libQt5Core.so.5
> #16 0x00007ffff5e7f51b in  
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at  
> /usr/lib64/libQt5Core.so.5
> #17 0x00007ffff5e87b7d in QCoreApplication::exec() () at  
> /usr/lib64/libQt5Core.so.5
> #18 0x00005555555d7066 in runKMyMoney(QApplication&, QUrl const&, bool)  
> (a=..., file=..., noFile=noFile at entry=false) at  
> /var/tmp/portage/app-office/kmymoney-9999/work/kmymoney-9999/kmymoney/main.cpp:385
> #19 0x00005555555d8620 in main(int, char**) (argc=<optimized out>,  
> argv=<optimized out>) at  
> /var/tmp/portage/app-office/kmymoney-9999/work/kmymoney-9999/kmymoney/main.cpp:294
> 
> Console output might have another hint:
> First, when opening the investment account in the ledger:
> 
> No selections
> current selection
> Institutions: ("I000005")
> Accounts: ("A000344")
> JournalEntries: ("2022-07-01-T000000000000025933-S0002")
> current selection
> Institutions: ("I000005")
> Accounts: ("A000344")
> JournalEntries: ("2022-07-01-T000000000000025933-S0002")
> 
> That transaction is just the last transaction displayed in the ledger  
> for that account.  Then, when selecting the Investments View:
> 
> No selections
> No selections
> No selections
> QSortFilterProxyModel: index from wrong model passed to mapFromSource
> 
> Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff5e59a37 in ?? () from /usr/lib64/libQt5Core.so.5
> 
> The mentioned transaction is a Dividend transaction in both cases, one  
> marked as imported (not yet accepted) but accepted and reconciled in  
> the other account.
> 
> Anything else I can do to help troubleshoot?  This is with kmymoney  
> 5.1.80-aa17abb7e.
> 
> Jack
> 
> 

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
Programming is like sex: One mistake and you have to
support it for the rest of your life. (Michael Sinz)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20220808/18a721d1/attachment.sig>


More information about the KMyMoney-devel mailing list