[SR-Users] valgrind errors from 3.1-stable (git 2fe4d633e4ac)

Henning Westerholt henning.westerholt at 1und1.de
Fri Apr 1 10:35:55 CEST 2011


On Friday 01 April 2011, Timo Teräs wrote:
> [...]
> There are valgrind hooks for memory managers. Should probably add them,
> so it becomes aware of the things. However, those should be only needed
> for memory pools. Ultimately kamailio uses malloc or mmap to allocate
> the memory and valgrind knows both.

Hi Timo,

as a small side note: i think you could switch the PGK internal memory manager 
to use system malloc instead of its pool - maybe this makes it easier for 
valgrind. At least in 1.5 this was present, e.g.:
https://openser.svn.sourceforge.net/svnroot/openser/branches/1.5/mem/mem.h
(SYSTEM_MALLOC)

Cheers,

Henning



More information about the sr-users mailing list