Infinite loop on broken pipe
Bug #252221 reported by
G. Weinholt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
I was piping the output of my program to less, and exited less before the program was finished. Ikarus went into a (seemingly) infinite loop, according to strace:
write(1, ">>>>>>
write(1, ">>>>>>
write(1, ">>>>>>
write(1, ">>>>>>
write(1, ">>>>>>
This bash command line triggers the bug:
echo | ikarus | (read;read)
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
I tried the command line that you mention but nothing happens. I tried it on Mac OS X and Debian and it was terminating as usual:
$ echo | ikarus | (read;read)
$ echo | ikarus | (read;read)
$ echo | ikarus | (read;read)
Can you list what happens when you issue that command line. Also, can you provide more information about your operating system/environment. Thanks.