I just pushed a patch to master, but I didn't have the geoip libs
installed, thus no test.
If everything is ok, you can backport at your convenience, otherwise I
will do it when I get the first chance.
Cheers,
Daniel
On 27/02/14 08:44, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Can you send the backtrace? Getting geo db and
setting up a testing
environment to reproduce takes time.
below, juha
(gdb) where
#0 pv_get_geoip (msg=0xb722976c, param=0xb6fe3778, res=0xbf8e7c9c)
at geoip_pv.c:329
#1 0x080d7714 in pv_get_spec_value (msg=0xb722976c, sp=0xb6fe376c,
value=0xbf8e7c9c) at pvapi.c:1266
#2 0x080a6841 in lval_pvar_assign (h=0xbf8e878c, msg=0xb722976c,
lv=0xb6fe3444, rv=0xb6fe3764) at lvalue.c:345
#3 0x080a6ecc in lval_assign (h=0xbf8e878c, msg=0xb722976c, lv=0xb6fe3444,
rve=0xb6fe3760) at lvalue.c:410
#4 0x080665e3 in do_action (h=0xbf8e878c, a=0xb6fe3b14, msg=0xb722976c)
at action.c:1478
#5 0x08067293 in run_actions (h=0xbf8e878c, a=0xb6fe3b14, msg=0xb722976c)
at action.c:1599
#6 0x0805e00d in do_action (h=0xbf8e878c, a=0xb6fe2718, msg=0xb722976c)
at action.c:715
#7 0x08067293 in run_actions (h=0xbf8e878c, a=0xb6fe2718, msg=0xb722976c)
at action.c:1599
#8 0x0805fc5f in do_action (h=0xbf8e878c, a=0xb6fe30dc, msg=0xb722976c)
at action.c:1090
#9 0x08067293 in run_actions (h=0xbf8e878c, a=0xb6fdadfc, msg=0xb722976c)
at action.c:1599
#10 0x0806797a in run_top_route (a=0xb6fdadfc, msg=0xb722976c, c=0x0)
at action.c:1685
#11 0x080e2973 in receive_msg (
buf=0x8650528 "REGISTER
sip:test.tutpro.com SIP/2.0\r\nVia: SIP/2.0/TCP
192.98.102.30:5064;branch=z9hG4bK69de950454ae053b;rport\r\nContact:
<sip:0x975a7a8@192.98.102.30:5064;transport=tcp>;expires=600;+sip.instance=\"<ur"...,
len=616,
rcv_info=0xb4b22058) at receive.c:211
#12 0x08162874 in receive_tcp_msg (
tcpbuf=0xb4b22210 "REGISTER
sip:test.tutpro.com SIP/2.0\r\nVia: SIP/2.0/TCP
192.98.102.30:5064;branch=z9hG4bK69de950454ae053b;rport\r\nContact:
<sip:0x975a7a8@192.98.102.30:5064;transport=tcp>;expires=600;+sip.instance=\"<ur"...,
len=616, rcv_info=0xb4b22058, con=0xb4b22044) at tcp_read.c:1232
#13 0x08163624 in tcp_read_req (con=0xb4b22044, bytes_read=0xbf8e8b40,
read_flags=0xbf8e8b3c) at tcp_read.c:1387
#14 0x081649be in handle_io (fm=0xb7528c70, events=1, idx=-1)
at tcp_read.c:1559
#15 0x0815deb9 in io_wait_loop_epoll (h=0x82d60c0, t=2, repeat=0)
at io_wait.h:1092
#16 0x081658ba in tcp_receive_loop (unix_sock=42) at tcp_read.c:1728
#17 0x08158ae3 in tcp_init_children () at tcp_main.c:4959
#18 0x080adcee in main_loop () at main.c:1702
---Type <return> to continue, or q <return> to quit---
#19 0x080b088f in main (argc=17, argv=0xbf8e8f54) at main.c:2533