Red Hat Bugzilla – Bug 994264
[abrt] gnucash-2.4.13-1.fc19: free_workarea_compile: Process /usr/bin/gnucash was killed by signal 11 (SIGSEGV)
Last modified: 2015-01-08 21:42:41 EST
Description of problem:
I tried to import a CSV export from the german bank Norisbank.
I seleted some of columns and clicked import (or whatever was the name of the action button). GnuCash crashed immediately.
Version-Release number of selected component:
runlevel: N 5
Thread no. 1 (10 frames)
#1 free_workarea_compile at regcomp.c:978
#2 re_compile_internal at regcomp.c:811
#3 __regcomp at regcomp.c:499
#4 parse_date_with_year at gnc-csv-model.c:88
#5 parse_date at gnc-csv-model.c:311
#6 trans_property_set at gnc-csv-model.c:642
#7 gnc_csv_parse_to_trans at gnc-csv-model.c:1038
#8 gnc_file_csv_import at gnc-csv-import.c:1166
#13 _gtk_action_emit_activate at gtkaction.c:795
#18 gtk_widget_activate at gtkwidget.c:5048
Created attachment 783535 [details]
Created attachment 783536 [details]
Created attachment 783537 [details]
Created attachment 783538 [details]
Created attachment 783539 [details]
Created attachment 783540 [details]
Created attachment 783541 [details]
Created attachment 783542 [details]
Created attachment 783543 [details]
Created attachment 783544 [details]
Created attachment 783545 [details]
'parse_date_with_year' is in your backtrace?
Can you give me:
1) a sanitized line from the CSV file (change any names/values you want to leave out)
2) a list of all the dates from the file?
Were you running it in German, English, or some other locale?
here are some sample lines ... btw, there are some lines at the top that are extra ... maybe those make trouble?
Umsätze Top-Zinskonto (00);;;Kundennummer: 430 0000000
24.02.2011 - 09.08.2011
Vorgemerkte und noch nicht gebuchte Umsätze sind nicht Bestandteil dieser Übersicht.
09.08.2011;09.08.2011;"message with acct number of other side";-100,00;;EUR
04.08.2011;04.08.2011;"I got some - yeah";;50,00;EUR
Yes, that was it ... if I remove the leading lines, then it does not crash ... anyway, the crash is a bug, leading lines or not.
Second bug (do you want to have an own bug for this?):
The importer is unable to read numbers like:
If you could attach the shortest file with the leading lines that make it crash, that would be best.
With respect to parsing the numbers, I assume your locale is set to German?
The lines posted above make it crash and my locale is indeed german.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Apologies for the inability to address this bug as filed.
Currently, Fedora 19 is EOL, and Fedora 20 and later ship an entirely new major version of GnuCash which includes many changes (including, in this case, a completely rewritten CSV importer). If this bug persists in Fedora 20 and later with GnuCash 2.6.x, please reopen this bug against that version.
Again, apologies for the inability to address this bug as filed. Closing as WONTFIX for Fedora 19/gnucash-2.4.