alanwu (Alan Wu)
- Login: alanwu
- Registered on: 10/28/2018
- Last sign in: 11/25/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 4 | 21 | 25 |
| Reported issues | 2 | 48 | 50 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 03/19/2021 |
Activity
11/28/2025
-
01:27 AM Ruby Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c
- I repeated Mame's experience on a Xeon Platinum 8124M and gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04). The chip is from 2017, and runs x86-64-v4. I'm using slightly different scripts since I'm running with frequency scaling disable...
11/27/2025
-
10:43 PM Ruby Bug #21716: YJIT panic: "all PendingBranchRefs should be unique" in net/http response reading (infinite unwind loop)
- There is two separate issues here, YJIT panicking, and the crash reporter looping during stack tracing. During development, I've seen the the crash reporter go into infinite loop on aarch64-dwarin, too.
The rust unwinder seems to be w... -
03:03 AM Ruby Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c
- Right, it's doing the unaligned read in the classic intuitive-but-UB way. Can you try the following (roughly tested) patch? It's based on the ruby_3_4 branch.
```patch
From 225f6caf914a4dd4c457d9e52ab72a79c91bd1a7 Mon Sep 17 00:00:00...
11/26/2025
11/25/2025
-
04:46 AM Ruby Revision f8ee0690 (git): ZJIT: For JIT-to-JIT send, avoid loading uninitialized local through EP
- JIT-to-JIT sends don't blit locals to nil in the callee's
EP memory region because HIR is aware of this initial state and
memory ops are only done when necessary. Previously, we
read from this initialized memory by emitting `GetLocal` in... -
02:55 AM Ruby Bug #21498: Windows - Ruby Overrides C Library APIs thus breaking them
- I want to mention that the "overrides" are regular exports and don't pose an insurmountable problem; the extension is ultimately in control and can choose to prefer whatever C runtime it wants.
LINK [searches] libraries based on the o...
11/21/2025
-
12:52 AM Ruby Revision 7a09df45 (git): Name the `iseq->body->param` struct and update bindings for JITs
- This will make reading the parameters nicer for the JITs. Should be
no-op for the C side. -
12:52 AM Ruby Revision 07ddb0ed (git): ZJIT: Read `iseq->body->param` directly instead of through FFI
- Going through a call to a C function just to read a bitfield was a
little extreme. We did it to be super conservative since bitfields
have historically been the trigger of many bugs and surprises. Let's
try directly accessing them with c...
11/20/2025
-
12:03 AM Ruby Revision 167c3dba (git): Omit a test on s390x linux tripping over a git bug
- This test has been reliably failing on recent trunk versions.
See: <https://github.com/ruby/ruby/actions/runs/19519712433/job/55880266450#step:14:120>
11/19/2025
-
11:14 PM Ruby Revision 2cd792a1 (git): ZJIT: Fix assertion failure when profiling VM_BLOCK_HANDLER_NONE
- As can be seen in vm_block_handler_verify(), VM_BLOCK_HANDLER_NONE is
not a valid argument for vm_block_handler(). Store nil in the profiler
when seen instead of crashing.