#487 Crash at rtpproxy.c

1.7.x
closed-invalid
nobody
modules (454)
5
2012-03-21
2012-03-21
Anonymous
No

We are using the basic nathelper.cfg from the exampls directory of the source of opensips 1.7.2.
running the rtpproxy with: ./rtpproxy -f -d DBUG

when the cfg script reaches the line rtpproxy_offer(); while processing INVITE request it crashes.
from gdb we found that it is crashing in the line:
-----------------
(gdb) frame 0
#0 0x00747cf8 in force_rtp_proxy_body (msg=0x81f13c8, args=0xbfa496d0) at rtpproxy.c:3366
3366 newip.len = strlen(newip.s);
(gdb) p newip.s
$1 = 0x0
-----------------

and from the rtpproxy debug it looks like its crashing when it gets the following reply:
-----
DBUG:doreply: sending reply "48798
"
-----------
we are using:
Rtpproxy: "rtpproxy-1.2.1"
OpenSips: "opensips 1.7.2-notls (i386/linux)"

Thanks,
Samiul Aftad & Salah Uddin Ahmed

Discussion

  • Bogdan-Andrei Iancu

    Hi,

    This bug was already fixed in 1.7.2 and 1.8.0 on Feb 25th - please update you sources from SVN.

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open --> closed-invalid
     

Log in to post a comment.