Interrupt signal crashes Julia in emacs

In emacs (both ESS REPL and eshell), sending an interrupt signal ("C-c C-c" and "C-c", respectively) causes Julia to crash

In eshell:
1. lauch Julia
2. Press control-c

```
$ julia 
[logo]
julia> 8
8

julia> ERROR: interrupt
 in stream_wait at stream.jl:252
 in wait_readbyte at stream.jl:298
 in readuntil at stream.jl:670
 in readuntil at io.jl:148
 in readuntil at Terminals.jl:160
 in run_frontend at REPL.jl:169
 in run_repl at REPL.jl:151
```