Nasir Iqbal
2016-Mar-01 12:09 UTC
[asterisk-users] Abandoned SIP-TCP connection causes Asterisk to crash
Hi All, We are using SIP over TCP transport but often we got an Asterisk crash with following error. [Mar 1 11:23:13] WARNING[1509]: chan_sip.c:3755 __sip_xmit: sip_xmit of 0x7f294000cac0 (len 680) to Soft.Phone.IP.Address:56780 returned -2: Interrupted system call .... Asterisk uncleanly ending (0). Executing last minute cleanups == Destroying musiconhold processes == Manager unregistered action DBGet == Manager unregistered action DBPut == Manager unregistered action DBDel == Manager unregistered action DBDelTree We have tested this issue with Asterisk 11.20 and it can be reproduced as following 1. From client workstation / labptop register a softphone with Asterisk over TCP 2. Dial into some local asterisk extension. (i.e play voice message in loop ) 3. From client side kill the softphone i.e ( killall zoiper ) 4. Wait some time, Asterisk will crash.... Further we are unable to get any coredump ! (even running with -g) Any help will be appreciated. Thanks in advance Nasir Iqbal ICTBroadcast - an Auto Dialer software for ITSP <https://www.ictbroadcast.com/how-become-internet-telephony-service-provider-itsp-using-ictbroadcast-sp-edition> SMS, Fax and Voice broadcasting & Inbound / Outbound Campaigns http://www.ictbroadcast.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160301/f2381240/attachment.html>
Joshua Colp
2016-Mar-02 11:35 UTC
[asterisk-users] Abandoned SIP-TCP connection causes Asterisk to crash
Nasir Iqbal wrote:> Hi All, > > We are using SIP over TCP transport but often we got an Asterisk crash > with following error. > > [Mar 1 11:23:13] WARNING[1509]: chan_sip.c:3755 __sip_xmit: sip_xmit of > 0x7f294000cac0 (len 680) to Soft.Phone.IP.Address:56780 returned -2: > Interrupted system call > .... > Asterisk uncleanly ending (0). > Executing last minute cleanups > == Destroying musiconhold processes > == Manager unregistered action DBGet > == Manager unregistered action DBPut > == Manager unregistered action DBDel > == Manager unregistered action DBDelTreeInterestingly this doesn't appear as though it's a crash. Whatever is happening is causing Asterisk to then shutdown normally.> > We have tested this issue with Asterisk 11.20 and it can be reproduced > as following > > 1. From client workstation / labptop register a softphone with Asterisk > over TCP > 2. Dial into some local asterisk extension. (i.e play voice message in > loop ) > 3. From client side kill the softphone i.e ( killall zoiper ) > 4. Wait some time, Asterisk will crash....Please file an issue[1] for this so we can narrow down the problem. I'm not aware of any currently open and I don't think I've seen it. [1] https://issues.asterisk.org/jira -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org