Results of running the entire testsuite with valgrind
| From: | Gwynne Raskind | Date: | Sun, 21 Jun 2009 10:50:35 +0000 |
| Subject: | Results of running the entire testsuite with valgrind | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-44389@lists.php.net to get a copy of this message | ||
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