GNOME Bugzilla – Bug 795810
Gnucash crashes when importing OFX
Last modified: 2018-06-30 00:09:31 UTC
Created attachment 371680 [details] problematic ofx Hi, See the obfuscated attached ofx file. Importing it with gnucash 3.1 (from archlinux) simply crashes. I've tried using the dev version of libofx but it is the same. Also it worked well before 3.1. I passed my ofx file into fixofx (https://github.com/wesabe/fixofx.git) without any success. The problem happens with files from 2 different banks. This is the error in the logs: LibOFX INFO: libofx_proc_file(): File format not specified, autodetecting... (Above message occurred on Line 18446744073709551615, Column 18446744073709551615) LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open Financial eXchange (OFX or QFX)) (Above message occurred on Line 18446744073709551615, Column 18446744073709551615) LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SIGNONMSGSRSV1 (Above message occurred on Line 2, Column 1) LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SONRS (Above message occurred on Line 3, Column 1) LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate BANKMSGSRSV1 (Above message occurred on Line 12, Column 1) LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate STMTTRNRS (Above message occurred on Line 13, Column 1) ^C[1] 2956 abort (core dumped) gnucash
I can import your file without difficulty with GnuCash 3.1 on MacOS. Please run GnuCash under a debugger, crash it with your OFX file and attach a stack trace. See https://wiki.gnucash.org/wiki/Stack_Trace if you need more detailed instructions.
Created attachment 371698 [details] stacktrace of import ofx crash Here it is, I suppose it is not related to ofx itself but maybe some UI aspects of it? :)
Running gnucash with: "GDK_BACKEND=x11 gnucash" makes the crashing behaviour disappear, so it is related to wayland. The import process is quite long and the transaction association window kind of freeze until the file is loaded, so maybe there is some links...
It's not actually related to GnuCash at all, it's a bug in Gtk's Wayland backend. If you want to pursue this you'll need to raise an issue at https://gitlab.gnome.org/GNOME/gtk. Since we don't yet have "Not GnuCash", closing as "Not GNOME".
Ok, will do, thank you!
For the record: https://gitlab.gnome.org/GNOME/gtk/issues/1055
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=795810. Please update any external references or bookmarks.