GNOME Bugzilla – Bug 645800
Displaying Accounts causes crash
Last modified: 2018-06-29 22:55:47 UTC
Clicking on the existing Accounts tab or selecting New Accounts Page from the View menu results in a crash. Crash only occurs with one particular set of accounts I work with. Creating a new set of accounts does not exhibit the problem. This problem has only occurred since I have upgraded to 2.4.4 dean@holly:~$ gnucash -v gnc.bin-Message: main: binreloc relocation support was disabled at configure time. GnuCash 2.4.4 Built 2011-03-15 from r20418M dean@holly:~$ gnucash gnc.bin-Message: main: binreloc relocation support was disabled at configure time. Found Finance::Quote version 1.17 ;;; WARNING (gnc:make-report-anchor: No such report: Income Over Time) ;;; WARNING (gnc:make-report-anchor: No such report: Expense Over Time) ;;; WARNING (gnc:make-report-anchor: No such report: Assets Over Time) ;;; WARNING (gnc:make-report-anchor: No such report: Liabilities Over Time) *** glibc detected *** gnucash: double free or corruption (fasttop): 0x083c17f8 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6c501)[0xb67e3501] /lib/libc.so.6(+0x6dd70)[0xb67e4d70] /lib/libc.so.6(cfree+0x6d)[0xb67e7e5d] /lib/libglib-2.0.so.0(g_free+0x36)[0xb6941486] /usr/lib/gnucash/gnucash/libgncmod-app-utils.so(gnc_ui_account_get_tax_info_string+0x5fc)[0xb7593c8c] /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so(+0x7e7ca)[0xb76207ca] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_get_value+0xb3)[0xb6fed613] /usr/lib/libgtk-x11-2.0.so.0(+0x2269c1)[0xb6ff29c1] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_get_value+0xb3)[0xb6fed613] /usr/lib/libgtk-x11-2.0.so.0(+0x22b9b8)[0xb6ff79b8] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_get_value+0xb3)[0xb6fed613] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_get_valist+0xf2)[0xb6fee0d2] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_get+0x8f)[0xb6fee31f] /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so(+0x89024)[0xb762b024] /usr/lib/libgtk-x11-2.0.so.0(gtk_tree_view_column_cell_set_cell_data+0x1c2)[0xb701e942] /usr/lib/libgtk-x11-2.0.so.0(+0x24c305)[0xb7018305] /usr/lib/libgtk-x11-2.0.so.0(+0x24e3b9)[0xb701a3b9] /usr/lib/libgtk-x11-2.0.so.0(+0x135284)[0xb6f01284] /usr/lib/libgobject-2.0.so.0(+0xaa87)[0xb69e6a87] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x192)[0xb69e8412] /usr/lib/libgobject-2.0.so.0(+0x227d6)[0xb69fe7d6] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x5db)[0xb69ffe2b] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb6a00452] /usr/lib/libgtk-x11-2.0.so.0(+0x263b96)[0xb702fb96] /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x61b)[0xb6efaf2b] /usr/lib/libgdk-x11-2.0.so.0(+0x3b7bb)[0xb6d707bb] /usr/lib/libgdk-x11-2.0.so.0(+0x3b76a)[0xb6d7076a] /usr/lib/libgdk-x11-2.0.so.0(+0x3b76a)[0xb6d7076a] /usr/lib/libgdk-x11-2.0.so.0(+0x64e24)[0xb6d99e24] /usr/lib/libgdk-x11-2.0.so.0(+0x37f24)[0xb6d6cf24] /usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_updates+0x150)[0xb6d71c40] /usr/lib/libgtk-x11-2.0.so.0(+0x24571d)[0xb701171d] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)[0xb69f7f2c] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x192)[0xb69e8412] /usr/lib/libgobject-2.0.so.0(+0x22b85)[0xb69feb85] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x75c)[0xb69fffac] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb6a00452] /usr/lib/libgtk-x11-2.0.so.0(gtk_adjustment_value_changed+0x8a)[0xb6e2dfba] /usr/lib/libgtk-x11-2.0.so.0(+0x23803a)[0xb700403a] /usr/lib/libgtk-x11-2.0.so.0(+0x24b00d)[0xb701700d] /usr/lib/libgtk-x11-2.0.so.0(+0x24b97d)[0xb701797d] /usr/lib/libgtk-x11-2.0.so.0(+0x24ba0e)[0xb7017a0e] /usr/lib/libgdk-x11-2.0.so.0(+0x14998)[0xb6d49998] /lib/libglib-2.0.so.0(+0x3b841)[0xb6936841] /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0xb6938855] /lib/libglib-2.0.so.0(+0x41668)[0xb693c668] /lib/libglib-2.0.so.0(g_main_loop_run+0x187)[0xb693cba7] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0xb6efb1d9] /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so(gnc_ui_start_event_loop+0x64)[0xb7602e84] gnucash[0x804b0d4] /usr/lib/libguile.so.12(scm_boot_guile+0x6b)[0xb74f7ddb] gnucash(main+0x72d)[0x804ab7d] /lib/libc.so.6(__libc_start_main+0xe7)[0xb678dce7] gnucash[0x8049ec1] ======= Memory map: ======== 08048000-0804d000 r-xp 00000000 08:01 11536488 /usr/bin/gnucash 0804d000-0804e000 r--p 00004000 08:01 11536488 /usr/bin/gnucash 0804e000-0804f000 rw-p 00005000 08:01 11536488 /usr/bin/gnucash 0805c000-08bfd000 rw-p 00000000 00:00 0 [heap] 98373000-9856f000 rw-p 00000000 00:00 0 9856f000-98576000 r-xp 00000000 08:01 14425862 /usr/lib/goffice/0.8.8/plugins/plot_pie/pie.so 98576000-98577000 r--p 00006000 08:01 14425862 /usr/lib/goffice/0.8.8/plugins/plot_pie/pie.so 98577000-98578000 rw-p 00007000 08:01 14425862 /usr/lib/goffice/0.8.8/plugins/plot_pie/pie.so 98578000-98a3c000 rw-p 00000000 00:00 0 98a3c000-98a3d000 ---p 00000000 00:00 0 98a3d000-9923d000 rwxp 00000000 00:00 0 9923d000-99796000 rw-p 00000000 00:00 0 997fc000-99897000 r--p 00000000 08:01 12322195 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 99897000-99926000 r--p 00000000 08:01 12322191 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 99926000-99d28000 rw-p 00000000 00:00 0 99dcc000-99fcd000 rw-p 00000000 00:00 0 99fcd000-9a02c000 r-xp 00000000 08:01 11536227 /usr/lib/libgmp.so.3.5.2 9a02c000-9a02d000 r--p 0005e000 08:01 11536227 /usr/lib/libgmp.so.3.5.2 9a02d000-9a02e000 rw-p 0005f000 08:01 11536227 /usr/lib/libgmp.so.3.5.2 9a02e000-9a127000 r-xp 00000000 08:01 11536813 /usr/lib/libgwenhywfar.so.47.11.3 9a127000-9a128000 r--p 000f8000 08:01 11536813 /usr/lib/libgwenhywfar.so.47.11.3 9a128000-9a129000 rw-p 000f9000 08:01 11536813 /usr/lib/libgwenhywfar.so.47.11.3 9a129000-9a19c000 r-xp 00000000 08:01 11536817 /usr/lib/libaqbanking.so.29.2.4 9a19c000-9a19d000 r--p 00072000 08:01 11536817 /usr/lib/libaqbanking.so.29.2.4 9a19d000-9a19f000 rw-p 00073000 08:01 11536817 /usr/lib/libaqbanking.so.29.2.4 9a19f000-9a3a0000 rw-p 00000000 00:00 0 9a3af000-9a3fe000 r--p 00000000 08:01 12322203 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf 9a3fe000-9a41a000 r--s 00000000 08:01 11799637 /usr/share/mime/mime.cache 9a41a000-9a436000 r--s 00000000 08:01 11799637 /usr/share/mime/mime.cache 9a436000-9a440000 r-xp 00000000 08:01 19660856 /lib/libudev.so.0.9.1 9a440000-9a441000 r--p 00009000 08:01 19660856 /lib/libudev.so.0.9.1 9a441000-9a442000 rw-p 0000a000 08:01 19660856 /lib/libudev.so.0.9.1 9a442000-9a443000 r-xp 00000000 08:01 12726225 /usr/lib/gnucash/gnucash/libgncmod-tax-us.so 9a443000-9a444000 r--p 00000000 08:01 12726225 /usr/lib/gnucash/gnucash/libgncmod-tax-us.so 9a444000-9a445000 rw-p 00001000 08:01 12726225 /usr/lib/gnucash/gnucash/libgncmod-tax-us.so 9a445000-9a453000 r-xp 00000000 08:01 12589324 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0 9a453000-9a454000 r--p 0000d000 08:01 12589324 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0 9a454000-9a455000 rw-p 0000e000 08:01 12589324 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0 9a455000-9a461000 r-xp 00000000 08:01 12732114 /usr/lib/gnucash/gnucash/libgncmod-csv.so 9a461000-9a462000 ---p 0000c000 08:01 12732114 /usr/lib/gnucash/gnucash/libgncmod-csv.so 9a462000-9a463000 r--p 0000c000 08:01 12732114 /usr/lib/gnucash/gnucash/libgncmod-csv.so 9a463000-9a464000 rw-p 0000d000 08:01 12732114 /usr/lib/gnucash/gnucash/libgncmod-csv.so 9a464000-9a5c5000 rw-p 00000000 00:00 0 9a5c5000-9a791000 r-xp 00000000 08:01 11542223 /usr/lib/libosp.so.5.0.0 9a791000-9a799000 r--p 001cc000 08:01 11542223 /usr/lib/libosp.so.5.0.0 9a799000-9a79a000 rw-p 001d4000 08:01 11542223 /usr/lib/libosp.so.5.0.0 9a79a000-9a9a3000 rw-p 00000000 00:00 0 9a9a3000-9a9d3000 r-xp 00000000 08:01 12732109 /usr/lib/gnucash/gnucash/libgncmod-business-gnome.so 9a9d3000-9a9d4000 r--p 0002f000 08:01 12732109 /usr/lib/gnucash/gnucash/libgncmod-business-gnome.so 9a9d4000-9a9d6000 rw-p 00030000 08:01 12732109 /usr/lib/gnucash/gnucash/libgncmod-business-gnome.so 9a9d6000-9a9fb000 r-xp 00000000 08:01 11536901 /usr/lib/libktoblzcheck.so.1.5.11 9a9fb000-9a9fc000 r--p 00025000 08:01 11536901 /usr/lib/libktoblzcheck.so.1.5.11 9a9fc000-9a9fd000 rw-p 00026000 08:01 11536901 /usr/lib/libktoblzcheck.so.1.5.11 9a9fd000-9aa1a000 r-xp 00000000 08:01 12732082 /usr/lib/gnucash/gnucash/libgncmod-aqbanking.so 9aa1a000-9aa1b000 r--p 0001c000 08:01 12732082 /usr/lib/gnucash/gnucash/libgncmod-aqbanking.so 9aa1b000-9aa1c000 rw-p 0001d000 08:01 12732082 /usr/lib/gnucash/gnucash/libgncmod-aqbanking.so 9aa1c000-9aa2d000 r-xp 00000000 08:01 12732079 /usr/lib/gnucash/gnucash/libgncmod-generic-import.so 9aa2d000-9aa2e000 r--p 00010000 08:01 12732079 /usr/lib/gnucash/gnucash/libgncmod-generic-import.so 9aa2e000-9aa2f000 rw-p 00011000 08:01 12732079 /usr/lib/gnucash/gnucash/libgncmod-generic-import.so 9aa2f000-9aa3f000 r-xp 00000000 08:01 12732116 /usr/lib/gnucash/gnucash/libgncmod-qif-import.so 9aa3f000-9aa40000 r--p 00010000 08:01 12732116 /usr/lib/gnucash/gnucash/libgncmod-qif-import.so 9aa40000-9aa41000 rw-p 00011000 08:01 12732116 /usr/lib/gnucash/gnucash/libgncmod-qif-import.so 9aa41000-9aa42000 r-xp 00000000 08:01 12732097 /usr/lib/gnucash/gnucash/libgncmod-locale-reports-us.so 9aa42000-9aa43000 r--p 00000000 08:01 12732097 /usr/lib/gnucash/gnucash/libgncmod-locale-reports-us.so 9aa43000-9aa44000 rw-p 00001000 08:01 12732097 /usr/lib/gnucash/gnucash/libgncmod-locale-reports-us.soAborted Checking back through my backups I was able to find a file from 6 weeks ago that would open successfully. I ran a diff to compare it with the first backup file that would not open. This revealed the following minor addition to the broken file: <slot> <slot:key>book</slot:key> <slot:value type="frame"> <slot> <slot:key>tax_US</slot:key> <slot:value type="frame"> <slot> <slot:key>name</slot:key> <slot:value type="string">Succurro</slot:value> </slot> <slot> <slot:key>type</slot:key> <slot:value type="string">F1120</slot:value> </slot> </slot:value> </slot> </slot:value> </slot> Editing the latest accounts file to remove this section stopped the crash occuring.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 645518 ***
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=645800. Please update any external references or bookmarks.