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 542237 - latest trunk builds segfault on any report
latest trunk builds segfault on any report
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Python Bindings
git-master
Other Linux
: Normal normal
: ---
Assigned To: Mark Jenkins
Mark Jenkins
Depends on:
Blocks: 473506
 
 
Reported: 2008-07-09 17:20 UTC by Rolf Leggewie
Modified: 2018-06-29 22:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace of segfault (2.87 KB, text/plain)
2008-07-09 17:22 UTC, Rolf Leggewie
Details

Description Rolf Leggewie 2008-07-09 17:20:14 UTC
steps to reproduce (for gnucash compiled from trunk with --enable-locale-specific-tax)

1. LC_ALL=de_DE.utf8 gnucash
2. create new file based on SKR04
3. Berichte - Steuer-Bericht & Elster-Export

watch the segfault
Comment 1 Rolf Leggewie 2008-07-09 17:22:25 UTC
Created attachment 114264 [details]
backtrace of segfault
Comment 2 Rolf Leggewie 2008-07-10 06:36:42 UTC
I think this is a broader problem.  SKR04 does not need to be involved and it seems that trunk segfaults on just about any report, not just the tax report.  Is nobody else seeing this?
Comment 3 Rolf Leggewie 2008-07-10 17:27:11 UTC
Derek verified the crashes in 17921.  The last known good version turned out to be 17266.

Christian can you take a closer look at the python stuff in 17284 and 17285?
Comment 4 Derek Atkins 2008-07-10 17:37:37 UTC
Actually, it crashes in r17285.  I didn't test r17284.  The changeset before that (r17266) definitely works.  So this means the crash started from one of these:

r15911 (orig r17285):  cstim | 2008-07-07 17:40:04 -0400

Fix gnucash-env path in make check of python bindings; add PYTHONPATH.

----------------------------------------------------------------------
r15910 (orig r17284):  cstim | 2008-07-07 17:11:02 -0400

Updated python bindings (r17263) for the gnucash API as of 2008-06-06.

Copied from http://savannah.nongnu.org/projects/python-gnucash.


I plan to back these out tonight unless I hear otherwise.
Comment 5 Mark Jenkins 2008-07-10 22:42:31 UTC
When I wrote the text on
http://savannah.nongnu.org/projects/python-gnucash
I failed to document what branches and revisions of GnuCash that patch had been tested against. All I can say reports are working on my version of 2.2.5 patched with this, and I believe Jeff has said that it worked with with some earlier revision of trunk.

This says nothing about trunk as of 17262, and I should of informed people of that when Christian made those commits. There should of been a "I didn't submit this for inclusion at this time" disclaimer.

src/base-typmaps.i
and
src/engine/engine.i
are pretty important files with pretty significant changes; backing out 17284 and 17285 would be reasonable.
Comment 6 Andreas Köhler 2008-07-11 00:35:35 UTC
Please see whether r17292 does any help.
Comment 7 Derek Atkins 2008-07-11 00:56:27 UTC
Actually, r17292 seems to help for me!
Comment 8 Rolf Leggewie 2008-07-11 14:49:00 UTC
Thanks, Andi, your work from r17292 works beautifully.
Comment 9 John Ralls 2018-06-29 22:07:01 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=542237. Please update any external references or bookmarks.