[OpenSIPS-Devel] [opensips] Opensips 1.8.8 crash in get_ha1 while doing authorization on REGISTER (#688)

neha31oct notifications at github.com
Tue Nov 3 12:28:53 CET 2015


Below are the core fille debug log.. Please help me out.......
We havenot changed anything 
(gdb) bt
#0  0x0000003b8a1336ff in __strlen_sse42 () from /lib64/libc.so.6
#1  0x00007f9e73739d42 in get_ha1 (_username=0x7f9e7590d3b8, _domain=0x7fff60c42220, _table=0x7fff60c42210, _ha1=0x7fff60c42240 "\340\064\002\212;",
    res=0x7fff60c42208) at authorize.c:126
#2  0x00007f9e7373a74b in authorize (_m=0x7f9e75900828, _realm=0x7f9e758fd540, _table=0x7f9e758e7f70 "ALB_subscriber", _hftype=HDR_AUTHORIZATION_T) at authorize.c:248
#3  0x00007f9e7373a960 in www_authorize (_m=0x7f9e75900828, _realm=0x7f9e758fd540 "\001", _table=0x7f9e758e7f70 "ALB_subscriber") at authorize.c:291
#4  0x0000000000414fde in do_action (a=0x7f9e758e8008, msg=0x7f9e75900828) at action.c:1581
#5  0x000000000040f0f7 in run_action_list (a=0x7f9e758e8008, msg=0x7f9e75900828) at action.c:158
#6  0x000000000046053f in eval_elem (e=0x7f9e758e80e0, msg=0x7f9e75900828, val=0x0) at route.c:1453
#7  0x00000000004619c0 in eval_expr (e=0x7f9e758e80e0, msg=0x7f9e75900828, val=0x0) at route.c:1798
#8  0x0000000000461aba in eval_expr (e=0x7f9e758e8130, msg=0x7f9e75900828, val=0x0) at route.c:1814
#9  0x0000000000461af4 in eval_expr (e=0x7f9e758e8180, msg=0x7f9e75900828, val=0x0) at route.c:1819
#10 0x00000000004126cb in do_action (a=0x7f9e758e8750, msg=0x7f9e75900828) at action.c:997
#11 0x000000000040f0f7 in run_action_list (a=0x7f9e758e7d68, msg=0x7f9e75900828) at action.c:158
#12 0x0000000000412802 in do_action (a=0x7f9e758e94f0, msg=0x7f9e75900828) at action.c:1014
#13 0x000000000040f0f7 in run_action_list (a=0x7f9e758d9010, msg=0x7f9e75900828) at action.c:158
#14 0x000000000040efc4 in run_actions (a=0x7f9e758d9010, msg=0x7f9e75900828) at action.c:123
#15 0x000000000040f1f5 in run_top_route (a=0x7f9e758d9010, msg=0x7f9e75900828) at action.c:198
#16 0x0000000000451d31 in receive_msg (
    buf=0x7736e0 "REGISTER sip:192.168.20.220 SIP/2.0\r\nVia: SIP/2.0/UDP 192.20.162.46:16072;branch=z9hG4bK-d87543-f5273d72fb5eff23-1--d87543-;rport\r\nMax-Forwards: 69\r\nContact: <sip:4226 at 192.20.162.46:16072;rinstance="..., len=766, rcv_info=0x7fff60c43b80) at receive.c:169
#17 0x00000000004892fb in udp_rcv_loop () at udp_server.c:422
#18 0x0000000000427627 in main_loop () at main.c:884
#19 0x00000000004299ed in main (argc=7, argv=0x7fff60c43df8) at main.c:1557
(gdb) up
#1  0x00007f9e73739d42 in get_ha1 (_username=0x7f9e7590d3b8, _domain=0x7fff60c42220, _table=0x7fff60c42210, _ha1=0x7fff60c42240 "\340\064\002\212;",
    res=0x7fff60c42208) at authorize.c:126
126     authorize.c: No such file or directory.
        in authorize.c
(gdb) p res->r
res_rows  rows
(gdb) p res->r
res_rows  rows
(gdb) p res->rows
Display all 31878 possibilities? (y or n)
(gdb) p res->rows->values
Display all 31878 possibilities? (y or n)
(gdb) p res->rows->values
$1 = (db_val_t *) 0x7f9e75901210
(gdb) p *res->rows->values
$2 = {type = DB_INT, nul = 0, free = 0, val = {int_val = 959460407, bigint_val = 959460407, double_val = 4.7403642564356027e-315, time_val = 959460407,
    string_val = 0x39303437 <Address 0x39303437 out of bounds>, str_val = {s = 0x39303437 <Address 0x39303437 out of bounds>, len = 0}, blob_val = {
      s = 0x39303437 <Address 0x39303437 out of bounds>, len = 0}, bitmap_val = 959460407}}
(gdb

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151103/abdcf07f/attachment.htm>


More information about the Devel mailing list