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 566352 - Crash during OFX import under Win 2000 / SP4
Crash during OFX import under Win 2000 / SP4
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - Other
2.2.x
Other Windows
: Normal critical
: ---
Assigned To: Christian Stimming
Christian Stimming
Depends on:
Blocks: backport
 
 
Reported: 2009-01-02 19:05 UTC by Roger Brooks
Modified: 2018-06-29 22:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
OFX file to reproduce crash on import. (625 bytes, application/octet-stream)
2009-01-02 20:42 UTC, Roger Brooks
Details
GnuCash file used in first import attempt (4.38 KB, application/octet-stream)
2009-01-04 09:19 UTC, Roger Brooks
Details

Description Roger Brooks 2009-01-02 19:05:16 UTC
When creating a new account (under Current Assets - Money Market)in GnuCash 2.8 r17773 for an account contained in an OFX import, GnuCash crashed.  The OFX file was generated by UBS Quicken 2001 version 2.7.  The immediately preceding action was that I resized the width of the tree view in the left-hand panel by dragging the header boundary, in order to verify the name of the newly added/created account.  Since I was actually operating the GnuCash GUI at the time of the crash, it isn't clear to me that this is really an error in the OFX import system, which I have nonetheless chosen as the most obviously suspect component. 
A log or crash dump file was created from the crash, but it contains only a header line, followed by these lines:
-----------------
===== START
===== END
Upon reopening the GnuCash file (ignoring the lock) the account had not been added (which isn't surprising, since GnuCash was set to autosave every 5 minutes and gave me no opportunity to save before exiting.  In fact, even one of the previously entered securities was not in the saved file.
Comment 1 Roger Brooks 2009-01-02 19:11:28 UTC
P.S. In addition to the uninformative log file, there are also 2 *.xac files in the working directory.  Each is 5 kB, however, both have time stamps 4-10 minutes earlier than the log file.
Comment 2 Roger Brooks 2009-01-02 19:29:34 UTC
P.P.S. Have now reproduced this bug by reattempting import into new file.
The contents of the selected (darkly shaded) field in the account view dialog is not visible by default.  In the first reported instance this was the account name.  In the second, it was the account type.  When I click in another part of the dialog in order to make it visible, the crash occurs shortly thereafter, without any further action on my part.
Comment 3 Roger Brooks 2009-01-02 19:46:38 UTC
P.P.S. Have now reproduced the crash twice without any actions in the account view.  The crash occurs as soon as I click "OK" after creating the new account to map to the OFX import account.  Since I am unable to find a workaround, I am changing the severity to critical.
Comment 4 Roger Brooks 2009-01-02 20:42:52 UTC
Created attachment 125663 [details]
OFX file to reproduce crash on import.
Comment 5 Roger Brooks 2009-01-02 20:44:11 UTC
Comment on attachment 125663 [details]
OFX file to reproduce crash on import.

The crash occurs with any OFX file I have tried, which contains transactions.   It also occurs using GnuCash version 2.27.
Importing an OFX file containing only accounts & securities succeeds.
A possible workaround appears to be importing transactions for each account from a separately exported QIF file. I am therefore reducing the severity to major.
A sample OFX file producing the problem is attached.
Comment 6 Andreas Köhler 2009-01-03 23:40:59 UTC
I cannot test or debug this now, but thanks a lot for the info so far.
Does it crash when you import into an empty file as well?
Comment 7 Roger Brooks 2009-01-04 09:18:17 UTC
The GnuCash file I was using for import in each case was empty in the sense that it contained only empty accounts created by the GnuCash initial setup routine.  An example file is attached for your convenience.
Comment 8 Roger Brooks 2009-01-04 09:19:42 UTC
Created attachment 125729 [details]
GnuCash file used in first import attempt
Comment 9 Roger Brooks 2009-01-04 14:31:47 UTC
I have now recreated the crash in GnuCash 2.28 usng the OFX file previously attached, by:
Opening (creating) a new file
Canceling the account creation druid
Importing the OFX file
Creating a new top level account when prompted for the account corresponding to the one in the OFX.
As before, the crash occurs when I click OK, after creating the new account, to import the transactions.
Comment 10 Andreas Köhler 2009-01-18 23:44:50 UTC
Fixed on trunk in r17836.
Awaiting backport to branches/2.2 for inclusion in GnuCash 2.2.9.
Comment 11 Christian Stimming 2009-01-31 10:47:45 UTC
2.2-branch, r17859
Comment 12 John Ralls 2018-06-29 22:15:20 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=566352. Please update any external references or bookmarks.