Hello,

I moved the check for *free(0) before the check for range (min and max address of pkg/shm) - 0 is out of range always and the range check was done only for mem debugging mode.

What version are you using? Being fm_free, means it is without mem debug on, so it should be same behavior as before. This memory manager does not keep track of locations for malloc/free, you have to recompile with MEMDBG=1 and then you should see the location details.

Cheers,
Daniel

On 10/1/12 9:27 AM, Juha Heinanen wrote:
at some point i have started to get these kind of warning when i stop my
sip proxy:
--text follows this line--
Oct  1 10:23:01 siika /usr/sbin/sip-proxy[16970]: WARNING: <core> 
[mem/f_malloc.c:512]: WARNING:fm_free: free(0) called

any idea where they come from or how i could found out where they come
from?

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - 
http://asipto.com/u/katu


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to