about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-08-02 22:05:32 -0700
committerBrian Anderson <banderson@mozilla.com>2013-08-02 22:05:34 -0700
commit8f9c1724d0e085c673df3134bdc606cde72207a1 (patch)
tree239c7d0de28b14c7497c87c00e67484fba311675
parentefd6eafeb4f734ef7883afadb4e50099430c76f2 (diff)
downloadrust-8f9c1724d0e085c673df3134bdc606cde72207a1.tar.gz
rust-8f9c1724d0e085c673df3134bdc606cde72207a1.zip
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.
-rw-r--r--src/etc/x86.supp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/etc/x86.supp b/src/etc/x86.supp
index def1c5a53c1..e6064ff4f72 100644
--- a/src/etc/x86.supp
+++ b/src/etc/x86.supp
@@ -502,3 +502,16 @@
    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