GnuCash
Contact   Instructions
Bug 797670 - scheduled transaction editor can remain open when switching file, which causes seg fault when later closed.
Summary: scheduled transaction editor can remain open when switching file, which cause...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Scheduled Transactions (show other bugs)
Version: git-maint
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-08 02:15 EDT by Jean Laroche
Modified: 2020-05-31 06:20 EDT (History)
3 users (show)

See Also:


Attachments

Description Jean Laroche 2020-04-08 02:15:13 EDT
Repro:
1) Open sched transaction editor, then double click on a scheduled transaction to open the editor dialog for this transaction.
2) With the panel open, switch to another file (using the file Open menu for example)
3) At this point the scheduled transaction editor dialog is still open, which is bad because it does not belong to this file.
4) Closing the scheduled transaction editor dialog causes a crash:

Bad access at line 272 of dialog-sx-editor.c
strcmp(xaccSchedXactionGetName(sxed->sx), name) != 0)

I'm looking into this bug.
Jean
Comment 1 Bob 2020-05-31 06:20:05 EDT
Your fix was added to maint and will be in the next release 3.11

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