From: Greg.mpls@... Date: 2018-07-06T01:01:32+00:00 Subject: [ruby-core:87825] [Ruby trunk Bug#14867] Process.wait can wait for MJIT compiler process Issue #14867 has been updated by MSP-Greg (Greg L). @normalperson Below is the out from `ruby --jit -e exit` ``` C:\Greg\GitHub> ruby --jit -e exit process.c: sigchld=0 getpid.size=8 rb_pid_t.size=8 mjit.c: sigchld=0 getpid.size=8 pid_t.size=8 mjit.c: _WIN32 __MINGW32__ __MINGW64__ !__CYGWIN__ ``` Hope that helps. Both Appveyor build & local buidl have the same output. Thanks again, Greg ---------------------------------------- Bug #14867: Process.wait can wait for MJIT compiler process https://bugs.ruby-lang.org/issues/14867#change-72843 * Author: k0kubun (Takashi Kokubun) * Status: Assigned * Priority: Normal * Assignee: normalperson (Eric Wong) * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not convenient for both Ruby's user and MJIT worker thread, so Process.wait and its families should somehow avoid waiting for it. ---Files-------------------------------- 0001-hijack-SIGCHLD-handler-for-internal-use.patch (13.8 KB) JIT-test-all.log (39.9 KB) mjit_test-all_63796.log (40.4 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: