[sr-dev] [kamailio/kamailio] Segfault with core dump (#614)

Phil Lavin notifications at github.com
Wed May 11 18:36:35 CEST 2016


Ah, thanks Daniel. This is more useful.

```
#0  __strncpy_sse2 (s1=0x7ffc980a968f "", s2=0x208 <error: Cannot access memory at address 0x208>, n=48) at ./strncpy.c:41
        n4 = 12
        c = <optimized out>
        s = 0x7ffc980a9690 ""
#1  0x00007f0ffc54bbc9 in rc_send_server () from /usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
No symbol table info available.
#2  0x00007f0ffc54ad9c in rc_aaa () from /usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
No symbol table info available.
#3  0x00007f0ffc54b036 in rc_auth () from /usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
No symbol table info available.
#4  0x00007f0ffc760071 in radius_authorize_sterman (_msg=0x7f1006ab7360, _cred=0x7f1006a3a040, _method=0x7f1006ab7388, _user=0x7ffc980ad980) at sterman.c:395
        msg = '\000' <repeats 4095 times>
        send = 0x222fb30
        received = 0x0
        service = 15
        method = {
          s = 0xa18800 <buf> "REGISTER sip:register.staging.cloudcall.com SIP/2.0\r\nVia: SIP/2.0/UDP 172.31.17.79:1024;branch=z9hG4bK-5yotxhq2gic2;rport\r\nFrom: \"Staging 1050\" <sip:441164961050 at register.staging.cloudcall.com>;tag=kh"..., len = 8}
        user = {s = 0x7f1006a3a178 "441164961050", len = 12}
        user_name = {s = 0xd4fd0 <error: Cannot access memory at address 0xd4fd0>, len = 1328360}
        ruri = 0x7f1006a3a090
        extra_cnt = 2
        offset = 31
        i = 2
        __FUNCTION__ = "radius_authorize_sterman"
#5  0x00007f0ffc763288 in authorize (_msg=0x7f1006ab7360, _realm=0x7f1006a531f8, _uri_user=0x0, _hftype=HDR_AUTHORIZATION_T) at authorize.c:175
        res = 32764
        ret = NOT_AUTHENTICATED
        h = 0x7f1006a6c8a8
        cred = 0x7f1006a3a038
        uri_user = 0x7f1006ac6818
        user = {s = 0x7f1006a3a178 "441164961050", len = 12}
        domain = {s = 0x7f10069cec78 "register.staging.cloudcall.com", len = 30}
        pv_val = {rs = {s = 0x0, len = 1242592893}, ri = 4284224, flags = 0}
        __FUNCTION__ = "authorize"
#6  0x00007f0ffc763a67 in radius_www_authorize_1 (_msg=0x7f1006ab7360, _realm=0x7f1006a531f8 "\250\366\245\006\020\177", _s2=0x0) at authorize.c:242
No locals.
#7  0x00000000005883d9 in do_action (h=0x7ffc980ae080, a=0x7f1006a5f480, msg=0x7f1006ab7360) at action.c:1059
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/614#issuecomment-218516057
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160511/f9f80dcb/attachment.html>


More information about the sr-dev mailing list