[freetds] Memory leak or memory accumulation with freetds-0.82 ctlib's ct_cmd_alloc / ct_cmd_drop?

Frediano Ziglio freddy77 at gmail.com
Sat Nov 29 03:49:27 EST 2008


Il giorno gio, 27/11/2008 alle 17.01 +0000, mtbrown88 at comcast.net ha
scritto:
> 
> Hi freddy77, 
> 
> 
> 
> Thanks for testing it.  I am running Red Hat Enterprise Linux 4 Update 7 -- uname -a output: 
> 
>    Linux devbox.localdomain 2.6.9-78 EL #1 Wed Jul 9 15:27:01 EDT 2008 i686 athlon i386 GNU/Linux 
> 
> and top shows all of the memory slowly being used up. 
> 
> 
> 
> Thanks, 
> 
> mtbrown88 
> 

Could you try to install valgring and execute a

valgrind --tool=memcheck --leak-check=yes --show-reachable=yes
--num-callers=20 ./ctlib_leak

it should report leaks and where they happen. Is better to compile
FreeTDS (at least) with debugging informations.

freddy77





More information about the FreeTDS mailing list