]> git.lizzy.rs Git - rust.git/commitdiff
Suppress a libuv leak on mac
authorBrian Anderson <banderson@mozilla.com>
Sat, 3 Aug 2013 05:05:32 +0000 (22:05 -0700)
committerBrian Anderson <banderson@mozilla.com>
Sat, 3 Aug 2013 05:05:34 +0000 (22:05 -0700)
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.

src/etc/x86.supp

index def1c5a53c1fde79dc5645064c39aacc2091d4b1..e6064ff4f72d2852bca25bbfc525772f59882e8b 100644 (file)
    fun:*
    ...
 }
+
+{
+   libuv-mac-no-thread-join
+   Memcheck:Leak
+   fun:malloc_zone_malloc
+   fun:_CFRuntimeCreateInstance
+   fun:CFRunLoopSourceCreate
+   fun:uv__platform_loop_init
+   fun:uv__loop_init
+   fun:uv_loop_new
+   fun:rust_uv_loop_new__c_stack_shim
+   ...
+}
\ No newline at end of file