tuonigou (tianyang sun)
- Login: tuonigou
- Registered on: 07/14/2025
- Last sign in: 12/29/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
07/17/2025
-
04:05 AM Ruby Bug #21511: Use-after-free of the execution context after the fiber object carrying it is freed in GC
- luke-gru (Luke Gruber) wrote in #note-8:
> The fiber is getting freed in the forked process, but it is not the same physical address as the fiber in the parent process. You are seeing virtual addresses here, these processes don't share ...
07/16/2025
-
05:16 AM Ruby Bug #21511: Use-after-free of the execution context after the fiber object carrying it is freed in GC
- luke-gru (Luke Gruber) wrote in #note-6:
> GC inside a forked process should not affect the parent. Are you getting a crash and a stack trace from running this program? If so, it would be helpful if you uploaded the stack trace.
No, ...
07/14/2025
-
09:29 AM Ruby Bug #21511: Use-after-free of the execution context after the fiber object carrying it is freed in GC
- using ruby 3.5.0dev (2025-07-14T05:11:58Z master 8f54b5bb93) +PRISM [x86_64-linux]
``` shell
# this is currently in the forked proc in GC (the `fork { GC.start }` part)
# thread 3.3 is the created thread by Thread.new
(gdb) i thre... -
07:33 AM Ruby Bug #21511: Use-after-free of the execution context after the fiber object carrying it is freed in GC
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> 3.4.1 is outdate.
> ...
Thank you I am trying to compile the current master branch and maybe the 3.4.4 release. -
07:10 AM Ruby Bug #21511: Use-after-free of the execution context after the fiber object carrying it is freed in GC
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> I can't reproduce it with ruby_3_4 (commit:1e3d24a0f47) on aarch64-linux.
> ...
Sorry I was using the 3.4.1 stable release from https://www.ruby-lang.org/en/downloads/, which is not on there ... -
04:39 AM Ruby Bug #21511 (Closed): Use-after-free of the execution context after the fiber object carrying it is freed in GC
- In bootstraptest/test_thread.rb,
``` ruby
assert_equal 'ok', %{
File.write("zzz_t1.rb", <<-END)
begin
Thread.new { fork { GC.start } }.join
pid, status = Process.wait2
$result = status.success? ?...