[OpenSER-Devel] SUBSCRIBE crash when using openser trunk from yesterday, juha

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Sep 12 15:39:15 CEST 2007


Hi Juha,

it seams to be a memory error - try to compile and run with the memory 
debugger

Regards,
Bogdan

Juha Heinanen wrote:
> Program terminated with signal 11, Segmentation fault.
> #0  fm_malloc (qm=0x814fba0, size=<value optimized out>) at mem/f_malloc.c:267
> 267                             if ((*f)->size>=size) goto found;
> (gdb) where
> #0  fm_malloc (qm=0x814fba0, size=<value optimized out>) at mem/f_malloc.c:267
> #1  0x080756fe in hostent_cpy (dst=0x81a215c, src=0xb7dbfd4c) at proxy.c:130
> #2  0x08076287 in mk_proxy (name=0xbfa170d0, port=0, proto=0, is_sips=0)
>     at proxy.c:261
> #3  0xb79f05d1 in add_uac (t=0xb37fb6e8, request=0x81ab440, uri=0xbfa1725c,
>     next_hop=0xbfa17264, path=0x81ab74c, proxy=0x0) at ut.h:115
> #4  0xb79f1d79 in t_forward_nonack (t=0xb37fb6e8, p_msg=0x81ab440, proxy=0x0)
>     at t_fwd.c:703
> #5  0xb79edf3e in t_relay_to (p_msg=0x81ab440, proxy=0x0,
>     flags=<value optimized out>) at t_funcs.c:253
> #6  0xb79fc901 in w_t_relay (p_msg=0x81ab440, proxy=0x0,
>     flags=0x2 <Address 0x2 out of bounds>) at tm.c:913
> #7  0x08052ab2 in do_action (a=0x81a13a0, msg=0x81ab440) at action.c:892
> #8  0x08051a7a in run_action_list (a=0x81a13a0, msg=0x81ab440) at action.c:131
> #9  0x080913e7 in eval_expr (e=0x81a13f8, msg=0x81ab440, val=0x0)
>     at route.c:1077
> #10 0x0809101d in eval_expr (e=0x81a1420, msg=0x81ab440, val=0x0)
>     at route.c:1393
> #11 0x08090fbc in eval_expr (e=0x81a1448, msg=0x81ab440, val=0x0)
>     at route.c:1398
> #12 0x08052af5 in do_action (a=0x81a1788, msg=0x81ab440) at action.c:793
> #13 0x08051a7a in run_action_list (a=0x81a0d88, msg=0x81ab440) at action.c:131
> #14 0x0805396e in do_action (a=0x8195950, msg=0x81ab440) at action.c:111
> #15 0x08051a7a in run_action_list (a=0x8195480, msg=0x81ab440) at action.c:131
> ---Type <return> to continue, or q <return> to quit---
> #16 0x0805447b in do_action (a=0x8195a00, msg=0x81ab440) at action.c:810
> #17 0x08051a7a in run_action_list (a=0x8195a00, msg=0x81ab440) at action.c:131
> #18 0x0805396e in do_action (a=0x8182f70, msg=0x81ab440) at action.c:111
> #19 0x08051a7a in run_action_list (a=0x8182c50, msg=0x81ab440) at action.c:131
> #20 0x0805447b in do_action (a=0x8183020, msg=0x81ab440) at action.c:810
> #21 0x08051a7a in run_action_list (a=0x8182618, msg=0x81ab440) at action.c
> #22 0x0805396e in do_action (a=0x8177028, msg=0x81ab440) at action.c:111
> #23 0x08051a7a in run_action_list (a=0x8176fd0, msg=0x81ab440) at action.c
> #24 0x0805447b in do_action (a=0x81770d8, msg=0x81ab440) at action.c:810
> #25 0x08051a7a in run_action_list (a=0x81762d0, msg=0x81ab440) at action.c
> #26 0x0805396e in do_action (a=0x816b9f0, msg=0x81ab440) at action.c:111
> #27 0x08051a7a in run_action_list (a=0x816aa28, msg=0x81ab440) at action.c
> #28 0x080545f9 in do_action (a=0x816baa0, msg=0x81ab440) at action.c:816
> #29 0x08051a7a in run_action_list (a=0x8169d18, msg=0x81ab440) at action.c
> #30 0x0805447b in do_action (a=0x816c1c0, msg=0x81ab440) at action.c:810
> #31 0x08051a7a in run_action_list (a=0x81693c8, msg=0x81ab440) at action.c
> #32 0x0805447b in do_action (a=0x816c218, msg=0x81ab440) at action.c:810
> #33 0x08051a7a in run_action_list (a=0x816c218, msg=0x81ab440) at action.c
> #34 0x0805396e in do_action (a=0x8167038, msg=0x81ab440) at action.c:111
> #35 0x08051a7a in run_action_list (a=0x815a4c8, msg=0x81ab440) at action.c
> #36 0x080559e8 in run_top_route (a=0x815a4c8, msg=0x81ab440) at action.c:1
> #37 0x08086422 in receive_msg (
>     buf=0x813f120 "SUBSCRIBE sip:foo at bar.com SIP/2.0\r\nVia: SIP/2.      x.x.x.x:53222;branch=z9hG4bK-d87543-e67c927188520445-1--d87543-;rport
> x-Forwards: 69\r\nContact: <sip:foo at x.x.x.x:53222>\r\nTo: "...,
>     len=829, rcv_info=0xbfa19d14) at receive.c:156
> #38 0x080b6057 in udp_rcv_loop () at udp_server.c:451
> #39 0x08068927 in main (argc=15, argv=0xbfa19ea4) at main.c:788
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list