I ran the entire PHP testsuite (as compiled on my system) under valgrind for Darwin and came up with quite a mess of leaks and a couple of crashes.

The results file is quite ginormous, so I uploaded it to my site for the morbidly curious to have a look at:

http://darkrainfall.org/php_test_results_valgrind.txt

Some caveats about these results:

- Darwin's valgrind doesn't support the symlink() syscall, so all tests using symlink() broke.

- I didn't provide the proper environment variables for MySQL to connect, so all those tests broke too.

- There seem to be several valgrind-caught bugs in OpenSSL 0.9.8k that aren't caught by valgrind's suppression files or OpenSSL's PURIFY flag, so you'll have to wade through those pointless warnings.

- Two tests crashed HARD when run (with or without valgrind):

ext/standard/tests/strings/str_pad_variation5.phpt (SIGBUS on NULL pointer)
tests/output/ob_011.mem (SIGSEGV on unmapped non-NULL pointer)

-- Gwynne


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to