Juha Heinanen ?????:
Dmitry Kirillov writes:
 have build SIP-Router and modules from sources from GIT repository
(development branch).
auth_radius module results in a "Segmentation fault: 11" when I try to
register (radius_www_authorize).
find out with gdb where the crash occurs:

gdb binary core
where

Program received signal SIGSEGV, Segmentation fault.
0x2880c2c0 in qop () from /usr/local/lib/ser/modules_s/auth.so
(gdb) bt
#0 0x2880c2c0 in qop () from /usr/local/lib/ser/modules_s/auth.so
#1 0x28816555 in authorize (_msg=0x8343b58, _realm=0x0, _uri_user=0x0, _hftype=15) at authorize.c:102 #2 0x288163e8 in radius_proxy_authorize_1 (_msg=0x8343b58, _realm=0x0, _s2=0x0) at authorize.c:157 #3 0x080596b6 in do_action (h=0xbfbfe890, a=0x82f0e38, msg=0x8343b58) at action.c:906 #4 0x0805b9ec in run_actions (h=0xbfbfe890, a=0x82f0e38, msg=0x8343b58) at action.c:1339 #5 0x080ccb19 in rval_get_int (h=0xbfbfe890, msg=0x8343b58, i=0xbfbfdad4, rv=0x82f0f90, cache=0x0) at rvalue.c:904 #6 0x080cdf25 in rval_expr_eval_int (h=0xbfbfe890, msg=0x8343b58, res=0xbfbfdad4, rve=0x82f0f8c) at rvalue.c:1844 #7 0x080ce0c6 in rval_expr_eval_int (h=0xbfbfe890, msg=0x8343b58, res=0xbfbfdd9c, rve=0x82f1340) at rvalue.c:1851 #8 0x08059437 in do_action (h=0xbfbfe890, a=0x82f1a4c, msg=0x8343b58) at action.c:880 #9 0x0805b9ec in run_actions (h=0xbfbfe890, a=0x82f0ce4, msg=0x8343b58) at action.c:1339 #10 0x08057e11 in do_action (h=0xbfbfe890, a=0x82dc10c, msg=0x8343b58) at action.c:522 #11 0x0805b9ec in run_actions (h=0xbfbfe890, a=0x82dbe58, msg=0x8343b58) at action.c:1339 #12 0x0805a4a3 in do_action (h=0xbfbfe890, a=0x82dcc44, msg=0x8343b58) at action.c:1138 #13 0x0805b9ec in run_actions (h=0xbfbfe890, a=0x82d87f8, msg=0x8343b58) at action.c:1339 #14 0x08057e11 in do_action (h=0xbfbfe890, a=0x82aacc4, msg=0x8343b58) at action.c:522 #15 0x0805b9ec in run_actions (h=0xbfbfe890, a=0x82a9f7c, msg=0x8343b58) at action.c:1339 #16 0x0805bc63 in run_top_route (a=0x82a9f7c, msg=0x8343b58, c=0x0) at action.c:1387
#17 0x080b4f34 in receive_msg (
buf=0x82511c0 "INVITE sip:*89528817...@neotelecom.ru SIP/2.0\r\nVia: SIP/2.0/UDP 78.140.59.45:55474;branch=z9hG4bK-d8754z-4a01ae4eb2219a10-1---d8754z-;rport\r\nMax-Forwards: 16\r\nContact: <sip:1...@78.140.59.45:55474>\r\nTo"..., len=1067, rcv_info=0xbfbfe98c) at receive.c:205
#18 0x08121c27 in udp_rcv_loop () at udp_server.c:527
#19 0x0808d4c1 in main_loop () at main.c:1337
#20 0x0809028d in main (argc=1, argv=0xbfbfec6c) at main.c:2315

--
Dmitry Kirillov, System Engineer
KDS-RIPE
Network Operational Center, JSC Neotelecom
Tomsk, Russia
Telephone: +7(3822)710-008, ICQ: 22413725
Web: http://www.neotelecom.ru/ | mailto:n...@neotelecom.ru
Looking Glass: http://lg.neotelecom.ru/


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to