[GNC] Segmentation Fault GC 3.5

Mike stagl M_Stagl at hotmail.com
Sun Apr 28 10:43:03 EDT 2019


I just finished building gnucash 3.5 per the instructions on the wiki
Building on Linux.

I'm running a Debian 9 (x64) system.

I can get GnuCash to install and open successfully.  When I create a
simple checkbook, as soon as I enter any information in the register,
GnuCash crashes.  I have a gnucash.trace file that shows the following:

    * 10:21:07  INFO <gnc.gui> [main] System locale returned en_US.UTF-8
    * 10:21:07  INFO <gnc.gui> [main] Effective locale set to en_US.UTF-8.
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] The icon theme search path has 10 elements.
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 0: /home/mike/.local/share/icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 1: /home/mike/.icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 2: /usr/share/mate/icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 3: /usr/local/share/icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 4: /usr/share/icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 5: /usr/share/mate/pixmaps
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 6: /usr/local/share/pixmaps
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 7: /usr/share/pixmaps
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 8: /usr/local/share/gnucash/icons
    * 10:21:07  INFO <gnc.gui> [gnc_load_app_icons] Path 9: /usr/local/share/icons
    * 10:21:38 MESSG <gnc.module> Could not locate optional module gnucash/python interface v.0
    * 10:21:38 MESSG <gnc.bin> loading system configuration
    * 10:21:38 MESSG <gnc.bin> loading user configuration
    * 10:21:38 MESSG <gnc.bin> loading saved reports
    * 10:21:38 MESSG <gnc.bin> loading stylesheets
    * 10:21:39  INFO <qof.session> [QofSessionImpl::load_backend]  Selected provider GnuCash Libdbi (SQLITE3) Backend
    * 10:21:39  INFO <qof.session> [QofSessionImpl::load_backend] Provider, GnuCash Libdbi (SQLITE3) Backend, reported not being usable for book, file:///home/mike/Documents/test1.gnucash.
    * 10:21:39  INFO <qof.session> [QofSessionImpl::load_backend] The provider providers access_method, sqlite3, but we're loading for access_method, file. Skipping.
    * 10:21:39  INFO <qof.session> [QofSessionImpl::load_backend] The provider providers access_method, xml, but we're loading for access_method, file. Skipping.
    * 10:21:39  INFO <qof.session> [QofSessionImpl::load_backend]  Selected provider GnuCash File Backend Version 2
    * 10:21:39  INFO <qof.session> [QofSessionImpl::begin] Done running session_begin on backend
    * 10:21:41  INFO <qof.session> [QofSessionImpl::load_backend]  Selected provider GnuCash Libdbi (SQLITE3) Backend
    * 10:21:41  INFO <qof.session> [QofSessionImpl::load_backend] Provider, GnuCash Libdbi (SQLITE3) Backend, reported not being usable for book, file:///home/mike/Documents/test1.gnucash.
    * 10:21:41  INFO <qof.session> [QofSessionImpl::load_backend] The provider providers access_method, sqlite3, but we're loading for access_method, file. Skipping.
    * 10:21:41  INFO <qof.session> [QofSessionImpl::load_backend] The provider providers access_method, xml, but we're loading for access_method, file. Skipping.
    * 10:21:41  INFO <qof.session> [QofSessionImpl::load_backend]  Selected provider GnuCash File Backend Version 2
    * 10:21:41  INFO <qof.session> [QofSessionImpl::begin] Done running session_begin on backend
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncInvoice
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncCustomer
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncCustomer before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncCustomer after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncVendor
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncVendor before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncVendor after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncBillTerm
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncBillTerm before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncBillTerm after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncEntry
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncEntry before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncEntry after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncCustomer
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncCustomer before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncCustomer after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncVendor
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncVendor before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncVendor after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncTaxTable
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncTaxTable before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncTaxTable after is 0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncInvoice
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice after is 0
    * 10:21:41  INFO <qof.query> [qof_query_run_internal] matching objects=(nil) count=0
    * 10:21:41  INFO <qof.object> [qof_object_foreach] type=gncInvoice
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice before is 0
    * 10:21:41  INFO <qof.engine> [qof_collection_foreach] Hash Table size of gncInvoice after is 0
    * 10:21:41  INFO <qof.query> [qof_query_run_internal] matching objects=(nil) count=0
    * 10:21:41 MESSG <gnc.app-utils.sx> num_instances: 0
    * 10:21:41 MESSG <gnc.app-utils.sx> num_to_create: 0
    * 10:21:41 MESSG <gnc.app-utils.sx> num_auto_create_instances: 0
    * 10:21:41 MESSG <gnc.app-utils.sx> num_auto_create_no_notify_instances: 0
    * 10:21:41 MESSG <gnc.app-utils.sx> need dialog? false
    * 10:21:46  INFO <qof.object> [qof_object_foreach] type=Split
    * 10:21:46  INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 0
    * 10:21:46  INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 0
    * 10:21:46  INFO <qof.query> [qof_query_run_internal] matching objects=(nil) count=0
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=4 hi=0x560b06b4dd50 han=0x7fcbf6100a5c data=(nil)
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x560b08a9f7c0 han=0x7fcbfd8d8b67 data=(nil)
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x560b070798c0 han=0x7fcbf5e207d2 data=(nil)
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x560b06cf73c0 han=0x7fcbf60dc97f data=(nil)
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=4 hi=0x560b06b4dd50 han=0x7fcbf6100a5c data=0x7fff4283d290
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x560b08a9f7c0 han=0x7fcbfd8d8b67 data=0x7fff4283d290
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x560b070798c0 han=0x7fcbf5e207d2 data=0x7fff4283d290
    * 10:21:46  INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x560b06cf73c0 han=0x7fcbf60dc97f data=0x7fff4283d290
    * 10:21:46  INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Sort order is BY_STANDARD
    * 10:21:46  INFO <gnc.gui> [gnc_plugin_page_register_create_widget] Loaded Filter Status is 0x001f
    * 10:21:46  INFO <qof.object> [qof_object_foreach] type=Split
    * 10:21:46  INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 1
    * 10:21:46  INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 1
    * 10:21:46  INFO <qof.query> [qof_query_run_internal] matching objects=(nil) count=0

I have built gnucash 3.5 on a different Debian 9 machine and it works
flawlessly.  In fact, I tried using the .deb I made on that machine on
this machine and I get the same segmentation fault.

There are some logs regarding SQLite3 not being usable for this book,
but I don't know how to interpret those.

Any ideas?  Thanks to all,

Mike


More information about the gnucash-user mailing list