Am Montag, 19. August 2013, 11:09:10 schrieb Anton Ertl: > If Bernd cannot reproduce this, this does not mean that the bug is > fixed. I don't remember fixing it. Do you, Bernd?
I can reproduce this with 0.7.2, but not with the current git head. And I
remember that I fixed it. The problem is that we deallocate the input buffer
before we print the exception report, and this fails with some glibc changes.
So use a new Debian to reproduce it.
The commit label is
commit 2314c2f27861610ec669f6858451d3a22e5d1e5e
Author: pazsan <pazsan>
Date: Fri Nov 11 18:29:09 2011 +0000
save-mem for error stack
The change is
--- a/kernel/int.fs
+++ b/kernel/int.fs
@@ -898,7 +898,8 @@ max-errors /error * cells allot
: input-error-data ( -- c-addr1 u1 c-addr2 u2 line# [addr u] )
\ error data for the current input, to be used by >error or .error-frame
- source input-lexeme 2@ sourceline#
+ source over >r save-mem over r> -
+ input-lexeme 2@ >r + r> sourceline#
[ has? file [IF] ] sourcefilename [ [THEN] ] ;
: dec. ( n -- ) \ gforth
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/
signature.asc
Description: This is a digitally signed message part.
