[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #49943] kawa (command-line program) hangs when importing
From: |
Sudarshan S Chawathe |
Subject: |
[Bug-kawa] [bug #49943] kawa (command-line program) hangs when importing library twice |
Date: |
Wed, 28 Dec 2016 00:44:41 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49943>
Summary: kawa (command-line program) hangs when importing
library twice
Project: Kawa
Submitted by: chaw
Submitted on: Wed 28 Dec 2016 12:44:40 AM GMT
Category: Scheme language
Severity: 3 - Normal
Item Group: Unexpected result
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When I import a library multiple times, the kawa command-line program (simple
REPL-in-a-terminal) hangs:
address@hidden:~/res/scheme/local-libs$ kawa
#|kawa:1|# (include "128.sld")
/home/chaw/res/scheme/local-libs/128.body1.scm:241:9: warning - no use of
norp?
#|kawa:2|# (import (srfi 128))
#|kawa:3|# (import (srfi 128))
[... hangs here ...]
The "128.sld" file is from the sample implementation of SRFI 128.
I came across this problem when running a Kawa REPL within emacs and then
distilled it down to the above in the plain kawa program (run from a terminal
window). Of course, I don't really need to import (srfi 128) twice, but it
was the simplest way I found of getting the hanging behavior. In my actual
code, SRFI 128 is imported indirectly by a library I'm importing and then
again directly (and that causes the Kawa REPL to hang).
I am not sure how reproducible this is for other setups, but figure it may be
worthwhile reporting it nonetheless. I am using Kawa 2.2 (revision 9049M) on
a 32-bit Debian setup with OpenJDK 8 and I have been able to always reproduce
it in my tests so far. In a few cases, kawa did not hang on the second
import, but did on the third or fourth.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49943>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #49943] kawa (command-line program) hangs when importing library twice,
Sudarshan S Chawathe <=