[OpenSIPS-Devel] Crash [presence]

Iñaki Baz Castillo ibc at aliax.net
Wed Dec 10 14:37:11 CET 2008


2008/12/10 Anca Vamanu <anca at opensips.org>:
> Hi Inaki,
>
> If you have compiled opensips from sources than you must have the debug
> symbols enabled and you can inspect the core file with gdb. Run gdb opensips
> core_file and the bt for backtrace.

Ok, this is the output:

#0  0x00002b7201a015b0 in strlen () from /lib/libc.so.6
#1  0x00002b72035b3ffc in get_p_notify_body (pres_uri={s = 0x6758b8
"sip:bob at oversip.net", len = 19}, event=0x2b72059c63d8, etag=0x0,
contact=<value optimized out>)
    at notify.c:971
#2  0x00002b72035b6cdb in publ_notify (p=0x675b50, pres_uri={s =
0x6758b8 "sip:bob at oversip.net", len = 19}, body=0x7fffa980e110,
offline_etag=0x0, rules_doc=0x0) at notify.c:1457
#3  0x00002b72035be670 in update_presentity (msg=0x674220,
presentity=0x675b50, body=0x7fffa980e110, new_t=1,
sent_reply=0x7fffa980e128, sphere=0x0) at presentity.c:640
#4  0x00002b72035c21b5 in handle_publish (msg=0x674220,
sender_uri=0x0, str2=<value optimized out>) at publish.c:487
#5  0x000000000040f309 in do_action (a=0x6565e0, msg=0x674220) at action.c:830
#6  0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#7  0x0000000000410a2c in do_action (a=0x6566b0, msg=0x674220) at action.c:708
#8  0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#9  0x0000000000410a06 in do_action (a=0x6577a0, msg=0x674220) at action.c:702
#10 0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#11 0x0000000000410a2c in do_action (a=0x657870, msg=0x674220) at action.c:708
#12 0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#13 0x000000000040fd7b in do_action (a=0x647550, msg=0x674220) at action.c:118
#14 0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#15 0x0000000000410a06 in do_action (a=0x6476f0, msg=0x674220) at action.c:702
#16 0x0000000000411053 in run_action_list (a=<value optimized out>,
msg=0x674220) at action.c:138
#17 0x00000000004113e0 in run_top_route (a=0x63b3a0, msg=0x674220) at
action.c:118
#18 0x000000000043ffcc in receive_msg (
    buf=0x60ac20 "PUBLISH sip:bob at oversip.net SIP/2.0\r\nVia:
SIP/2.0/UDP 10.134.16.124:6060;rport;branch=z9hG4bKxrrpfbli\r\nMax-Forwards:
69\r\nProxy-Authorization: Digest
username=\"bob\",realm=\"oversip.net\",nonce=\"493fa77e0"..., len=808,
rcv_info=0x7fffa980f7b0) at receive.c:165
#19 0x0000000000470aa0 in udp_rcv_loop () at udp_server.c:449
#20 0x00000000004228cc in main (argc=<value optimized out>,
argv=0x7fffa980f9a8) at main.c:776
(gdb)





-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Devel mailing list