GnuCash
Contact   Instructions
Bug 797165 - Deleting an old quote from Price Database Core Dumps Gnucash
Summary: Deleting an old quote from Price Database Core Dumps Gnucash
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: 3.5
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: general
QA Contact: general
URL:
Whiteboard:
Keywords:
: 797107 797176 797180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-31 20:32 EDT by William Cattey
Modified: 2019-04-26 11:55 EDT (History)
6 users (show)

See Also:


Attachments
Backtrace from most recent core dump of quote deletion. (92.48 KB, text/plain)
2019-03-31 20:32 EDT, William Cattey
no flags Details

Description William Cattey 2019-03-31 20:32:14 EDT
Created attachment 373228 [details]
Backtrace from most recent core dump of quote deletion.

I'm somewhat new to doing bug reporting for Gnucash.
How do I gather the information needed to diagnose this problem.

Repeat by:

Open Price Database (Note that the currently published documentation calls it the "Price Editor", presumably using the 2.6 codeline names instead of the 3.x codeline.)

Select a Market, for example NASADAQ.
Select a stock, for example AAPL
Select a quote, for example the one of 10 July 2017.
Click Remove
When the confirmation pop-up arrives, click "Delete" to confirm.

Expected behavior: 
The quote line gets deleted.

Actual behavior:

SOME TIME AFTER the change has been made, indeed I can do a couple deletions,
seemingly with success, Gnucash crashes.

Sometimes the display of the list of quotes does not change, as of the deletion
silently failed.

I've attached a backtrace from one of the crashes.  Perhaps it has already been received through another channel.
Comment 1 Christopher Lam 2019-03-31 21:04:43 EDT
I wonder if this is related to https://bugs.gnucash.org/show_bug.cgi?id=797107 which I could not reliably produce
Comment 2 Bob 2019-04-03 08:32:49 EDT
I will look at this, just tested and I also got a crash.
Comment 3 Bob 2019-04-06 11:53:50 EDT
*** Bug 797180 has been marked as a duplicate of this bug. ***
Comment 4 Bob 2019-04-23 10:38:33 EDT
*** Bug 797107 has been marked as a duplicate of this bug. ***
Comment 5 Bob 2019-04-23 10:39:55 EDT
*** Bug 797176 has been marked as a duplicate of this bug. ***
Comment 6 Bob 2019-04-23 10:41:14 EDT
I have a fix locally for this, just tying up some loose ends and will add to a PR when done.
Comment 7 Bob 2019-04-24 16:08:59 EDT
PR 495 created with a possible fix.
Comment 8 Bob 2019-04-26 11:55:28 EDT
I pushed a fix for this and will be in the next release.

Note You need to log in before you can comment on or make changes to this bug.