GNOME Bugzilla – Bug 769576
Seg Fault on Editing Scheduled Transaction's Amount
Last modified: 2018-06-29 23:50:23 UTC
Created attachment 332823 [details] gnucash.trace To reproduce: Pl git commit 31d13be (6 August 2016) Also affects: 2.6.13x Open a
Comment on attachment 332823 [details] gnucash.trace To reproduce: 1. Open a new file, and setup any initial default accounts. 2. Enter a transaction. Say "Lunch: $10" in expenses. 3. "Lunch" -> right-click -> Schedule... -> Advanced -> Template Transaction -> Edit the $10 amount and press Enter (or TAB TAB). Result: Seg Fault with this terminal message: $ gnucash --debug This is a development version. It may or may not work. Report bugs and other problems to gnucash-devel@gnucash.org You can also lookup and file bug reports at http://bugzilla.gnome.org To find the last stable version, please refer to http://www.gnucash.org Found Finance::Quote version 1.38 Segmentation fault
Better, but I can't reproduce it. What's the bit about the commit? GnuCash doesn't have a 31d13be. Can you make a stack trace of the crash? See http://wiki.gnucash.org/wiki/Stack_Trace if you don't know how. What distro & version of Linux?
> What's the bit about the commit? GnuCash doesn't have a 31d13be. Ah, yes it does, master HEAD.
And with that I'm able to replicate the problem in Debian 8 on master but not on maint (i.e. 2.6.13). The crash is an easy fix, passing a copy when it should be a ptr. There's another problem, though, the field reverts to the previous value.
Fixed in master. The error was related to the private KVP changes made a year ago which are only on the master branch.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=769576. Please update any external references or bookmarks.