Skip to content

Commit 8f9c172

Browse files
committed
Suppress a libuv leak on mac
I suspect that this is a race between process exit and the termination of worker threads used by libuv (if I sleep before exit it doesn't leak). This isn't going to cause any real problems but should probably be fixed at some point.
1 parent efd6eaf commit 8f9c172

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/etc/x86.supp

+13
Original file line numberDiff line numberDiff line change
@@ -502,3 +502,16 @@
502502
fun:*
503503
...
504504
}
505+
506+
{
507+
libuv-mac-no-thread-join
508+
Memcheck:Leak
509+
fun:malloc_zone_malloc
510+
fun:_CFRuntimeCreateInstance
511+
fun:CFRunLoopSourceCreate
512+
fun:uv__platform_loop_init
513+
fun:uv__loop_init
514+
fun:uv_loop_new
515+
fun:rust_uv_loop_new__c_stack_shim
516+
...
517+
}

0 commit comments

Comments
 (0)