GnuCash
Contact   Instructions
Bug 796474 - Segmentation fault while setting up online banking
Summary: Segmentation fault while setting up online banking
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: 3.1
Hardware: Other Mac OS
: Normal major
Target Milestone: future
Assignee: John Ralls
QA Contact: general
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 13:20 EDT by KnBrckr
Modified: 2018-07-10 12:30 EDT (History)
3 users (show)

See Also:


Attachments
Crash file (79.39 KB, text/plain)
2018-05-31 13:20 EDT, KnBrckr
no flags Details
Crash based on reproduction steps in comment 2 (80.90 KB, text/plain)
2018-06-01 15:07 EDT, KnBrckr
no flags Details

Description KnBrckr 2018-05-31 13:20:37 EDT
Created attachment 372495 [details]
Crash file

Just started playing with GnuCash and wanted to setup online account. In my confusion with the variety of dialog boxes I managed to crash the program.

OSX crash file is attached.
Comment 1 John Ralls 2018-06-01 12:15:05 EDT
The actual crash is because a Gtk function isn't protecting itself, but that may be because a dialog didn't set itself up correctly. Do you remember what dialog you were on when it crashed?
Comment 2 KnBrckr 2018-06-01 15:06:00 EDT
I managed to get a few copies of dialogs related to creating the online banking details. Close/Cancel buttons weren't working. I believe at the time I was closing windows using the [X] in the window decoration. I recall having a couple of the same dialog open.  

May have just figured out how to easily recreate. I am definitely recreating a core dump, just not confident it's the same as the original.

Steps:

1. Open Application
2. Select Tools->Online Banking Setup...
3. Repeat (2), Select->Online Banking Setup...

At this point I have two setup screens.

4. Cancel screen 2
5. Cancel screen 1

That creates the crash for me.  I'll upload new crash file for comparison.
Comment 3 KnBrckr 2018-06-01 15:07:23 EDT
Created attachment 372515 [details]
Crash based on reproduction steps in comment 2

Crash resulting from steps in Comment 2.
Comment 4 John Ralls 2018-07-07 15:00:37 EDT
Sorry it took a while to get back to this. You can help a little by changing the status from "needinfo" to "new" when you reply to a question.

The work-around is like the old medical joke, "don't do that". The fix will be to make it so you can't.
Comment 5 John Ralls 2018-07-10 12:30:53 EDT
This is now fixed in git, will be in 3.3.

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