Closed GreasySlug closed 2 years ago
To our surprise, the crash was caused by a single line of error.
before:
after:
Python was crashing because the stack size was incorrectly specified. If we get no response from Python, we should suspect a bug in code generation.
Describe the bug
Related #176
Invalid import causes multiple error messages and then crashes on any input.
Reproducible code
Expected behavior
Error message and don't crash
Additional context
The following code is crashing at
stream.write_all("exit".as_bytes()).unwrap();
If it fails to read, it seems to fail to write as well
https://github.com/erg-lang/erg/blob/f6e1a7b11783d7f4c78f4e1e1ba6cda048747fc8/src/dummy.rs#L75-L78