GNOME Bugzilla – Bug 542237
latest trunk builds segfault on any report
Last modified: 2018-06-29 22:07:01 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
Created attachment 114264 [details] backtrace of segfault
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?
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?
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.
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.
Please see whether r17292 does any help.
Actually, r17292 seems to help for me!
Thanks, Andi, your work from r17292 works beautifully.
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.