GNOME Bugzilla – Bug 728050
Crash on QIF import change date format
Last modified: 2018-06-29 23:29:29 UTC
Start QIF import, at "Set a date format for this QIF file" select 'd-m-y'. Crash. The import works fine when the date format isn't changed (except obviously the month and date are the wrong way around), so there is nothing wrong with the QIF file. Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744231 Backtrace: In ice-9/boot-9.scm: 157: 4 [catch #t #<catch-closure af2b20> ...] In unknown file: ?: 3 [apply-smob/1 #<catch-closure af2b20>] In qif-import/qif-file.scm: 885: 2 [check-and-parse-field #<procedure 131c5a0 at ice-9/boot-9.scm:1301:4 (obj)> ...] In qif-import/qif-parse.scm: 404: 1 [qif-parse:check-date-format (4 11 2014) (d-m-y)] In unknown file: ?: 0 [regexp-exec #<regexp b82180> (4 11 2014) #<undefined> #<undefined>] ERROR: In procedure regexp-exec: ERROR: In procedure regexp-exec: Wrong type argument in position 2 (expecting string): (4 11 2014)
I am trying to reproduce this bug but no luck so far. I expect the crash will depend on the exact date format you have in your qif file. Can you attach a small qif file I can use to reproduce this ? Thank you.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
Got this bug with Gnucash 2.6.9 using Android app version v2.0.0. Select qif file generated by android app -> Forward -> Start on next screen desktop app crashes with segmentation fault. When run under gdb desktop app did not crash, instead got below error on screen. ----------------------- Error Message: Line 1:File does not appear to be in QIF Format: *INR Read aborted. ------------------------------ Checked qif file, First line is *INR Not sure if its problem with android app or desktop app. Can provide if any additional info required as this is reproducible always. ---------------------------- gdb output: [New Thread 0x7fff79cd0700 (LWP 4787)] [New Thread 0x7fff794cf700 (LWP 4788)] [New Thread 0x7fff78cce700 (LWP 4789)] [New Thread 0x7fff73fff700 (LWP 4790)] [New Thread 0x7fff735f9700 (LWP 4791)] [New Thread 0x7fff72df8700 (LWP 4792)] * 23:14:39 INFO <gnc.gui> [gnc_plugin_page_report_setup] report-id: 8 * 23:14:39 INFO <gnc.gui> [gnc_plugin_page_report_setup] set needs save * 23:14:39 INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Sort order is BY_STANDARD * 23:14:39 INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Filter Status is 0x001f [Thread 0x7fff735f9700 (LWP 4791) exited] [New Thread 0x7fff735f9700 (LWP 4793)] [New Thread 0x7fff5f98c700 (LWP 4794)] [Thread 0x7fff5f98c700 (LWP 4794) exited] [Thread 0x7fff72df8700 (LWP 4792) exited] [New Thread 0x7fff72df8700 (LWP 4795)] [Thread 0x7fff735f9700 (LWP 4793) exited] [Thread 0x7fff72df8700 (LWP 4795) exited] Program received signal SIGSEGV, Segmentation fault. gnc_ui_qif_import_load_progress_start_cb (button=<optimized out>, user_data=0x32e3d70) at assistant-qif-import.c:1807 1807 assistant-qif-import.c: No such file or directory. (gdb) bt
+ Trace 235669
KKN: Your crash is different. Please open a new bug report. Thanks.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=728050. Please update any external references or bookmarks.