<div>Here's the result, looks like it's missing a From header.</div><div><br></div>$1 = 0x754de0 "SIP/2.0 400 Bad From Header\r\nVia: SIP/2.0/UDP 10.122.243.144;branch=z9hG4bKd3af.f3a870d4.0\r\nVia: SIP/2.0/UDP 10.122.243.141;rport=5060;received=10.122.243.141;branch=z9hG4bK-4bdc8ab3\r\nVia: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;received=20.20.20.8;branch=z9hG4bK-4bdc8ab3\r\nRecord-Route: <sip:10.122.243.144;lr=on;ftag=d1c9eef6d5ed03e2o0>\r\nRecord-Route: <sip:10.122.243.141;lr=on;ftag=d1c9eef6d5ed03e2o0>\r\nTo: <<a href="mailto:sip%3A6568767800@access.example.com">sip:6568767800@access.example.com</a>>;tag=UKB9Sj0907jSp\r\nCall-ID: <a href="mailto:1e330b86-21bc1092@192.168.1.2">1e330b86-21bc1092@192.168.1.2</a>\r\nCSeq: 102 INVITE\r\nContent-Length: 0\r\n\r\n"<br>
<br><div class="gmail_quote">On Mon, Aug 16, 2010 at 5:48 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Adam,<br>
<br>
I suspect the received reply has no TO or FROM header - could you check<br>
this (you can simply entirely print "buf" in frame #3)..Just to know in<br>
what direction to go with the fix....<br>
<br>
Regards,<br>
<font color="#888888">Bogdan<br>
</font><div><div></div><div class="h5"><br>
Adam Twardowski wrote:<br>
> We're getting a segfault in opensips 1.6.2 occasionally, probably due<br>
> to a broken customer UA.<br>
><br>
> Here's a backtrace, any suggestions would be appreciated.<br>
><br>
> #0 0x00002b28b1e71e6a in build_local (Trans=0x2b28b78087b0, branch=0,<br>
> method=0x7fff9f904290, extra=0x0, rpl=<value optimized out>,<br>
> len=0x7fff9f9042b4) at t_msgbuilder.c:242<br>
> #1 0x00002b28b1e7b548 in reply_received (p_msg=0x7a6038) at t_reply.c:299<br>
> #2 0x00000000004214a4 in forward_reply (msg=0x7a6038) at forward.c:559<br>
> #3 0x0000000000456182 in receive_msg (<br>
> buf=0x754de0 "SIP/2.0 400 Bad From Header\r\nVia: SIP/2.0/UDP<br>
> 10.122.243.144;branch=z9hG4bKd3af.f3a870d4.0\r\nVia: SIP/2.0/UDP<br>
> 10.122.243.141;rport=5060;received=10.122.243.141;branch=z9hG4bK-4bdc8ab3\r\nVia:<br>
> SIP/2.0/UDP"..., len=550, rcv_info=0x7fff9f9043a0) at receive.c:200<br>
> #4 0x000000000049a354 in udp_rcv_loop () at udp_server.c:492<br>
> #5 0x0000000000429c0d in main (argc=3, argv=<value optimized out>) at<br>
> main.c:818<br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>