FS#63438 - [crystal] Code execution completely broken
Attached to Project:
Community Packages
Opened by Andy Nicholson (andrewdotnich) - Monday, 12 August 2019, 02:18 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 12 August 2019, 15:39 GMT
Opened by Andy Nicholson (andrewdotnich) - Monday, 12 August 2019, 02:18 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 12 August 2019, 15:39 GMT
|
Details
tl;dr: Running `crystal build`, `crystal run`, `crystal
eval` all fail HARD when invoked.
Package versions: * crystal : 0.30.0-3 * core/libevent: 2.1.11-1 Running `crystal -v`: Crystal 0.30.0 (2019-08-06) LLVM: 8.0.1 Default target: x86_64-pc-linux-gnu Minimal steps to reproduce #1: 1. `$ crystal eval "puts 1+1"` Expected: "2" Actual: 1. `crystal` outputs "[warn] event_reinit: forked from the event_loop." 511 times. 2. Something (a subprocess? it's not in the stderr or stdout for the parent process) outputs "Unhandled exception in spawn: Channel is closed (Channel::ClosedError)" many times for each line of 1) above 3. The process appears to hang until killed with C-c. Minimal steps to reproduce #2: 1. `$ crystal build hello.cr` (attached) Expected: executable file `hello` created that outputs "Hello" to stdout. Actual: As per example 1, with additional `Unhandled exception in spawn: Channel is closedException (Channel::ClosedErrorChannel is closedUnhandled exception in spawn: [warn] Epoll ADD(4) on 8 retried as MOD; that failed too: No such file or directory` lines sprinkled throughout. Tested on my Dell XPS15, and in a clean Docker `archlinux/base` container in which I had run `pacman -Sy crystal shards`. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 12 August 2019, 15:39 GMT
Reason for closing: Fixed
Additional comments about closing: crystal 0.30.0-4
Monday, 12 August 2019, 15:39 GMT
Reason for closing: Fixed
Additional comments about closing: crystal 0.30.0-4
Hopefully 0.30.1 is released soon.