Long history can be found here: https://bugs.kde.org/show_bug.cgi?id=392735 but what I've found is when I compile 5.0.1 via ports [or pkg install], as soon as I click on any transaction and then hit edit or new, kmymoney crashes. If I remove the patch and recompile, all seems to be working fine; za:# svn stat D files/patch-kmymoney_dialogs_transactioneditor.cpp I can edit transactions, I can add new transactions. Not sure what it was supposed to fix, but it sure broke kmymoney for me.
Created attachment 194005 [details] Kmymoney crash fix The patch in the ports tree was trying to fix a crash when clicking the "New Schedule..." button in Scheduled Transactions. Totally unpatched, kmymoney 5.0.1 still seems to crash adding a new schedule or editing a transaction. Thomas' patch in the KDE bug 392735 you referenced seems to fix both issues for me. (https://bugsfiles.kde.org/attachment.cgi?id=113032) Does the attached patch work for you?
Just deleting files/patch-kmymoney_dialogs_transactioneditor.cpp and building kmymoney 5.0.1 from ports, I'm able to edit transactions, create new transactions. I'm also able to create 'New Schedule' by clicking on that button. With files/patch-kmymoney_dialogs_transactioneditor.cpp, I was not able to edit, or create new transactions. I was able to only 'Enter Schedule' for a pre existing Scheduled transaction. za:$ svn stat /usr/ports/ D /usr/ports/finance/kmymoney/files/patch-kmymoney_dialogs_transactioneditor.cpp I tried kmymoney from git [master], kde.org patches as suggested, and this ports patch - it would still core dump on any transaction edit/new I tried to do. kmymoney from git [master], kde.org patches as suggested, and without this ports patch it worked. kmymoney from ports [5.0.1], without kde.org patches, and without this ports patch it works. working kmymoney from ports: za:$ svn stat /usr/ports/ D /usr/ports/finance/kmymoney/files/patch-kmymoney_dialogs_transactioneditor.cpp
A commit references this bug: Author: jhale Date: Tue Jun 5 21:51:55 UTC 2018 New revision: 471825 URL: https://svnweb.freebsd.org/changeset/ports/471825 Log: Fix crash when editing or adding new transactions PR: 228752 Submitted by: Peter <fbsdq@peterk.org> Obtained from: https://bugs.kde.org/show_bug.cgi?id=392735 Changes: head/finance/kmymoney/Makefile head/finance/kmymoney/files/patch-kmymoney_dialogs_transactioneditor.cpp head/finance/kmymoney/files/patch-kmymoney_widgets_qwidgetcontainer.cpp