[OpenSER-Devel] trunk publish crash

Juha Heinanen jh at tutpro.com
Thu Mar 20 18:55:09 CET 2008


today i got this kind of publish crash.  it happened when user test
registered and then published its state.

-- juha

Program terminated with signal 11, Segmentation fault.
#0  0xb7d01463 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) where
#0  0xb7d01463 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1  0xb780b5a6 in get_subs_db (pres_uri=0xbfbd95c4, event=0xb385b060, 
    sender=0x0, s_array=0xbfbd9538, n=0xbfbd9534) at notify.c:1012
#2  0xb780c7e5 in get_subs_dialog (pres_uri=0xbfbd95c4, event=0xb385b060, 
    sender=0x0) at notify.c:1130
#3  0xb7813a00 in publ_notify (p=0x8214c30, pres_uri=
      {s = 0x8214b58 "sip:test at tutpro.com", len = 19}, body=0xbfbd9ba4, 
    offline_etag=0x0, rules_doc=0x0) at notify.c:1213
#4  0xb78197ae in update_presentity (msg=0x8214298, presentity=0x8214c30, 
    body=0xbfbd9ba4, new_t=1, sent_reply=0xbfbd9bb0, sphere=0x0)
    at presentity.c:523
#5  0xb781f120 in handle_publish (msg=0x8214298, sender_uri=0x0, str2=0x0)
    at publish.c:496
#6  0x08054385 in do_action (a=0x81cff28, msg=0x8214298) at action.c:833
#7  0x08056ada in run_action_list (a=0x81cff28, msg=0x8214298) at action.c:132
#8  0x0809f7c2 in eval_expr (e=0x81cff90, msg=0x8214298, val=0x0)
    at route.c:1072
#9  0x0809f253 in eval_expr (e=0x81cffb8, msg=0x8214298, val=0x0)
    at route.c:1379
#10 0x0809f1e7 in eval_expr (e=0x81cffe0, msg=0x8214298, val=0x0)
    at route.c:1384
#11 0x080544f1 in do_action (a=0x81d0208, msg=0x8214298) at action.c:688
#12 0x08056ada in run_action_list (a=0x81cfc38, msg=0x8214298) at action.c:132
---Type <return> to continue, or q <return> to quit--- 
#13 0x08056017 in do_action (a=0x81d03c8, msg=0x8214298) at action.c:705
#14 0x08056ada in run_action_list (a=0x81d03c8, msg=0x8214298) at action.c:132
#15 0x08056017 in do_action (a=0x81d1748, msg=0x8214298) at action.c:705
#16 0x08056ada in run_action_list (a=0x81ccfa0, msg=0x8214298) at action.c:132
#17 0x080551e7 in do_action (a=0x81c0000, msg=0x8214298) at action.c:112
#18 0x08056ada in run_action_list (a=0x81bf338, msg=0x8214298) at action.c:132
#19 0x08056017 in do_action (a=0x81c00d0, msg=0x8214298) at action.c:705
#20 0x08056ada in run_action_list (a=0x81bda98, msg=0x8214298) at action.c:132
#21 0x080551e7 in do_action (a=0x81b3a40, msg=0x8214298) at action.c:112
#22 0x08056ada in run_action_list (a=0x81b2658, msg=0x8214298) at action.c:132
#23 0x08056017 in do_action (a=0x81b3b10, msg=0x8214298) at action.c:705
#24 0x08056ada in run_action_list (a=0x81b2080, msg=0x8214298) at action.c:132
#25 0x080551e7 in do_action (a=0x81a81c8, msg=0x8214298) at action.c:112
#26 0x08056ada in run_action_list (a=0x819d3b8, msg=0x8214298) at action.c:132
#27 0x080551e7 in do_action (a=0x819c408, msg=0x8214298) at action.c:112
#28 0x08056ada in run_action_list (a=0x819ad00, msg=0x8214298) at action.c:132
#29 0x08056e93 in run_top_route (a=0x819ad00, msg=0x8214298) at action.c:112
#30 0x080915ca in receive_msg (
    buf=0x816e180 "PUBLISH sip:test at tutpro.com SIP/2.0\r\nVia: SIP/2.0/UDP 192.98.100.3:5066;rport;branch=z9hG4bKskxkdfhh\r\nMax-Forwards: 69\r\nProxy-Authorization: Digest username=\"test\",realm=\"tutpro.com\",nonce=\"47e2a4074c"..., 
    len=806, rcv_info=0xbfbdbe70) at receive.c:156
#31 0x080cf89e in udp_rcv_loop () at udp_server.c:438
---Type <return> to continue, or q <return> to quit---
#32 0x0806d0a4 in main (argc=15, argv=Cannot access memory at address 0x4
) at main.c:779




More information about the Devel mailing list