[OpenSIPS-Users] Segfault at t_msgbuilder:242

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Aug 16 11:48:09 CEST 2010


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




More information about the Users mailing list