[sr-dev] 3.3 presence crash

Juha Heinanen jh at tutpro.com
Thu Jun 14 08:36:51 CEST 2012


after the previous timer based crash, i tried again by sending pua
publish when subscription for the presentity was already active and got
the same crash as before:

Program terminated with signal 11, Segmentation fault.
#0  0x00007ff739269f7b in core_hash (s1=0x504953203a616956, s2=0x0, size=512)
    at ../../hashes.h:277
277		end=s1->s+s1->len;
(gdb) where
#0  0x00007ff739269f7b in core_hash (s1=0x504953203a616956, s2=0x0, size=512)
    at ../../hashes.h:277
#1  0x00007ff73926b33f in publ_cback_func (t=0x7ff735d4f8f0, type=1024, 
    ps=0x7fffcaef1e10) at send_publish.c:246
#2  0x00007ff73dced907 in run_trans_callbacks_internal (cb_lst=0x7ff735d4f960, 
    type=1024, trans=0x7ff735d4f8f0, params=0x7fffcaef1e10) at t_hooks.c:290
#3  0x00007ff73dceda19 in run_trans_callbacks (type=1024, 
    trans=0x7ff735d4f8f0, req=0x0, rpl=0x7ff73e231998, code=200)
    at t_hooks.c:317
#4  0x00007ff73dd156fa in local_reply (t=0x7ff735d4f8f0, p_msg=0x7ff73e231998, 
    branch=0, msg_status=200, cancel_data=0x7fffcaef2070) at t_reply.c:2001
#5  0x00007ff73dd16b30 in reply_received (p_msg=0x7ff73e231998)
    at t_reply.c:2350
#6  0x000000000044fee5 in forward_reply (msg=0x7ff73e231998) at forward.c:790
#7  0x0000000000489180 in receive_msg (
    buf=0x7ff735d713c0 "SIP/2.0 200 OK\r\nVia: SIP/2.0/TCP 192.98.103.10:8080;branch=z9hG4bKa5de.bd555264", '0' <repeats 24 times>, ".0;received=127.0.0.1\r\nTo: sip:jh at vm.test.fi;tag=4a664ec84c547b2d0bc0fe8965f834e4-02e8\r\nFrom: sip"..., len=461, rcv_info=0x7ff735d710f8) at receive.c:270
#8  0x0000000000501a8c in receive_tcp_msg (
    tcpbuf=0x7ff735d713c0 "SIP/2.0 200 OK\r\nVia: SIP/2.0/TCP 192.98.103.10:8080;branch=z9hG4bKa5de.bd555264", '0' <repeats 24 times>, ".0;received=127.0.0.1\r\nTo: sip:jh at vm.test.fi;tag=4a664ec84c547b2d0bc0fe8965f834e4-02e8\r\nFrom: sip"..., len=461, rcv_info=0x7ff735d710f8, con=0x7ff735d710e0) at tcp_read.c:1044
#9  0x0000000000502740 in tcp_read_req (con=0x7ff735d710e0, 
    bytes_read=0x7fffcaef251c, read_flags=0x7fffcaef2518) at tcp_read.c:1231
#10 0x0000000000503759 in handle_io (fm=0x7ff73e21f3f0, events=1, idx=-1)
    at tcp_read.c:1403
#11 0x00000000004fe363 in io_wait_loop_epoll (h=0x897ce0, t=2, repeat=0)
    at io_wait.h:1092
#12 0x0000000000504431 in tcp_receive_loop (unix_sock=16) at tcp_read.c:1572
#13 0x00000000004f9920 in tcp_init_children () at tcp_main.c:4952
#14 0x000000000045c9fb in main_loop () at main.c:1718
#15 0x000000000045f29c in main (argc=16, argv=0x7fffcaef29c8) at main.c:2546

i need to go now for a few hours, but will be back in the evening for
more tests if someone before that has been able to figure out what is
going on.

-- juha



More information about the sr-dev mailing list