<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Patched is installed now, going to push some load and see if I can
crash it.<br>
<br>
Thanks and ill keep you updated.<br>
<br>
Bogdan-Andrei Iancu wrote:
<blockquote cite="mid:4ADFED57.5030505@voice-system.ro" type="cite">Brad,
<br>
<br>
Please apply the attached patch and see if it's fixing the problem for
you.
<br>
<br>
Regards,
<br>
Bogdan
<br>
<br>
Brad Bendy wrote:
<br>
<blockquote type="cite">#0 0x0000000801517b39 in
pre_print_uac_request (t=0x802976678, branch=1, request=0x801647020) at
t_fwd.c:132
<br>
132 memcpy( p, request->dst_uri.s,
request->dst_uri.len);
<br>
<br>
<br>
$2 = (struct sip_msg *) 0x801647020
<br>
(gdb) print request->dst_uri
<br>
$3 = {s = 0x0, len = -1}
<br>
<br>
I see len = -1, so basically a value must be null when im using one of
these functions? From the logging ive had setup I have seen no empty or
weird values, but I can check again as well.
<br>
<br>
Thanks
<br>
<br>
That's what I got back.
<br>
<br>
Thanks
<br>
<br>
Bogdan-Andrei Iancu wrote:
<br>
<blockquote type="cite">Brad,
<br>
<br>
in gdb, just do:
<br>
<br>
f 0
<br>
print request
<br>
print request->dst_uri
<br>
<br>
Regards,
<br>
Bogdan
<br>
<br>
Brad Bendy wrote:
<br>
<blockquote type="cite">Hi Bogdan,
<br>
<br>
Well, sometimes we do, sometimes we only call or the other, 90% of the
time we use both on the same call.
<br>
<br>
I do still have the core, inside of gdb do I need to run a command?
<br>
<br>
When I run "bt", frame 0 shows: #0 0x0000000801517b39 in
pre_print_uac_request (t=0x802976678, branch=1, request=0x801647020) at
t_fwd.c:132
<br>
<br>
Thanks
<br>
<br>
Bogdan-Andrei Iancu wrote:
<br>
<blockquote type="cite">Hi Brad,
<br>
<br>
Do you use both replace_to and replace_from in the same time ?
<br>
<br>
Do you still have the core file ? could you check in frame 0 for
"request" and "request->dst_uri" ?
<br>
<br>
Thanks and regards,
<br>
Bogdan
<br>
<br>
Brad Bendy wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
Running 1.6 non SVN we are getting random crashes, it appears this is
from the uac_replace_from and uac_replace_to, we did not have this
problem until we started using these function. Below is the bt from
gdb.
<br>
<br>
The only errors we get in the logs are from memcache, which I think are
unrelated from this, has anyone else seen this issue? I can try the
latest SVN tonight and see how if that fixes it.
<br>
<br>
Thanks for any help or suggestions.
<br>
<br>
#0 0x0000000801517b39 in pre_print_uac_request (t=0x802a18bf8,
branch=1, request=0x801647020) at t_fwd.c:132
<br>
132 memcpy( p, request->dst_uri.s,
request->dst_uri.len);
<br>
<br>
<br>
<br>
#0 0x0000000801517b39 in pre_print_uac_request (t=0x802a18bf8,
branch=1, request=0x801647020) at t_fwd.c:132
<br>
#1 0x0000000801518092 in add_uac (t=0x802a18bf8, request=0x801647020,
uri=0x7fffffffd0d0,
<br>
next_hop=0x7fffffffd0e0, path=Variable "path" is not available.
<br>
) at t_fwd.c:400
<br>
#2 0x0000000801519bda in t_forward_nonack (t=0x802a18bf8,
p_msg=0x801647020, proxy=0x0) at t_fwd.c:625
<br>
#3 0x0000000801531d1e in w_t_relay (p_msg=0x801647020, proxy=0x0,
flags=Variable "flags" is not available.
<br>
) at tm.c:1101
<br>
#4 0x000000000040d9d1 in do_action (a=0x6c7a78, msg=0x801647020) at
action.c:962
<br>
#5 0x000000000040c707 in run_action_list (a=Variable "a" is not
available.
<br>
) at action.c:139
<br>
#6 0x0000000000465b69 in eval_expr (e=0x6c7b48, msg=0x801647020,
val=0x0) at route.c:1240
<br>
#7 0x000000000046584e in eval_expr (e=0x6c7b90, msg=0x801647020,
val=0x0) at route.c:1553
<br>
#8 0x0000000000465869 in eval_expr (e=0x6c7bd8, msg=0x801647020,
val=0x0) at route.c:1558
<br>
#9 0x000000000040e0c7 in do_action (a=0x6c7d80, msg=0x801647020) at
action.c:689
<br>
#10 0x000000000040c707 in run_action_list (a=Variable "a" is not
available.
<br>
) at action.c:139
<br>
#11 0x000000000040eee5 in do_action (a=0x6f2310, msg=0x801647020) at
action.c:119
<br>
#12 0x000000000040c707 in run_action_list (a=Variable "a" is not
available.
<br>
) at action.c:139
<br>
#13 0x000000000040fc6c in do_action (a=0x6f24b0, msg=0x801647020) at
action.c:706
<br>
#14 0x000000000040c707 in run_action_list (a=Variable "a" is not
available.
<br>
) at action.c:139
<br>
#15 0x0000000000410ce8 in run_top_route (a=0x6f1d28, msg=0x801647020)
at action.c:119
<br>
#16 0x0000000801529a4d in t_should_relay_response (Trans=0x802a18bf8,
new_code=Variable "new_code" is not available.
<br>
) at t_reply.c:612
<br>
#17 0x000000080152b5f6 in relay_reply (t=0x802a18bf8, p_msg=0x71f3b0,
branch=0, msg_status=503, cancel_bitmap=dwarf2_read_address: Corrupted
DWARF expression.
<br>
)
<br>
at t_reply.c:1124
<br>
#18 0x000000080152cc76 in reply_received (p_msg=0x71f3b0) at
t_reply.c:1493
<br>
#19 0x0000000000420d77 in forward_reply (msg=0x71f3b0) at forward.c:559
<br>
#20 0x00000000004551d5 in receive_msg (
<br>
buf=0x659e40 "SIP/2.0 503 Service Unavailable\r\nVia: SIP/2.0/UDP
72.44.195.164:5060;branch=z9hG4bK8ac3.4b441ca2.0\r\nVia: SIP/2.0/UDP
68.165.121.51:5060;branch=z9hG4bK8ac3.9b5220d1.1\r\nVia: SIP/2.0/UDP
xx.xx.xx.xx:50"...,
<br>
len=665, rcv_info=0x7fffffffeac0) at receive.c:200
<br>
#21 0x0000000000499297 in udp_rcv_loop () at udp_server.c:492
<br>
#22 0x000000000042865a in main (argc=3, argv=Variable "argv" is not
available.
<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
<pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre></pre>
</blockquote>
<br>
<br>
<div class="moz-signature"><font color="#852529"></font><br>
</div>
</body>
</html>