[OpenSER-Devel] subscribe crash

Juha Heinanen jh at tutpro.com
Mon Mar 31 07:44:53 CEST 2008


openser trunk crashed when i quited twinkle where i had two users
subscribing each other.  at this point openser was handling a subscribe
with expires = 0.

-- juha

(gdb) where
#0  0xb7d1943b in strlen () from /lib/tls/i686/cmov/libc.so.6
#1  0xb78235a6 in get_subs_db (pres_uri=0xbfa96918, event=0xb38733c8, 
    sender=0x0, s_array=0xbfa965d8, n=0xbfa965d4) at notify.c:1012
#2  0xb78247e5 in get_subs_dialog (pres_uri=0xbfa96918, event=0xb38733c8, 
    sender=0x0) at notify.c:1130
#3  0xb782b66c in query_db_notify (pres_uri=0xbfa96918, event=0xb38733c8, 
    watcher_subs=0x0) at notify.c:1268
#4  0xb783a8ca in update_subscription (msg=0x8214878, subs=0xbfa96918, 
    to_tag_gen=0, sent_reply=0xbfa969bc) at subscribe.c:292
#5  0xb7841816 in handle_subscribe (msg=0x8214878, str1=0x0, str2=0x0)
    at subscribe.c:641
#6  0x080543b5 in do_action (a=0x81aba58, msg=0x8214878) at action.c:833
#7  0x08056b0a in run_action_list (a=0x81aba58, msg=0x8214878) at action.c:132
#8  0x0809f972 in eval_expr (e=0x81abac0, msg=0x8214878, val=0x0)
    at route.c:1072
#9  0x0809f403 in eval_expr (e=0x81abae8, msg=0x8214878, val=0x0)
    at route.c:1379
#10 0x0809f397 in eval_expr (e=0x81abb10, msg=0x8214878, val=0x0)
    at route.c:1384
#11 0x08054521 in do_action (a=0x81abd38, msg=0x8214878) at action.c:688
#12 0x08056b0a in run_action_list (a=0x81ab768, msg=0x8214878) at action.c:132
#13 0x08056047 in do_action (a=0x81abef8, msg=0x8214878) at action.c:705
#14 0x08056b0a in run_action_list (a=0x81a8ba0, msg=0x8214878) at action.c:132
#15 0x08055217 in do_action (a=0x819c2d0, msg=0x8214878) at action.c:112
#16 0x08056b0a in run_action_list (a=0x819c2d0, msg=0x8214878) at action.c:132
#17 0x08056047 in do_action (a=0x819c3a0, msg=0x8214878) at action.c:705
#18 0x08056b0a in run_action_list (a=0x819ad00, msg=0x8214878) at action.c:132
#19 0x08056ec3 in run_top_route (a=0x819ad00, msg=0x8214878) at action.c:112
#20 0x0809177a in receive_msg (
    buf=0x816e180 "SUBSCRIBE sip:192.90.90.90:5060 SIP/2.0\r\nVia: SIP/2.0/UDP 192.90.90.3:5066;rport;branch=z9hG4bKswnjvlxf\r\nMax-Forwards: 69\r\nTo: <sip:jh at test.com>;tag=25.13737.1206941657.2\r\nFrom: \"Test\" <sip:test at t"..., 
    len=431, rcv_info=0xbfa97d30) at receive.c:156
#21 0x080cfa4e in udp_rcv_loop () at udp_server.c:438
#22 0x0806d0d4 in main (argc=15, argv=Cannot access memory at address 0x7
) at main.c:779

-- juha



More information about the Devel mailing list