GNOME Bugzilla – Bug 436455
GnuCash crashes when importing included .QFX file
Last modified: 2018-06-29 21:36:05 UTC
When I try to import the following .QFX file, GnuCash crashes. It is a stripped down and censored version of a .QFX I received from my bank (the full version also crashes). I try to import it into a new account (or an old one), then hit OK on the dialog boxes that come up, then it crashes. I don't know if it's ill formed or what, but the whole program shouldn't crash regardless. <?xml version="1.0" encoding="US-ASCII"?> <?OFX OFXHEADER="200" DATA="OFXSGML" VERSION="200" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE" COMPRESSION="NONE" ENCODING="USASCII" CHARSET="1252"?> <OFX> <SIGNONMSGSRSV1><SONRS> <STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS> <DTSERVER>20070506150543</DTSERVER> <LANGUAGE>ENG</LANGUAGE> <DTACCTUP>20070506150543</DTACCTUP> <FI><ORG>CENSORED</ORG><FID>55555</FID></FI> <INTU.BID>55555</INTU.BID> <INTU.USERID>CENSORED</INTU.USERID> </SONRS></SIGNONMSGSRSV1> <BANKMSGSRSV1> <STMTTRNRS> <TRNUID>0</TRNUID> <STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS> <STMTRS> <CURDEF>USD</CURDEF> <BANKACCTFROM> <BANKID>555555555</BANKID> <ACCTID>555555555555</ACCTID> <ACCTTYPE>SAVINGS</ACCTTYPE> </BANKACCTFROM> <BANKTRANLIST> <DTSTART>20070307150343</DTSTART> <DTEND>20070506150543</DTEND> <STMTTRN> <TRNTYPE>DIRECTDEBIT</TRNTYPE> <DTPOSTED>20070507120000</DTPOSTED> <TRNAMT>-5555.55</TRNAMT> <FITID>20070507040311005505</FITID> <NAME>CENSORED TRANSFER 555555</NAME> </STMTTRN> </BANKTRANLIST> <LEDGERBAL><BALAMT>5555.55</BALAMT><DTASOF>20070506</DTASOF></LEDGERBAL> </STMTRS> </STMTTRNRS> </BANKMSGSRSV1> </OFX>
It may be the case that "Use bayesian matching" must be turned on for this bug to manifest. I unchecked the box and the data was successfully imported. Upon exiting the application, GnuCash crashed again though.
Fixed in r16060 for GnuCash 2.1.2. Thanks for the report!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=436455. Please update any external references or bookmarks.