Skip to content

Commit f301681

Browse files
committed
Update exceptions file with another variant of thread creation memory leak
Since our exceptions match on the stack, they are affected by internal naming changes, and it looks like a new `ruby_xcalloc_body` function is now showing up in the stack.
1 parent 6fac7c0 commit f301681

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

suppressions/ruby-3.4.supp

+16
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,19 @@
7777
obj:/usr/bin/tr
7878
...
7979
}
80+
81+
# When a Ruby process forks, it looks like Ruby doesn't clean up the memory of old threads?
82+
{
83+
ruby-native-thread-memory-4
84+
Memcheck:Leak
85+
fun:calloc
86+
fun:calloc1
87+
fun:rb_gc_impl_calloc
88+
fun:ruby_xcalloc_body
89+
fun:ruby_xcalloc
90+
fun:native_thread_alloc
91+
fun:native_thread_create_dedicated
92+
fun:native_thread_create
93+
fun:thread_create_core
94+
...
95+
}

0 commit comments

Comments
 (0)