Re: Memory leak detection
| From: | Gustavo Lopes | Date: | Mon, 23 Nov 2009 01:19:25 +0000 |
| Subject: | Re: Memory leak detection | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6821@lists.php.net to get a copy of this message | ||
On Sun, 22 Nov 2009 11:30:07 -0000, Pierre Joye <pierre.php@gmail.com> wrote:
On Sat, Nov 21, 2009 at 6:38 PM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:I was just testing testing. As I soon as I finished the batch of changes I'm working on for the rar extension, I would appreciate that you or someone else would run the their tests with memory leak detection activated. P.S.: Please add me to the maintainers list of the rar extension. -- Gustavo LopesOn Fri, 20 Nov 2009 11:27:20 -0000, Pierre Joye <pierre.php@gmail.com> wrote:What are you testing? I can do some tests if you are looking for bugs.I'm not sure why but the ZMM seems to be broken in some cases, unix or windows, as leaks are not reported. I can't do much to fix that right now :) However there are alternatives, on windows you can use --enable-crt-debug and disable the MM usage (set USE_ZEND_ALLOC=0 first in the cmd line) and it will report some leaks. There is also tools to detect leaks on windows, some are free like ApplicationVerifier (MS tool), windbg can help as well.Thanks, but I can't get it to work on windows, with or without --enable-crt-debug, with or without the environment variable ZEND_ALLOC. I'm giving up.