General

Profile

stanhu (Stan Hu)

  • Login: stanhu
  • Registered on: 01/08/2018
  • Last sign in: 05/30/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 8 9

Activity

05/15/2024

04:21 AM Ruby master Bug #20490: Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
I've opened fixes here:
* 3.2: https://github.com/ruby/ruby/pull/10771
* 3.1: https://github.com/ruby/ruby/pull/1...
stanhu (Stan Hu)
03:39 AM Ruby master Bug #20490: Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
I think this patch in the `ruby_3_2` branch fixes the problem:
```diff
diff --git a/process.c b/process.c
index 354e...
stanhu (Stan Hu)
02:07 AM Ruby master Bug #20490 (Closed): Process.waitpid2(-1, Process::WNOHANG) misbehaves on Ruby 3.1 & 3.2 with detached process
This is a follow-up issue for a bug that I thought was fixed in https://bugs.ruby-lang.org/issues/19837 and duplicate... stanhu (Stan Hu)

01/22/2024

12:57 AM Ruby master Revision 67b00f72 (git): Make tests play with upstream Ruby tests
CI broke in https://github.com/ruby/ruby/pull/9604 because if any Ruby
tests run `require 'net/http'`, they will poll...
stanhu (Stan Hu)

01/13/2024

04:17 AM Ruby master Bug #20181: Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
Yes, thanks, this definitely looks like the same issue. Thanks for filing that issue and getting the patches merged.
...
stanhu (Stan Hu)

01/12/2024

05:12 PM Ruby master Bug #20181: Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
This might be a duplicate of https://bugs.ruby-lang.org/issues/19322. stanhu (Stan Hu)
05:04 PM Ruby master Bug #20181 (Closed): Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
From Ruby 2.6 to 3.2, `Process.wait(-1)` doesn't return in a timely manner if a spawned, detached process is still ru... stanhu (Stan Hu)

12/26/2023

03:33 PM Ruby master Bug #20088 (Open): Ruby 3.3.0 does not cross-complie on arm64-darwin
To reproduce:
```shell
docker run -it ghcr.io/rake-compiler/rake-compiler-dock-image:1.4.0.rc2-mri-arm64-darwin b...
stanhu (Stan Hu)

08/23/2023

04:49 AM Ruby master Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
We can close this now that XCode 14.3, which ships with clang 14.0.3, now fixes this issue: https://github.com/python... stanhu (Stan Hu)

01/10/2023

09:20 AM Ruby master Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
nobu (Nobuyoshi Nakada) wrote in #note-33:
> Adding `-no_fixup_chains -undefined dynamic_lookup` together will break...
stanhu (Stan Hu)

Also available in: Atom