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 436455 - GnuCash crashes when importing included .QFX file
GnuCash crashes when importing included .QFX file
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Windows
2.1.x
Other Windows
: Normal critical
: ---
Assigned To: Andreas Köhler
Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2007-05-06 21:24 UTC by ellisonch
Modified: 2018-06-29 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ellisonch 2007-05-06 21:24:32 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>
Comment 1 ellisonch 2007-05-06 23:06:08 UTC
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.
Comment 2 Andreas Köhler 2007-05-07 18:41:01 UTC
Fixed in r16060 for GnuCash 2.1.2.  Thanks for the report!
Comment 3 John Ralls 2018-06-29 21:36:05 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=436455. Please update any external references or bookmarks.