#162 opensips 1.5.2 crashes when acc radius enabled

trunk
closed-rejected
modules (454)
5
2009-09-25
2009-07-20
Anonymous
No

Centos 5.3 x86_64, Opensips 1.5.2 with acc and radius logging enabled (compiled with freeradius-client 1.1.6 lib). Opensips listens on mulitple interfaces; I try a call between two phones (no nat involved); opensips core dumps with the following backtrace:

Core was generated by `/usr/local/opensips/sbin/opensips -f /usr/local/opensips/etc/opensips/opensips.'.
Program terminated with signal 11, Segmentation fault.
[New process 446]
#0 0x00002b9891b57275 in rc_get_ipaddr (host=<value optimized out>) at ip_util.c:148
148 return ntohl((*(uint32_t *) hp->h_addr));

Discussion

    • assigned_to: nobody --> bogdan_iancu
     
  • The crash is actually in the radiusclient library, when adding some internal AVPs to the RADIUS message.

    Also, the ACC part with RADIUS is completely changed in 1.6

     
    • milestone: --> trunk
    • status: open --> closed-rejected