[OpenSER-Users] segfault in presence moudle of openser-1.2 branch
Anca Vamanu
anca at voice-system.ro
Fri Oct 19 16:41:52 CEST 2007
Hello Klaus,
Fixed now.
Thanks,
Anca
Klaus Darilion wrote:
> Hi Anca!
>
> #0 0x00e030e3 in update_subscription (msg=0x8162b68, subs=0xbfe24ef0,
> rtag=0xbfe24e08, to_tag_gen=0)
>
>
> at subscribe.c:359
>
>
>
> 359 record_route.len= strlen(record_route.s);
>
>
> (gdb)
>
>
>
> (gdb)
>
>
>
> (gdb)
>
>
>
> (gdb) bt
>
>
>
> #0 0x00e030e3 in update_subscription (msg=0x8162b68, subs=0xbfe24ef0,
> rtag=0xbfe24e08, to_tag_gen=0)
>
>
> at subscribe.c:359
>
>
>
> #1 0x00e065f8 in handle_subscribe (msg=0x8162b68, str1=0x0, str2=0x0)
> at subscribe.c:1294
>
>
> #2 0x080528d0 in do_action (a=0x815d518, msg=0x8162b68) at action.c:891
>
>
>
> #3 0x08054b6c in run_action_list (a=0x815d438, msg=0x8162b68) at
> action.c:131
>
>
> #4 0x08054258 in do_action (a=0x815d5c8, msg=0x8162b68) at action.c:815
>
>
>
> #5 0x08054b6c in run_action_list (a=0x815ba20, msg=0x8162b68) at
> action.c:131
>
>
> #6 0x08054d9f in run_top_route (a=0x815ba20, msg=0x3) at action.c:111
>
>
>
> #7 0x0807cf23 in receive_msg (
>
>
>
> buf=0x81253e0 "SUBSCRIBE sip:12.34.56.246:5060 SIP/2.0\r\nVia:
> SIP/2.0/UDP 80.75.44.244;branch=z9hG4bK5eb5 .405f258.0\r\nVia:
> SIP/2.0/UDP
> 10.241.131.64:23308;received=194.48.128.75;branch=z9hG4bK-d87543-537e85345d6f75
> 26-"..., len=601, rcv_info=0xbfe25720) at receive.c:156
> #8 0x080a6935 in udp_rcv_loop () at udp_server.c:451
>
>
>
> #9 0x0806b966 in main_loop () at main.c:834
>
>
>
> #10 0x0806da0e in main (argc=7, argv=0xbfe25904) at main.c:1393
>
>
>
>
> The crash happened when processing a SUSBCRIBE without Record-Route
> header:
>
>
> SUBSCRIBE sip:12.34.56.246:5060 SIP/2.0
> Via: SIP/2.0/UDP 12.34.56.244;branch=z9hG4bK5eb5.405f258.0
> Via: SIP/2.0/UDP
> 10.123.123.64:23308;received=123.45.123.75;branch=z9hG4bK-d87543-537e85345d6f7526-1--d87543-;rport=11609
>
> Max-Forwards: 68
> Contact: <sip:a.foobar at 123.45.123.75:11609;transport=udp>
> To: <sip:a.foobar at mydomain.at>;tag=mango.1441.1192697556.19
> From: "foobarfoob"<sip:a.foobar at mydomain.at>;tag=5224f96c
> Call-ID: ZGU0ZGE4NjQzYzRjZGYxZWNhNjM5N2U2MDY0MTZlY2E.
> CSeq: 4 SUBSCRIBE
> Expires: 0
> User-Agent: foobarfoobarfoobarfoobarfoobarfoobar
> Event: presence.winfo
> Content-Length: 0
>
>
> regards
> Klaus
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list