What steps will reproduce the problem?
#!r6rs
(import (rnrs))
(let loop ()
(display "yes")
(newline)
(loop))
amoe@vuurvlieg $ mosh sigpipe.scm | head
What is the expected output? What do you see instead?
Expected 10 lines of 'yes'.
Regular mosh segfaults after 'head' terminates:
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Condition components:
1. &i/o-write
2. &who who: "display"
3. &message message: "Broken pipe"
4. &i/o-port port: ()
5. &irritants irritants: (())
Exception:
error in raise: returned from non-continuable exception
Stack trace:
1. throw: <subr>
2. (raise c): baselib.scm:940
3. sys-display: <subr>
4. eval: <subr>
5. (<top-level>): <unknown location>
Segmentation fault
Debug build mosh has a failed assertion, but does not segfault:
ASSERT failure src/Object-accessors.h:100: isEqHashTable()
What version of the product are you using? On what operating system?
Git commit 6a638f19c1aff9e3c8c245704042d288a3a301ab
Linux vuurvlieg 3.2.0-1-amd64 #1 SMP Sun Feb 5 15:17:15 UTC 2012 x86_64
GNU/Linux
Original issue reported on code.google.com by amoe...@gmail.com on 16 Feb 2012 at 12:33
Original issue reported on code.google.com by
amoe...@gmail.com
on 16 Feb 2012 at 12:33