[Devel] Re: [Users] Out of Memory

Marcos Hack marcosh at voicetechnology.com.br
Fri Jul 21 22:08:55 CEST 2006


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