Go to file
Brian Anderson f4b293f0e3 rt: Fix the 0 bytes lost issue
This is a workaround for #1815. libev uses realloc(0) to
free the loop, which valgrind doesn't like. We have suppressions
to make valgrind ignore them.

Valgrind also has a sanity check when collecting allocation backtraces
that the stack pointer must be at least 512 bytes into the stack (at
least 512 bytes of frames must have come before). When this is not
the case it doesn't collect the backtrace.

Unfortunately, with our spaghetti stacks that valgrind check triggers
sometimes and we don't get the backtrace for the realloc(0), it
fails to be suppressed, and it gets reported as 0 bytes lost
from a malloc with no backtrace.

This fixes the issue by alloca'ing 512 bytes before calling uv_loop_delete
2012-04-03 17:08:33 -07:00
doc Rename some core::option functions 2012-04-02 16:12:49 -07:00
man Updating the manpage and usage message 2012-01-30 19:02:20 -08:00
mk remove rust_srv 2012-04-01 22:18:40 -05:00
src rt: Fix the 0 bytes lost issue 2012-04-03 17:08:33 -07:00
.gitignore Add config.stamp to .gitignore 2012-03-27 22:25:10 -07:00
.gitmodules Update libuv. 2012-02-02 17:39:47 -08:00
AUTHORS.txt Add Tom Lee to AUTHORS 2012-04-02 21:47:20 -07:00
configure build: Add --enable-debug configure option 2012-03-29 19:10:38 -07:00
INSTALL.txt Bump version in INSTALL.txt 2012-03-28 22:45:13 -07:00
LICENSE.txt Add Inno Setup installer script rather than NSIS 2012-01-25 16:02:53 -08:00
Makefile.in build: Add --enable-debug configure option 2012-03-29 19:10:38 -07:00
README.txt
RELEASES.txt Fix typo in release notes. 2012-03-28 13:52:47 -07:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://www.rust-lang.org for more information.