httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Parsers test eats all the memory
Date Thu, 13 Jan 2005 02:35:24 GMT
Stas Bekman wrote:
> Getting advanced a bit. I wrote this test program:
> If compiled as:
> gcc -g -O0 -o pool aprpool.c -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread 
> -ldl -laprutil-0 -lgdbm -ldb-4.0 -lexpat -Wl,--rpath 
> -I/home/stas/httpd/prefork/include -L/home/stas/httpd/prefork/lib
> everything is fine. if I do:
>   s{-L/home/stas/httpd/prefork/lib}
>    {-Wl,/home/stas/httpd/prefork/lib}
> I get this huge leak (which is how apreq2 test suite builds).

Hmm, I see why -L/home/stas/httpd/prefork/lib is not passed to the linker, 
so it links the global libapr stuff which has no debug stuff in it, and 
that's why it works. back to the drawing board.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message