[OpenSIPS-Users] Segfault at t_msgbuilder:242
Adam Twardowski
adam.twardowski at gmail.com
Mon Aug 16 15:20:08 CEST 2010
Here's the result, looks like it's missing a From header.
$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: <
sip:6568767800 at access.example.com
<sip%3A6568767800 at access.example.com>>;tag=UKB9Sj0907jSp\r\nCall-ID:
1e330b86-21bc1092 at 192.168.1.2\r\nCSeq: 102 INVITE\r\nContent-Length:
0\r\n\r\n"
On Mon, Aug 16, 2010 at 5:48 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:
> Hi Adam,
>
> I suspect the received reply has no TO or FROM header - could you check
> this (you can simply entirely print "buf" in frame #3)..Just to know in
> what direction to go with the fix....
>
> Regards,
> Bogdan
>
> Adam Twardowski wrote:
> > We're getting a segfault in opensips 1.6.2 occasionally, probably due
> > to a broken customer UA.
> >
> > Here's a backtrace, any suggestions would be appreciated.
> >
> > #0 0x00002b28b1e71e6a in build_local (Trans=0x2b28b78087b0, branch=0,
> > method=0x7fff9f904290, extra=0x0, rpl=<value optimized out>,
> > len=0x7fff9f9042b4) at t_msgbuilder.c:242
> > #1 0x00002b28b1e7b548 in reply_received (p_msg=0x7a6038) at
> t_reply.c:299
> > #2 0x00000000004214a4 in forward_reply (msg=0x7a6038) at forward.c:559
> > #3 0x0000000000456182 in receive_msg (
> > buf=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"..., len=550, rcv_info=0x7fff9f9043a0) at receive.c:200
> > #4 0x000000000049a354 in udp_rcv_loop () at udp_server.c:492
> > #5 0x0000000000429c0d in main (argc=3, argv=<value optimized out>) at
> > main.c:818
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Bootcamp
> 20 - 24 September 2010, Frankfurt, Germany
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100816/64bb37c7/attachment-0001.htm
More information about the Users
mailing list