[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 2.1.7 skips while condition
From: |
Arne Babenhauserheide |
Subject: |
Re: guile 2.1.7 skips while condition |
Date: |
Mon, 13 Mar 2017 18:09:10 +0100 |
Arne Babenhauserheide writes:
> Andy Wingo <address@hidden> writes:
>
>> On Thu 09 Mar 2017 15:31, Arne Babenhauserheide <address@hidden> writes:
>>
>>> However I did not manage to reproduce it in a small example, therefore I
>>> pastebinned the whole file:
>>>
>>> script: https://paste.pound-python.org/show/0IlalBrxVH7KHjW83ayu/
>>> input: https://paste.pound-python.org/show/ZxQsazFfwVrvz9f4SU4f/
>>
>> Sounds like you found a nice bug. This is a big script though; have you
>> tried incrementally removing parts of it to winnow it down? That is
>> definitely the first step to fixing the bug :)
>
> I tried building a minimal working example, but not removing stuff bit
> by bit (due to time constraints on free creative time). I would hope
> that it shouldn’t be too complex, but cannot promise I’d get it done
> within the next few weeks.
Here’s a shortened version:
$ wget -O script https://paste.pound-python.org/raw/xbrz8bRPSwPxFvR54kAc/
$ wget -O input https://paste.pound-python.org/raw/UvlhjC3woe0EKq1JiIhO/
$ guile-2.0 script input
#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f
$ guile-2.2 script input
#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#f#tBacktrace:
9 (apply-smob/1 #<catch-closure 715020>)
In ice-9/boot-9.scm:
713:2 8 (call-with-prompt _ _ #<procedure default-prompt-handle&>)
In ice-9/eval.scm:
608:8 7 (_ #(#(#<directory (guile-user) 7c96c0>)))
In ice-9/boot-9.scm:
2346:4 6 (save-module-excursion _)
3850:12 5 (_)
In /tmp/script:
348:17 4 (_)
340:20 3 (wisp2lisp _)
320:24 2 (linestoindented _)
295:57 1 (splitindent #<input: string 8b0150>)
In unknown file:
0 (string #<eof>)
ERROR: In procedure string:
ERROR: In procedure string: Wrong type (expecting character): #<eof>