[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stack overflow
From: |
Neil Jerram |
Subject: |
Re: stack overflow |
Date: |
Mon, 25 Feb 2008 21:52:27 +0000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
"Mikael Djurfeldt" <address@hidden> writes:
> I was thinking about inserting code which actually *measures* the size
> of frames during startup. This could be done, for example, by
> introducing a primitive which uses the internal stack measuring
> functions. One could use this primitive to measure how much stack
> space some code sample uses. By our knowledge of how many evaluator
> stack frames this code sample uses, we can compute a reliable estimate
> for the running instance of Guile.
Below is a proposed patch to do this. When and if this gets deployed,
the third arg to %calibrate-stack-depth would be removed, so that it
doesn't generate any output. But for now it's interesting to see what
results people on various OSs get.
Could people who've being getting "Stack overflow" errors try this
out, and also report (for interest) the ";; Stack calibration" line
that they get?
Thanks,
Neil
new-stack-overflow.patch
Description: Text Data
- Re: stack overflow / partial success, (continued)
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/18
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/18
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/19
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/19
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/20
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/20
- GUILE 1.8.4 on AIX 6.1, Rainer Tammer, 2008/02/20
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: stack overflow,
Neil Jerram <=