On Oct 8, 2009, at 10:26 AM, Derek Atkins wrote:

David

David Reiser <dbrei...@earthlink.net> writes:

I get a stack overflow when trying to run a Cash Flow report in
gnucash built either from the 2.3.7 tarball or svn r18372. But it is a
different error in each case.

In both cases, just launch gnucash ( I have about 8 registers open by
default) and pick the Cash Flow report. The progress bar nearly
completes before the crash.
[snip]
/sw/share/gnucash/guile-modules/gnucash/main.scm:128:46: In expression
(cdr remaining-elements):
/sw/share/gnucash/guile-modules/gnucash/main.scm:128:46: Stack overflow


cashflow report from svn r18372:
[snip]
/opt/gnucash-svn/share/gnucash/guile-modules/gnucash/main.scm:120:16:
In expression (list? lst):
/opt/gnucash-svn/share/gnucash/guile-modules/gnucash/main.scm:120:16:
Stack overflow

The only difference should be that the swig I use for trunk builds is
1.3.40 vs. whatever version is used for constructing the tarballs.

Mac OS X 10.6.1, Apple's gcc 4.2.1, guile 1.8.6, slib 3b1 (plus a
guile patch for slib committed to their trunk just after 3b1 was
released)

What happens if you change the value of the stack in main.scm?
E.g., change:

(debug-set! maxdepth 100000)
(debug-set! stack    200000)

to something higher, like:

(debug-set! maxdepth 150000)
(debug-set! stack    300000)

???
from trunk:

/opt/gnucash-svn/share/gnucash/guile-modules/gnucash/main.scm:127:40: In expression (car remaining-elements): /opt/gnucash-svn/share/gnucash/guile-modules/gnucash/main.scm:127:40: Stack overflow

or
from tarball:

<unnamed port>: In expression (car dirs):
<unnamed port>: Stack overflow



Dave
--
David Reiser
dbrei...@earthlink.net

-derek

--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      warl...@mit.edu                        PGP key available
Dave
--
David Reiser
dbrei...@earthlink.net




_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to