crash on QFX import

J. David Beutel jdb at getsu.com
Sat Dec 9 20:18:42 EST 2006


I compiled GnuCash 2.0.1 and libofx-0.8.2 on Fedora Core 3 and started 
using it a few months ago.  I was able to import about 12 QFX files that 
I downloaded from my bank at that time, and one each month since.  But, 
whenever I try to import this month's QFX, GnuCash quits unexpectedly 
after popping up the Generic import transaction matcher window (before 
drawing anything inside it).

That window can still draw when I start importing last month's (altho I 
cancel that to avoid importing twice).  It may be coincidental, but my 
bank just upgraded its web site.  However, I've looked at both QFX files 
and can't find any significant difference.

How can I fix or debug this?  The 2.0.2 major changes listed on 
gnucash.org don't sound relevant.  Are there more detailed release notes 
somewhere?  I don't want to update unnecessarily and mess up something, 
because it was difficult for me to compile on FC3.  (That could be 
related to my problem, of course.)  I found the following fix from the 
mail archive, but the QIF source (Scheme) doesn't look related to QFX (C).

http://bugzilla.gnome.org/show_bug.cgi?id=377519

Cheers,
11011011

Output with crash:
[jdb at samue ~]$ gnucash
looking for type: got text/plain
LibOFX INFO: libofx_proc_file(): File format not specified, autodecting...
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open 
Financial eXchange (OFX or QFX))
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end of line) removed: 
<INTU.BID>2450

(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end of line) removed: 
<INTU.USERID>xxxx

(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>STATE OF HAWAII
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>CAPITAL ONE
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>STATE OF HAWAII
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>GEICO       AII
(Above message occured on Line 4294967295, Column 4294967295)
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::copy
[jdb at samue ~]$


Output without crash:
[jdb at samue ~]$ gnucash
looking for type: got text/plain
LibOFX INFO: libofx_proc_file(): File format not specified, autodecting...
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open 
Financial eXchange (OFX or QFX))
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end of line) removed: 
<INTU.BID>2450

(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end of line) removed: 
<INTU.USERID>xxxx

(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>STATE OF HAWAII
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>CAPITAL1 FUNDING
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>STATE OF HAWAII
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>CAPITAL ONE
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>CAPITAL1 VERIFY
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed: 
<MVNT.PAYEE>CAPITAL1 VERIFY
(Above message occured on Line 4294967295, Column 4294967295)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
SIGNONMSGSRSV1
(Above message occured on Line 1, Column 11)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SONRS
(Above message occured on Line 1, Column 34)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate FI
(Above message occured on Line 2, Column 1)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
BANKMSGSRSV1
(Above message occured on Line 6, Column 36)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
STMTTRNRS
(Above message occured on Line 6, Column 57)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
STMTTRNRS
(Above message occured on Line 6, Column 6368)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
STMTTRNRS
(Above message occured on Line 6, Column 7284)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
CREDITCARDMSGSRSV1
(Above message occured on Line 6, Column 8806)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
CCSTMTTRNRS(Above message occured on Line 6, Column 8833)
WRITEME:  ofx_proc_account() Fill in the account type, default name, 
currency, etc.
WRITEME:  ofx_proc_account() Fill in the account type, default name, 
currency, etc.
WRITEME:  ofx_proc_account() Fill in the account type, default name, 
currency, etc.
[jdb at samue ~]$





More information about the gnucash-user mailing list