GNOME Bugzilla – Bug 505972
SX-related segfaults in 2.2.2
Last modified: 2018-06-29 21:57:29 UTC
open a new set of accounts. create an SX After saving the SX, click the close "X" in the tab title Gnucash segfaults. Happens every time. This is Intel Macs (systems 10.4 and 10.5) but not ppc Macs. Happens with installations built from the distribution tarball, but not installations built from svn. The last bit of --logto stderr --debug * 14:30:43 INFO <qof.object> [qof_object_foreach] type=Split * 14:30:43 INFO <qof.query> [qof_query_run_internal] matching objects=0x0 count=0 * 14:30:43 INFO <qof.object> [qof_object_foreach] type=Split * 14:30:43 INFO <qof.query> [qof_query_run_internal] matching objects=0x52e92e0 count=2 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x1f74a30 han=0x2ce770 data=0x528d1f0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=12 hi=0x5f0f8e0 han=0x19dbc0 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=11 hi=0x60d7690 han=0x3bc490 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=9 hi=0x6052620 han=0x19dbc0 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=8 hi=0x5fe1b10 han=0x28dc60 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=7 hi=0x5f619c0 han=0x2e4140 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x517fbc0 han=0x17a6a0 data=0x0 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x1fc7c30 han=0x3b5da0 data=0x0 * 14:30:43 INFO <qof.object> [qof_object_foreach] type=Split * 14:30:43 INFO <qof.query> [qof_query_run_internal] matching objects=0x52e9500 count=2 * 14:30:43 INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x1f74a30 han=0x2ce770 data=0x0 * 14:30:43 INFO <qof.object> [qof_object_foreach] type=Split * 14:30:43 INFO <qof.query> [qof_query_run_internal] matching objects=0x52f5400 count=2 Segmentation fault Apple's gdb output: Date/Time: 2007-12-27 14:30:57.506 -0500 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: 0x000000000000000d, 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 libgncmod-app-utils.dylib 0x003ba901 gnc_sx_variable_new_full + 49 1 ??? 0xb141b0bf 0 + 2973872319 Thread 1: 0 libSystem.B.dylib 0x94cb2b42 read$UNIX2003 + 10 1 libglib-2.0.0.dylib 0x01b46231 g_thread_create_proxy + 373 2 libSystem.B.dylib 0x94cc0075 _pthread_start + 321 3 libSystem.B.dylib 0x94cbff32 thread_start + 34
May you please test how this relates to http://svn.gnucash.org/trac/changeset/16610 ?
reverting dialog-sx-since-last-run.c to the version prior to r16610 did not solve the problem. The bug is either me with packaging commands or something odd that swig is doing on creation of the tarball. I have now been able to checkout and build tags/2.2.2 from svn and do not have the problem. If I: make maintainer-clean; autogen; configure; and make dist from the same tags/2.2.2 directory, and then build from the tarball with the fink package description on an intel mac, the problem returns.
r16672 in branches/2.2 is the change that triggers the problem
*** Bug 505975 has been marked as a duplicate of this bug. ***
trunk@16766 resolves. Waiting for backport for 2.2.3
*** Bug 506011 has been marked as a duplicate of this bug. ***
branches/2.2 @ r16796 for GnuCash 2.2.3. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=505972. Please update any external references or bookmarks.