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 759674 - GNUCash crashes when importing invoices or bills with delimited import
GNUCash crashes when importing invoices or bills with delimited import
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - CSV
2.6.9
Other All
: Normal critical
: ---
Assigned To: Mike Evans
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-19 18:08 UTC by aiden.hooper
Modified: 2018-06-29 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description aiden.hooper 2015-12-19 18:08:01 UTC
GNUCash crashes when running File -> Import -> "Import Bills and Invoices" and then loading a CSV/TSV file (I have not tried other types).

I have tried loading files from both Windows 10 and Fedora 23 (desktop / laptop). Both are 64 bit.

Whenever the file is staged in the "Choose the file to import" section, no preview populates.

Windows 10

When I click "Ok"

"gnucash.exe has stopped working"
"A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available"

Clicking Debug

"An unhanded win32 exception occurred in gnucash.exe 14568"

Microsoft Visual Studio debug output
"Unhandled exception at 0x771F02B5 (ntdll.dll) in gnucash.exe: 0xC0000005: Access violation reading location 0x0305FFFF.

If there is a handler for this exception, the program may be safely continued."

Fedora 23
When running gnucash from terminal, below is the result when the program crashes.

*** Error in `gnucash': free(): invalid pointer: 0x000055c62cf40e60 ***
======= Backtrace: =========
/usr/lib64/libc.so.6(+0x77e35)[0x7f382a04ce35]
/usr/lib64/libc.so.6(+0x8051a)[0x7f382a05551a]
/usr/lib64/libc.so.6(cfree+0x4c)[0x7f382a058ccc]
/usr/lib64/libglib-2.0.so.0(g_free+0xe)[0x7f382adf25ee]
/usr/lib64/gnucash/libgncmod-bi_import.so(gnc_bi_import_create_bis+0x9aa)[0x7f380d3694fa]
/usr/lib64/gnucash/libgncmod-bi_import.so(gnc_bi_import_gui_ok_cb+0x106)[0x7f380d366d06]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f382b0eb7a5]
/usr/lib64/libgobject-2.0.so.0(+0x21851)[0x7f382b0fd851]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xe80)[0x7f382b106530]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f382b1068ff]
/usr/lib64/libgtk-x11-2.0.so.0(+0x8f545)[0x7f382c7e3545]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f382b0eb7a5]
/usr/lib64/libgobject-2.0.so.0(+0x2138c)[0x7f382b0fd38c]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xe80)[0x7f382b106530]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f382b1068ff]
/usr/lib64/libgtk-x11-2.0.so.0(+0x8e1ec)[0x7f382c7e21ec]
/usr/lib64/libgtk-x11-2.0.so.0(+0x14783d)[0x7f382c89b83d]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f382b0eb7a5]
/usr/lib64/libgobject-2.0.so.0(+0x21dfe)[0x7f382b0fddfe]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xa72)[0x7f382b106122]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f382b1068ff]
/usr/lib64/libgtk-x11-2.0.so.0(+0x27783c)[0x7f382c9cb83c]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7f382c899b24]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2db)[0x7f382c899eeb]
/usr/lib64/libgdk-x11-2.0.so.0(+0x607ac)[0x7f382c4f17ac]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7f382adece3a]
/usr/lib64/libglib-2.0.so.0(+0x4a1d0)[0x7f382aded1d0]
/usr/lib64/libglib-2.0.so.0(g_main_loop_run+0xc2)[0x7f382aded4f2]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xb7)[0x7f382c898f37]
/usr/lib64/gnucash/libgncmod-gnome-utils.so(gnc_ui_start_event_loop+0x39)[0x7f382e6e5669]
gnucash(+0x3683)[0x55c62a03e683]
/usr/lib64/libguile-2.0.so.22(+0x82b7d)[0x7f382d5c1b7d]
/usr/lib64/libguile-2.0.so.22(+0x5b4ba)[0x7f382d59a4ba]
/usr/lib64/libguile-2.0.so.22(+0xf8ba3)[0x7f382d637ba3]
/usr/lib64/libguile-2.0.so.22(scm_call_4+0x43)[0x7f382d5a41a3]
/usr/lib64/libguile-2.0.so.22(+0x5bc51)[0x7f382d59ac51]
/usr/lib64/libguile-2.0.so.22(scm_c_with_continuation_barrier+0x45)[0x7f382d59ad35]
/usr/lib64/libguile-2.0.so.22(+0xdba4c)[0x7f382d61aa4c]
/usr/lib64/libgc.so.1(GC_call_with_stack_base+0x22)[0x7f382d1f83d2]
/usr/lib64/libguile-2.0.so.22(scm_with_guile+0x38)[0x7f382d61ae78]
/usr/lib64/libguile-2.0.so.22(scm_boot_guile+0x35)[0x7f382d5c1d55]
gnucash(main+0x495)[0x55c62a03e105]
/usr/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f3829ff5580]
gnucash(_start+0x29)[0x55c62a03e1b9]
======= Memory map: ========
55c62a03b000-55c62a040000 r-xp 00000000 fd:00 665528                     /usr/bin/gnucash
55c62a23f000-55c62a240000 r--p 00004000 fd:00 665528                     /usr/bin/gnucash
55c62a240000-55c62a241000 rw-p 00005000 fd:00 665528                     /usr/bin/gnucash
55c62b373000-55c62d37a000 rw-p 00000000 00:00 0                          [heap]
7f37c4000000-7f37c4022000 rw-p 00000000 00:00 0 
7f37c4022000-7f37c8000000 ---p 00000000 00:00 0 
7f37c8000000-7f37c8022000 rw-p 00000000 00:00 0 
7f37c8022000-7f37cc000000 ---p 00000000 00:00 0 
7f37cc000000-7f37cc022000 rw-p 00000000 00:00 0 
7f37cc022000-7f37d0000000 ---p 00000000 00:00 0 
7f37d4000000-7f37d4022000 rw-p 00000000 00:00 0 
7f37d4022000-7f37d8000000 ---p 00000000 00:00 0 
7f37d8000000-7f37d8022000 rw-p 00000000 00:00 0 
7f37d8022000-7f37dc000000 ---p 00000000 00:00 0 
7f37dc000000-7f37dc022000 rw-p 00000000 00:00 0 
7f37dc022000-7f37e0000000 ---p 00000000 00:00 0 
7f37e27fd000-7f37e27fe000 ---p 00000000 00:00 0 
7f37e27fe000-7f37e2ffe000 rw-p 00000000 00:00 0 
7f37e2ffe000-7f37e2fff000 ---p 00000000 00:00 0 
7f37e2fff000-7f37e37ff000 rw-p 00000000 00:00 0 
7f37e4000000-7f37e4022000 rw-p 00000000 00:00 0 
7f37e4022000-7f37e8000000 ---p 00000000 00:00 0 
7f37e8b84000-7f37e8b85000 ---p 00000000 00:00 0 
7f37e8b85000-7f37e9385000 rw-p 00000000 00:00 0 
7f37e9385000-7f37e93bc000 r-xp 00000000 fd:00 663775                     /usr/lib64/libcroco-0.6.so.3.0.1
7f37e93bc000-7f37e95bc000 ---p 00037000 fd:00 663775                     /usr/lib64/libcroco-0.6.so.3.0.1
7f37e95bc000-7f37e95bf000 r--p 00037000 fd:00 663775                     /usr/lib64/libcroco-0.6.so.3.0.1
7f37e95bf000-7f37e95c0000 rw-p 0003a000 fd:00 663775                     /usr/lib64/libcroco-0.6.so.3.0.1
7f37e95c0000-7f37e95f5000 r-xp 00000000 fd:00 663111                     /usr/lib64/librsvg-2.so.2.40.12
7f37e95f5000-7f37e97f5000 ---p 00035000 fd:00 663111                     /usr/lib64/librsvg-2.so.2.40.12
7f37e97f5000-7f37e97f6000 r--p 00035000 fd:00 663111                     /usr/lib64/librsvg-2.so.2.40.12
7f37e97f6000-7f37e97f7000 rw-p 00036000 fd:00 663111                     /usr/lib64/librsvg-2.so.2.40.12
7f37e97f7000-7f37e97f9000 r-xp 00000000 fd:00 1056212                    /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f37e97f9000-7f37e99f8000 ---p 00002000 fd:00 1056212                    /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f37e99f8000-7f37e99f9000 r--p 00001000 fd:00 1056212                    /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f37e99f9000-7f37e99fa000 rw-p 00002000 fd:00 1056212                    /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f37e99fa000-7f37ea9fa000 rw-s 00000000 00:05 11042831                   /SYSV00000000 (deleted)
7f37eaaab000-7f37eaac4000 r-xp 00000000 fd:00 1049009                    /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f37eaac4000-7f37eacc4000 ---p 00019000 fd:00 1049009                    /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f37eacc4000-7f37eacc7000 r--p 00019000 fd:00 1049009                    /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f37eacc7000-7f37eacc8000 rw-p 0001c000 fd:00 1049009                    /usr/lib64/gio/modules/libgioremote-volume-monitor.so
7f37eacc8000-7f37eaccd000 r-xp 00000000 fd:00 662988                     /usr/lib64/libnss_dns-2.22.so
7f37eaccd000-7f37eaecd000 ---p 00005000 fd:00 662988                     /usr/lib64/libnss_dns-2.22.so
7f37eaecd000-7f37eaece000 r--p 00005000 fd:00 662988                     /usr/lib64/libnss_dns-2.22.so
7f37eaece000-7f37eaecf000 rw-p 00006000 fd:00 662988                     /usr/lib64/libnss_dns-2.22.so
7f37eaecf000-7f37eaed1000 r-xp 00000000 fd:00 664200                     /usr/lib64/libnss_mdns4_minimal.so.2
7f37eaed1000-7f37eb0d1000 ---p 00002000 fd:00 664200                     /usr/lib64/libnss_mdns4_minimal.so.2
7f37eb0d1000-7f37eb0d2000 r--p 00002000 fd:00 664200                     /usr/lib64/libnss_mdns4_minimal.so.2
7f37eb0d2000-7f37eb113000 rw-p 00000000 00:00 0 
7f37eb113000-7f37eb139000 r-xp 00000000 fd:00 664446                     /usr/lib64/libtinfo.so.5.9
7f37eb139000-7f37eb338000 ---p 00026000 fd:00 664446                     /usr/lib64/libtinfo.so.5.9
7f37eb338000-7f37eb33c000 r--p 00025000 fd:00 664446                     /usr/lib64/libtinfo.so.5.9
7f37eb33c000-7f37eb33d000 rw-p 00029000 fd:00 664446                     /usr/lib64/libtinfo.so.5.9
7f37eb33d000-7f37eb37d000 r-xp 00000000 fd:00 664318                     /usr/lib64/libreadline.so.6.3
7f37eb37d000-7f37eb57c000 ---p 00040000 fd:00 664318                     /usr/lib64/libreadline.so.6.3
7f37eb57c000-7f37eb57f000 r--p 0003f000 fd:00 664318                     /usr/lib64/libreadline.so.6.3
7f37eb57f000-7f37eb585000 rw-p 00042000 fd:00 664318                     /usr/lib64/libreadline.so.6.3
7f37eb585000-7f37eb586000 rw-p 00000000 00:00 0 
7f37eb586000-7f37eb58b000 r-xp 00000000 fd:00 922778                     /usr/lib64/python2.7/lib-dynload/readline.so
7f37eb58b000-7f37eb78a000 ---p 00005000 fd:00 922778                     /usr/lib64/python2.7/lib-dynload/readline.so
7f37eb78a000-7f37eb78b000 r--p 00004000 fd:00 922778                     /usr/lib64/python2.7/lib-dynload/readline.so
7f37eb78b000-7f37eb78c000 rw-p 00005000 fd:00 922778                     /usr/lib64/python2.7/lib-dynload/readline.so
7f37eb78c000-7f37eb78d000 rw-p 00000000 00:00 0 
7f37eb78d000-7f37eb790000 r-xp 00000000 fd:00 922764                     /usr/lib64/python2.7/lib-dynload/fcntlmodule.so
7f37eb790000-7f37eb98f000 ---p 00003000 fd:00 922764                     /usr/lib64/python2.7/lib-dynload/fcntlmodule.so
7f37eb98f000-7f37eb990000 r--p 00002000 fd:00 922764                     /usr/lib64/python2.7/lib-dynload/fcntlmodule.so
7f37eb990000-7f37eb991000 rw-p 00003000 fd:00 922764                     /usr/lib64/python2.7/lib-dynload/fcntlmodule.so
7f37eb991000-7f37eb995000 r-xp 00000000 fd:00 922759                     /usr/lib64/python2.7/lib-dynload/cStringIO.so
7f37eb995000-7f37ebb94000 ---p 00004000 fd:00 922759                     /usr/lib64/python2.7/lib-dynload/cStringIO.so
7f37ebb94000-7f37ebb95000 r--p 00003000 fd:00 922759                     /usr/lib64/python2.7/lib-dynload/cStringIO.so
7f37ebb95000-7f37ebb96000 rw-p 00004000 fd:00 922759                     /usr/lib64/python2.7/lib-dynload/cStringIO.so
7f37ebb96000-7f37ebb99000 r-xp 00000000 fd:00 922749                     /usr/lib64/python2.7/lib-dynload/_randommodule.so
7f37ebb99000-7f37ebd98000 ---p 00003000 fd:00 922749                     /usr/lib64/python2.7/lib-dynload/_randommodule.so
7f37ebd98000-7f37ebd99000 r--p 00002000 fd:00 922749                     /usr/lib64/python2.7/lib-dynload/_randommodule.so
7f37ebd99000-7f37ebd9a000 rw-p 00003000 fd:00 922749                     /usr/lib64/python2.7/lib-dynload/_randommodule.so
7f37ebd9a000-7f37ebd9e000 r-xp 00000000 fd:00 922740                     /usr/lib64/python2.7/lib-dynload/_hashlib.so
7f37ebd9e000-7f37ebf9e000 ---p 00004000 fd:00 922740                     /usr/lib64/python2.7/lib-dynload/_hashlib.so
7f37ebf9e000-7f37ebf9f000 r--p 00004000 fd:00 922740                     /usr/lib64/python2.7/lib-dynload/_hashlib.so
7f37ebf9f000-7f37ebfa0000 rw-p 00005000 fd:00 922740                     /usr/lib64/python2.7/lib-dynload/_hashlib.so
7f37ebfa0000-7f37ebfa5000 r-xp 00000000 fd:00 922756                     /usr/lib64/python2.7/lib-dynload/binascii.so
7f37ebfa5000-7f37ec1a4000 ---p 00005000 fd:00 922756                     /usr/lib64/python2.7/lib-dynload/binascii.so
7f37ec1a4000-7f37ec1a5000 r--p 00004000 fd:00 922756                     /usr/lib64/python2.7/lib-dynload/binascii.so
7f37ec1a5000-7f37ec1a6000 rw-p 00005000 fd:00 922756                     /usr/lib64/python2.7/lib-dynload/binascii.so
7f37ec1a6000-7f37ec1ad000 r-xp 00000000 fd:00 922771                     /usr/lib64/python2.7/lib-dynload/math.so
7f37ec1ad000-7f37ec3ac000 ---p 00007000 fd:00 922771                     /usr/lib64/python2.7/lib-dynload/math.so
7f37ec3ac000-7f37ec3ad000 r--p 00006000 fd:00 922771                     /usr/lib64/python2.7/lib-dynload/math.so
7f37ec3ad000-7f37ec3af000 rw-p 00007000 fd:00 922771                     /usr/lib64/python2.7/lib-dynload/math.so
7f37ec3af000-7f37ec3cb000 r-xp 00000000 fd:00 922743                     /usr/lib64/python2.7/lib-dynload/_io.so
7f37ec3cb000-7f37ec5cb000 ---p 0001c000 fd:00 922743                     /usr/lib64/python2.7/lib-dynload/_io.so
7f37ec5cb000-7f37ec5cc000 r--p 0001c000 fd:00 922743                     /usr/lib64/python2.7/lib-dynload/_io.so
7f37ec5cc000-7f37ec5d5000 rw-p 0001d000 fd:00 922743                     /usr/lib64/python2.7/lib-dynload/_io.so
7f37ec5d5000-7f37ec615000 rw-p 00000000 00:00 0 
7f37ec615000-7f37ec619000 r-xp 00000000 fd:00 1057182                    /usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.so
7f37ec619000-7f37ec819000 ---p 00004000 fd:00 1057182                    /usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.so
7f37ec819000-7f37ec81a000 r--p 00004000 fd:00 1057182                    /usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.so
7f37ec81a000-7f37ec81b000 rw-p 00005000 fd:00 1057182                    /usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.so
7f37ec81b000-7f37ec91b000 rw-p 00000000 00:00 0 
7f37ec91b000-7f37ec957000 r-xp 00000000 fd:00 1057172                    /usr/lib64/python2.7/site-packages/gtk-2.0/atk.so
7f37ec957000-7f37ecb57000 ---p 0003c000 fd:00 1057172                    /usr/lib64/python2.7/site-packages/gtk-2.0/atk.so
7f37ecb57000-7f37ecb5b000 r--p 0003c000 fd:00 1057172                    /usr/lib64/python2.7/site-packages/gtk-2.0/atk.so
7f37ecb5b000-7f37ecb60000 rw-p 00040000 fd:00 1057172                    /usr/lib64/python2.7/site-packages/gtk-2.0/atk.so
7f37ecb60000-7f37ecb83000 r-xp 00000000 fd:00 1057181                    /usr/lib64/python2.7/site-packages/gtk-2.0/pango.so
7f37ecb83000-7f37ecd82000 ---p 00023000 fd:00 1057181                    /usr/lib64/python2.7/site-packages/gtk-2.0/pango.so
7f37ecd82000-7f37ecd86000 r--p 00022000 fd:00 1057181                    /usr/lib64/python2.7/site-packages/gtk-2.0/pango.so
7f37ecd86000-7f37ecd8a000 rw-p 00026000 fd:00 1057181                    /usr/lib64/python2.7/site-packages/gtk-2.0/pango.so
7f37ecd8a000-7f37ecd90000 r-xp 00000000 fd:00 1057160                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/unix.so
7f37ecd90000-7f37ecf90000 ---p 00006000 fd:00 1057160                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/unix.so
7f37ecf90000-7f37ecf91000 r--p 00006000 fd:00 1057160                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/unix.so
7f37ecf91000-7f37ecf92000 rw-p 00007000 fd:00 1057160                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/unix.so
7f37ecf92000-7f37ecfd2000 rw-p 00000000 00:00 0 
7f37ecfd2000-7f37ed027000 r-xp 00000000 fd:00 1057159                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/_gio.so
7f37ed027000-7f37ed227000 ---p 00055000 fd:00 1057159                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/_gio.so
7f37ed227000-7f37ed22e000 r--p 00055000 fd:00 1057159                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/_gio.so
7f37ed22e000-7f37ed237000 rw-p 0005c000 fd:00 1057159                    /usr/lib64/python2.7/site-packages/gtk-2.0/gio/_gio.so
7f37ed237000-7f37ed24d000 r-xp 00000000 fd:00 1057144                    /usr/lib64/python2.7/site-packages/cairo/_cairo.so
7f37ed24d000-7f37ed44d000 ---p 00016000 fd:00 1057144                    /usr/lib64/python2.7/site-packages/cairo/_cairo.so
7f37ed44d000-7f37ed44e000 r--p 00016000 fd:00 1057144                    /usr/lib64/python2.7/site-packages/cairo/_cairo.so
7f37ed44e000-7f37ed452000 rw-p 00017000 fd:00 1057144                    /usr/lib64/python2.7/site-packages/cairo/_cairo.so
7f37ed452000-7f37ed6a8000 r-xp 00000000 fd:00 1057175                    /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
7f37ed6a8000-7f37ed8a7000 ---p 00256000 fd:00 1057175                    /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
7f37ed8a7000-7f37ed8d3000 r--p 00255000 fd:00 1057175                    /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
7f37ed8d3000-7f37ed8fd000 rw-p 00281000 fd:00 1057175                    /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
7f37ed8fd000-7f37ed8fe000 rw-p 00000000 00:00 0 
7f37ed8fe000-7f37ed91f000 r-xp 00000000 fd:00 1057152                    /usr/lib64/python2.7/site-packages/gobject/_gobject.so
7f37ed91f000-7f37edb1f000 ---p 00021000 fd:00 1057152                    /usr/lib64/python2.7/site-packages/gobject/_gobject.so
7f37edb1f000-7f37edb20000 r--p 00021000 fd:00 1057152                    /usr/lib64/python2.7/site-packages/gobject/_gobject.so
7f37edb20000-7f37edb23000 rw-p 00022000 fd:00 1057152                    /usr/lib64/python2.7/site-packages/gobject/_gobject.so
7f37edb23000-7f37edb63000 rw-p 00000000 00:00 0 
7f37edb63000-7f37edb6a000 r-xp 00000000 fd:00 922753                     /usr/lib64/python2.7/lib-dynload/_struct.so
7f37edb6a000-7f37edd69000 ---p 00007000 fd:00 922753                     /usr/lib64/python2.7/lib-dynload/_struct.so
7f37edd69000-7f37edd6a000 r--p 00006000 fd:00 922753                     /usr/lib64/python2.7/lib-dynload/_struct.so
7f37edd6a000-7f37edd6c000 rw-p 00007000 fd:00 922753                     /usr/lib64/python2.7/lib-dynload/_struct.so
7f37edd6c000-7f37edd6f000 r-xp 00000000 fd:00 922739                     /usr/lib64/python2.7/lib-dynload/_functoolsmodule.so
7f37edd6f000-7f37edf6e000 ---p 00003000 fd:00 922739                     /usr/lib64/python2.7/lib-dynload/_functoolsmodule.so
7f37edf6e000-7f37edf6f000 r--p 00002000 fd:00 922739                     /usr/lib64/python2.7/lib-dynload/_functoolsmodule.so
7f37edf6f000-7f37edf70000 rw-p 00003000 fd:00 922739                     /usr/lib64/python2.7/lib-dynload/_functoolsmodule.so
7f37edf70000-7f37edf79000 r-xp 00000000 fd:00 922774                     /usr/lib64/python2.7/lib-dynload/operator.so
7f37edf79000-7f37ee178000 ---p 00009000 fd:00 922774                     /usr/lib64/python2.7/lib-dynload/operator.so
7f37ee178000-7f37ee179000 r--p 00008000 fd:00 922774                     /usr/lib64/python2.7/lib-dynload/operator.so
7f37ee179000-7f37ee17b000 rw-p 00009000 fd:00 922774                     /usr/lib64/python2.7/lib-dynload/operator.so
7f37ee17b000-7f37ee1bb000 rw-p 00000000 00:00 0 
7f37ee1bb000-7f37ee1c0000 r-xp 00000000 fd:00 922782                     /usr/lib64/python2.7/lib-dynload/stropmodule.so
7f37ee1c0000-7f37ee3bf000 ---p 00005000 fd:00 922782                     /usr/lib64/python2.7/lib-dynload/stropmodule.so
7f37ee3bf000-7f37ee3c0000 r--p 00004000 fd:00 922782                     /usr/lib64/python2.7/lib-dynload/stropmodule.so
7f37ee3c0000-7f37ee3c2000 rw-p 00005000 fd:00 922782                     /usr/lib64/python2.7/lib-dynload/stropmodule.so
7f37ee3c2000-7f37ee3c6000 r-xp 00000000 fd:00 659380                     /usr/lib64/libpyglib-2.0-python.so.0.0.0
7f37ee3c6000-7f37ee5c5000 ---p 00004000 fd:00 659380                     /usr/lib64/libpyglib-2.0-python.so.0.0.0
7f37ee5c5000-7f37ee5c6000 r--p 00003000 fd:00 659380                     /usr/lib64/libpyglib-2.0-python.so.0.0.0
7f37ee5c6000-7f37ee5c7000 rw-p 00000000 00:00 0 
7f37ee5c7000-7f37ee5d7000 r-xp 00000000 fd:00 1057148                    /usr/lib64/python2.7/site-packages/glib/_glib.so
7f37ee5d7000-7f37ee7d7000 ---p 00010000 fd:00 1057148                    /usr/lib64/python2.7/site-packages/glib/_glib.so
7f37ee7d7000-7f37ee7d8000 r--p 00010000 fd:00 1057148                    /usr/lib64/python2.7/site-packages/glib/_glib.so
7f37ee7d8000-7f37ee7db000 rw-p 00011000 fd:00 1057148                    /usr/lib64/python2.7/site-packages/glib/_glib.so
7f37ee7db000-7f37ee9be000 rw-p 00000000 00:00 0 
7f37ee9be000-7f37eea95000 r-xp 00000000 fd:00 1056199                    /usr/lib64/python2.7/site-packages/gnucash/_gnucash_core_c.so
7f37eea95000-7f37eec95000 ---p 000d7000 fd:00 1056199                    /usr/lib64/python2.7/site-packages/gnucash/_gnucash_core_c.so
7f37eec95000-7f37eec98000 r--p 000d7000 fd:00 1056199                    /usr/lib64/python2.7/site-packages/gnucash/_gnucash_core_c.so
7f37eec98000-7f37eeca5000 rw-p 000da000 fd:00 1056199                    /usr/lib64/python2.7/site-packages/gnucash/_gnucash_core_c.so
7f37eeca5000-7f37eed26000 rw-p 00000000 00:00 0 
7f37eed27000-7f37eeda7000 rw-p 00000000 00:00 0 
7f37eeda7000-7f37eedab000 r-xp 00000000 fd:00 922745                     /usr/lib64/python2.7/lib-dynload/_localemodule.so
7f37eedab000-7f37eefaa000 ---p 00004000 fd:00 922745                     /usr/lib64/python2.7/lib-dynload/_localemodule.so
7f37eefaa000-7f37eefab000 r--p 00003000 fd:00 922745                     /usr/lib64/python2.7/lib-dynload/_localemodule.so
7f37eefab000-7f37eefac000 rw-p 00004000 fd:00 922745                     /usr/lib64/python2.7/lib-dynload/_localemodule.so
7f37eefac000-7f37eefec000 rw-p 00000000 00:00 0 
7f37ef012000-7f37ef016000 rw-p 00000000 00:00 0 
7f37ef016000-7f37ef018000 rw-p 00000000 00:00 0 
7f37ef018000-7f37ef01e000 r--p 00000000 fd:00 791266                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/price-quotes.go
7f37ef01e000-7f37ef0de000 rw-p 00000000 00:00 0 
7f37ef0de000-7f37ef0ec000 r--p 00000000 fd:00 791270                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/balsheet-eg.go
7f37ef0ec000-7f37ef0f6000 r--p 00000000 fd:00 791272                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/customer-summary.go
7f37ef0f6000-7f37ef0f8000 r--p 00000000 fd:00 791286                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/receivables.go
7f37ef0f8000-7f37ef0ff000 r--p 00000000 fd:00 791272                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/customer-summary.go 00000000 fd:00 791269                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/aging.go
7f37ef0ff000-7f37ef101000 r--p 00000000 fd:00 791285                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/payables.go
7f37ef101000-7f37ef109000 r--p 00000000 fd:00 791280                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/job-report.go
7f37ef109000-7f37ef113000 r--p 00000000 fd:00 791284                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/owner-report.go
7f37ef113000-7f37ef118000 r--p 00000000 fd:00 791274                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/eguile-gnc.go
7f37ef118000-7f37ef11a000 r--p 00000000 fd:00 791275                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/eguile-html-utilities.go
7f37ef11a000-7f37ef11c000 r--p 00000000 fd:00 791276                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/eguile-utilities.go
7f37ef11c000-7f37ef127000 r--p 00000000 fd:00 1049269                    /usr/lib64/guile/2.0/ccache/ice-9/local-eval.go
7f37ef127000-7f37ef133000 r--p 00000000 fd:00 791325                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/taxinvoice.go
7f37ef133000-7f37ef13d000 r--p 00000000 fd:00 791273                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/easy-invoice.go
7f37ef13d000-7f37ef146000 r--p 00000000 fd:00 791279                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/invoice.go
7f37ef146000-7f37ef151000 r--p 00000000 fd:00 791277                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/fancy-invoice.go
7f37ef151000-7f37ef153000 r--p 00000000 fd:00 791271                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/business-reports.go
7f37ef153000-7f37ef154000 r--p 00000000 fd:00 791257                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/business-gnome.go
7f37ef154000-7f37ef156000 r--p 00000000 fd:00 791287                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/report-gnome.go
7f37ef156000-7f37ef157000 r--p 00000000 fd:00 791283                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/locale-specific/us.go
7f37ef157000-7f37ef16f000 r--p 00000000 fd:00 791327                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/taxtxf.go
7f37ef16f000-7f37ef17e000 r--p 00000000 fd:00 791373                     /usr/lib64/gnucash/scm/ccache/2.0/txf-help.go
7f37ef17e000-7f37ef19b000 r--p 00000000 fd:00 791374                     /usr/lib64/gnucash/scm/ccache/2.0/txf.go
7f37ef19b000-7f37ef19c000 r--p 00000000 fd:00 791333                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/tax/us.go
7f37ef19c000-7f37ef19e000 r--p 00000000 fd:00 791330                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/welcome-to-gnucash.go
7f37ef19e000-7f37ef1a1000 r--p 00000000 fd:00 791329                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/view-column.go
7f37ef1a1000-7f37ef1a5000 r--p 00000000 fd:00 791278                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/hello-world.go
7f37ef1a5000-7f37ef1a6000 r--p 00000000 fd:00 791328                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/utility-reports.go
7f37ef1a6000-7f37ef1af000 r--p 00000000 fd:00 791319                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/trial-balance.go
7f37ef1af000-7f37ef1b5000 r--p 00000000 fd:00 791304                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget.go
7f37ef1b5000-7f37ef1bb000 r--p 00000000 fd:00 791295                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/account-piecharts.go
7f37ef1bb000-7f37ef1bd000 r--p 00000000 fd:00 791310                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/general-ledger.go
7f37ef1bd000-7f37ef1c3000 r--p 00000000 fd:00 791317                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/sx-summary.go
7f37ef1c3000-7f37ef1c4000 r--p 00000000 fd:00 791343                     /usr/lib64/gnucash/scm/ccache/2.0/html-jqplot.go
7f37ef1c4000-7f37ef1c6000 r--p 00000000 fd:00 791301                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget-barchart.go
7f37ef1c6000-7f37ef1cc000 r--p 00000000 fd:00 791308                     /usr/lib64/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/equity-statement.goAborted (core dumped)



Please contact me if you need any more information, or if anything is unclear.

Thanks for the help!

-Aiden
Comment 1 Mike Evans 2015-12-20 11:56:25 UTC
I can reproduce this reliably (Fedora 18, 32 bit) when the preview window is empty.

It's odd that your data don't show up in the preview, it is comma separated data? The importer doesn't handle tab separated data at all and defaults to semicolon separated, you need to select comma in section 3 of the importer.
Comment 2 aiden.hooper 2015-12-20 15:56:48 UTC
Hi Mike,

Thanks for the quick reply. When you say you can "reproduce this reliably", you mean GNUCash crashes whenever there is no preview shown for you as well? Also, my apologies, I had said I tested TSV, but I meant semicolon.


Do you mind sending me a copy of a successful upload template or pointing me to an example template? I have been using the example result from the python conversion script tutorial.

Also, do you think this could have anything to do with the 32/64 bit difference between our environments?

-Aiden
Comment 3 Mike Evans 2015-12-20 16:27:16 UTC
Yes, it always crashes with an empty preview. I can only test on 32 bit Linux though.

The example in the tutorial docs is comma separated so you need to select that in section 3.  There should be no issues when the data appears in the preview.

I think I've found the problem.

The code is freeing un-initialsed strings, because there's no data to allocate, hence the empty preview. Making all new g_char* = NULL on creation should fix the issue.

I'll test some more before I commit it to trunk (probably tomorrow). Shame I've missed the release by a day though.  I'll update this when I commit so I'd appreciate testing  when I do (esp. Windows nightly build, as I have no way to test on Windows). When you've successfully tested and reported back I'll close the bug.

32 bit 64 bit should make no difference.

Mike E
Comment 4 Mike Evans 2015-12-21 12:01:53 UTC
commit 5370124dc1368ebe19924a04b4f08e0c174c8dd7 to maint branch.
Comment 5 aiden.hooper 2015-12-22 06:16:54 UTC
Hi Mike,

I just tested the newest windows build from git rev e4d3e90+ on 2015-12-21. The error is still persisting... Strangely, the CSV files populate the preview screen for "Import Customers and Vendors" but nothing populates when the same files are uploaded to the "Import Bills & Invoices". Clicking "OK" when the preview screen doesn't populate, crashes the program. Any thoughts on other ways I can test this? Is there any other information that could help you?

-Aiden
Comment 6 Mike Evans 2015-12-22 10:10:40 UTC
Try the next build, that's probably from the night before. 
The latest build I see at 
http://code.gnucash.org/builds/win32/maint/ is the commit before mine, a1c7f6456c3

If it still persists perhaps you could provide me with an example of the failing file(s)?  Edit it to remove anything sensitive obviously.

Invoice files are different format to customer/vendor CSV files,  I'm not surprised that one displays and the other doesn't if you are using the same file.

A working sample invoice pasted below. A single line.

"0071","","000013","",,,"34-0655 > PROTOBLOC 2 BREADBOARD","ea","Expenses:Materials General",1,4.39,,,,no,,,,,,

Set to import comma separated with quotes.
Comment 7 aiden.hooper 2015-12-26 23:35:02 UTC
Hi Mike,

I used the example you provided above and pasted into an empty notepad file. Saved the file as CSV after changing the owner ID to one in my system. I then tested the newest build 6.9.10. Strangely, the file was not recognized as comma separated with quotes. However, the preview did populate for a regular CSV. Also, when I tried to import the file when there was no preview, the program didn't crash. So that is working.

Unfortunately, the comma separated with quotes does not work. And the CSV fails to upload when I changed the information to owner ID to match an existing owner ID in my database. I keep getting a "PRICE_NOT_SET" error. But clearly it is 4.39.

Cheers,

Aiden
Comment 8 Mike Evans 2015-12-27 11:39:33 UTC
Aiden, Thank you for testing.  Since it no longer crashes this bug will be closed.

However, you now appear to have a new issue I cannot replicate, the test line imports fine for me, in Linux.

Please file a new bug for the issue you describe in Comment 7 and attach a test file that reliably causes the problem. If you can test in both Windows and Linux that would be good too.
Comment 9 John Ralls 2018-06-29 23:45:06 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=759674. Please update any external references or bookmarks.