General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 10/08/2025

Issues

open closed Total
Assigned issues 1 30 31
Reported issues 3 76 79

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Like

Activity

10/08/2025

09:27 PM Ruby Revision 86d97331 (git): Add RUBY_FREE_AT_EXIT to MANDATORY_ENVS in test_process.rb
We need to keep RUBY_FREE_AT_EXIT in these tests. peterzhu2118 (Peter Zhu)
12:35 AM Ruby Revision 68e03213 (git): Always load -test-/asan in tests
-test-/asan should always be available. peterzhu2118 (Peter Zhu)

10/06/2025

09:10 PM Ruby Revision 2a484ce3 (git): [ruby/prism] Free current_block_exits for the program
We need to free the current_block_exits in parse_program when we're done
with it to prevent memory leaks. This fixes ...
peterzhu2118 (Peter Zhu)

10/05/2025

04:00 PM Ruby Revision 70467725 (git): Also add LSAN_OPTIONS=handle_segv=0 in assert_segv
Just like ASAN, when running with LSAN, we also want to set handle_segv=0
in assert_segv to make sure that the tests ...
peterzhu2118 (Peter Zhu)

10/04/2025

10:21 PM Ruby Revision 1858233f (git): Free the native thread of the main thread on FREE_AT_EXIT
peterzhu2118 (Peter Zhu)
01:33 AM Ruby Revision e8f879e9 (git): Use LSAN_OPTIONS instead of ASAN_OPTIONS in mkmf
Newer versions of clang's LSAN uses LSAN_OPTIONS environment variable
instead of ASAN_OPTIONS.
peterzhu2118 (Peter Zhu)

10/03/2025

01:20 PM Ruby Revision 14cdd889 (git): [Bug #21620] Fix strict aliasing in rb_managed_id_table_lookup
We cannot pass &ccs into rb_managed_id_table_lookup because rb_managed_id_table_lookup
takes in a VALUE*, so it viola...
peterzhu2118 (Peter Zhu)

10/02/2025

10:42 PM Ruby Bug #21620: master branch: LTO with >= -O2 optimization causes miniruby to segfault in vm_cc
Thank you for the bug report. I have a fix here: https://github.com/ruby/ruby/pull/14707. Let me know if this fixes i... peterzhu2118 (Peter Zhu)
09:09 PM Ruby Revision c36c80bc (git): Always free the main thread in RUBY_FREE_AT_EXIT
peterzhu2118 (Peter Zhu)

09/30/2025

01:47 PM Ruby Revision d8c8623f (git): Set context_stack on main thread
We allocate the stack of the main thread using malloc, but we never set
malloc_stack to true and context_stack. If we...
peterzhu2118 (Peter Zhu)

Also available in: Atom