If a class is allocated and has a singleton class, it is incorrectly marked as initialized which can cause an assertion error when an instance is allocated. For example, the following code causes an assertion error: c = Class.alloc...peterzhu2118 (Peter Zhu)
Applied in changeset commit:git|bd24fa62a592ec4b8c2eecbebf5e6d347ade9052. ---------- Copy ep when duplicating ifunc procs [Bug #22412] When duplicating ifunc procs that have heap allocated env, we should share it instead of making a c...peterzhu2118 (Peter Zhu)
[Bug #22412] When duplicating ifunc procs that have heap allocated env, we should share it instead of making a copy. In debug mode, the following script triggers an assertion failure: pr = proc {|a, b| [a, b] }.curry.dup pr.ca...peterzhu2118 (Peter Zhu)
Applied in changeset commit:git|722e1b0aabe55893baa43b185f67ddccfd1c77b6. ---------- Check for stack overflow in setup_parameters_complex [Bug #22409] setup_parameters_complex could cause a VM stack overflow, so we should check for th...peterzhu2118 (Peter Zhu)
[Bug #22409] setup_parameters_complex could cause a VM stack overflow, so we should check for that otherwise we could crash. When assertions are enabled, the following script crashes: pr = proc {|a=1,b=1,c=1,d=1,e=1,f=1,g=1,h=1,i=...peterzhu2118 (Peter Zhu)
Applied in changeset commit:git|cbf6a92e5115218058c225fb4d29343af7b41e3f. ---------- Fix crash in IO.external_encoding/IO.internal_encoding [Bug #22410] If the IO is not initialized, IO.external_encoding/IO.internal_encoding can crash...peterzhu2118 (Peter Zhu)
[Bug #22410] If the IO is not initialized, IO.external_encoding/IO.internal_encoding can crash because it doesn't check for it.peterzhu2118 (Peter Zhu)
Applied in changeset commit:git|05fc8ad175b68c8521015df1905f46be5ef1f967. ---------- Fix incorrect class of File::Stat subclass instance [Bug #22411] rb_stat_s_alloc should use the class of the object and not assume it is File::Stat. ...peterzhu2118 (Peter Zhu)