Chao Yang
Chao Yang
This bug might be related to #12350
@SebastianSzturo You can define mapping for a sub-set of table columns. Check the doc https://imdrasil.github.io/jennifer.cr/docs/model_mapping > If you don’t want to define all the table fields - pass false as...
With the latest bug fixes, the interpreter could run all kemal tests successfully except the `run_spec.cr` file which creates new processes with `Process`. @asterite @straight-shoota @sdogruyol ``` $ cr i...
@straight-shoota This is a very complex bug and I think it is worth tracking it in #11555.
@asterite I have a partial fix for this defunct process issue. The signal handlers were skipped for interpreted mode. But it only fixes part of the issue. Try interpreting `spec/std/process_spec.cr`...
With a release mode compiler built from my git [branch](https://github.com/cyangle/crystal/tree/interpreter), I could run all tests of kemal and lucky successfully with the interpreter. @asterite @jwoertink @sdogruyol ``` $ cr -v...
I got different things after a few iterations, I got the `enum` error most of the times: ``` Invalid memory access (signal 11) at address 0x8 shift?|535|5|/home/chao/git/personal/crystal/src/deque.crunlock|122|18|/home/chao/git/personal/crystal/src/mutex.crsync|26|7|/home/chao/git/personal/crystal/src/crystal/spin_lock.crunlock|117|5|/home/chao/git/personal/crystal/src/mutex.crwait|334|7|/home/chao/git/personal/crystal/src/signal.crinitialize|11|16|/home/chao/git/personal/crystal/src/crystal/system/unix/process.crnew|10|3|/home/chao/git/personal/crystal/src/crystal/system/unix/process.crinitialize:shell:input:output:error|230|21|/home/chao/git/personal/crystal/src/process.crnew:shell:input:output:error|221|3|/home/chao/git/personal/crystal/src/process.cr`|436|13|/home/chao/git/personal/crystal/src/process.cr.crystal/bugs/loop.cr|2|8|.crystal/bugs/loop.crloop|103|5|/home/chao/git/personal/crystal/src/kernel.cr.crystal/bugs/loop.cr|1|1|.crystal/bugs/loop.cr ``` ``` In:...
I spent some time digging into this issue, here's what I found: - Process#wait calls Crystal::SignalChildHandler.wait(@pid) - The interpreter itself has `Crystal::SignalChildHandler` setup and processing signals from child processes and...
It seems like the GC is crashing the interpreter, below code works fine with compiler built from current master branch: @asterite @straight-shoota , please try it out. ``` require "gc"...
The interpreter could run all tests from `spec/std/process_spec.cr` successfully after adding `::Signal.setup_default_handlers` at the beginning of the file and disabling GC with `GC_DONT_GC=1`. ```shell GC_DONT_GC=1 bin/crystal i spec/std/process_spec.cr ```