[SR-Users] geoip crash

Juha Heinanen jh at tutpro.com
Mon Mar 3 21:35:30 CET 2014


Daniel-Constantin Mierla writes:

> No, but you can do it and if all goes fine, it can be pushed to remote 
> repository. I don't have a geoip deployment at hand these days.

i backported the patch to my 4.1 source and still got a crash (i don't
remember if this is the same or new one).

-- juha

Program terminated with signal 11, Segmentation fault.
#0  pv_get_geoip (msg=0xb72316a4, param=0xb6fe0ce4, res=0xbfb622fc)
    at geoip_pv.c:332
332				return pv_geoip_get_strzval(msg, param, res,
(gdb) where
#0  pv_get_geoip (msg=0xb72316a4, param=0xb6fe0ce4, res=0xbfb622fc)
    at geoip_pv.c:332
#1  0x080d7714 in pv_get_spec_value (msg=0xb72316a4, sp=0xb6fe0cd8, 
    value=0xbfb622fc) at pvapi.c:1266
#2  0x080a6841 in lval_pvar_assign (h=0xbfb6272c, msg=0xb72316a4, 
    lv=0xb6fe097c, rv=0xb6fe0cd0) at lvalue.c:345
#3  0x080a6ecc in lval_assign (h=0xbfb6272c, msg=0xb72316a4, lv=0xb6fe097c, 
    rve=0xb6fe0ccc) at lvalue.c:410
#4  0x080665e3 in do_action (h=0xbfb6272c, a=0xb6fe1080, msg=0xb72316a4)
    at action.c:1478
#5  0x08067293 in run_actions (h=0xbfb6272c, a=0xb6fe1080, msg=0xb72316a4)
    at action.c:1599
#6  0x0806797a in run_top_route (a=0xb6fe1080, msg=0xb72316a4, c=0x0)
    at action.c:1685
#7  0x080e2973 in receive_msg (
    buf=0x9df95e8 "REGISTER sip:test.tutpro.com SIP/2.0\r\nVia: SIP/2.0/TCP 192.98.102.30:5064;branch=z9hG4bK7db1d82ab09c855c;rport\r\nContact: <sip:0x9c447b8 at 192.98.102.30:5064;transport=tcp>;expires=600;+sip.instance=\"<ur"..., len=616, 
    rcv_info=0xb4b2a33c) at receive.c:211
#8  0x08162874 in receive_tcp_msg (
    tcpbuf=0xb4b2a4f4 "REGISTER sip:test.tutpro.com SIP/2.0\r\nVia: SIP/2.0/TCP 192.98.102.30:5064;branch=z9hG4bK7db1d82ab09c855c;rport\r\nContact: <sip:0x9c447b8 at 192.98.102.30:5064;transport=tcp>;expires=600;+sip.instance=\"<ur"..., 
    len=616, rcv_info=0xb4b2a33c, con=0xb4b2a328) at tcp_read.c:1232
#9  0x08163624 in tcp_read_req (con=0xb4b2a328, bytes_read=0xbfb62ae0, 
    read_flags=0xbfb62adc) at tcp_read.c:1387
#10 0x081649be in handle_io (fm=0xb7530ba8, events=1, idx=-1)
    at tcp_read.c:1559
#11 0x0815deb9 in io_wait_loop_epoll (h=0x82d60c0, t=2, repeat=0)
    at io_wait.h:1092
#12 0x081658ba in tcp_receive_loop (unix_sock=42) at tcp_read.c:1728
#13 0x08158ae3 in tcp_init_children () at tcp_main.c:4959
#14 0x080adcee in main_loop () at main.c:1702
#15 0x080b088f in main (argc=17, argv=0xbfb62ef4) at main.c:2533



More information about the sr-users mailing list