[Devel] Re: [Users] Out of Memory

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 24 21:53:32 CEST 2006


Hi Marcos,

thanks for the debugging - I will try to take a look over it in the next 
day.

regards,
bogdan

Marcos Hack wrote:

>Hi Bogdan,
>
>Sorry, my fault. I believed that function force_rport() was of module
>nathelper and I took off it of openser config.
>
>I came back nathelper module, commented out just force_rport() function
>and the problem don't occur.
>
>I turned on debug=9 and see the following ( complete log in [1] ):
>
>---
>
> 6(5032) qm_malloc(0x8146fc0, 7) called from msg_translator.c:
>build_req_buf_from_sip_req(1340)
> 6(5032) qm_malloc(0x8146fc0, 8) returns address 0x817ea48 frag.
>0x817ea30 (size=8) on 1 -th hit
> 6(5032) build_req_from_req: extra param added: <;rport>
>
>---
>
>Frag 0x817ea30 allocated here are not freed anywhere.
>
>Well, I tried to find the error but after breaking everything I think
>that I need your help! ;)
>
>
>[1] http://vorigon.com/mhack/openser/20060721-0139/out.gz
>
>
>
>Bogdan-Andrei Iancu escreveu:
>  
>
>>Hi Marcos,
>>
>>thanks for report. are you sure it is about the nathelper module? I ask
>>because this module does not use the build_req_buf_from_sip_req()
>>function.  A fast search shows that the function is used only from two
>>places:
>>   forward.c:322
>>   modules/tm/t_fwd.c:173
>>
>>It will be very helpful if you could post the entire log - from startup
>>- and not only the mem dumps; I can look where the chunks are allocated.
>>    
>>




More information about the Devel mailing list