After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794791 - Segfault when entering split transaction to commodity account
Segfault when entering split transaction to commodity account
Status: RESOLVED DUPLICATE of bug 794730
Product: GnuCash
Classification: Other
Component: Engine
git-master
Other Linux
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2018-03-29 01:40 UTC by George
Modified: 2018-06-30 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Stack trace of crash (9.87 KB, text/plain)
2018-03-29 01:40 UTC, George
Details

Description George 2018-03-29 01:40:28 UTC
Created attachment 370279 [details]
Stack trace of crash

When entering a split transaction where one of the outputs is to a commodity account, GnuCash crashes on exiting the "Transfer Funds" dialog.

Steps to Reproduce:

0. You'll need three accounts for the reproduction: a Checking account, an Investment account (I've been using a Mutual Fund account), and an income account.

1. Open the transaction ledger for the Checking account and start entering a new split transaction (made up numbers):

Deposit to checking: 1000
Withdraw from income: 1500
Deposit to investment: 500

When you hit "Enter" (or "Tab") to move off of the last line, the Transfer Funds dialog opens automatically.

2. Enter some amount in the "Exchange Rate" (or "To Amount") field and hit "Enter" to close the dialog.

Actual Results:

Crash and dump core.

Expected Results:

The transaction is recorded.

Environment:

Arch Linux
Occurs on 2.7.8-6-g82f31a5e4+ but not 2.7.6.
Comment 1 John Ralls 2018-03-29 22:47:32 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 794730 ***
Comment 2 John Ralls 2018-06-30 00:06:13 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=794791. Please update any external references or bookmarks.