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 505972 - SX-related segfaults in 2.2.2
SX-related segfaults in 2.2.2
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.2.x
Other All
: Normal critical
: ---
Assigned To: Josh Sled
Josh Sled
: 505975 506011 (view as bug list)
Depends on:
Blocks: backport
 
 
Reported: 2007-12-27 22:31 UTC by David Reiser
Modified: 2018-06-29 21:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Reiser 2007-12-27 22:31:00 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
Comment 1 Andreas Köhler 2007-12-27 22:53:07 UTC
May you please test how this relates to http://svn.gnucash.org/trac/changeset/16610 ?
Comment 2 David Reiser 2007-12-28 03:00:45 UTC
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.
Comment 3 David Reiser 2007-12-29 22:21:27 UTC
r16672 in branches/2.2 is the change that triggers the problem

Comment 4 Josh Sled 2007-12-29 22:38:46 UTC
*** Bug 505975 has been marked as a duplicate of this bug. ***
Comment 5 Josh Sled 2007-12-29 22:41:39 UTC
trunk@16766 resolves.  Waiting for backport for 2.2.3
Comment 6 Andreas Köhler 2007-12-31 09:36:22 UTC
*** Bug 506011 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Köhler 2008-01-05 01:06:30 UTC
branches/2.2 @ r16796 for GnuCash 2.2.3.
Thanks a lot!
Comment 8 John Ralls 2018-06-29 21:57:29 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=505972. Please update any external references or bookmarks.