[asterisk-bugs] [Asterisk 0017278]: tcptls.c:254 ast_tcptls_server_root: Accept failed: Bad file descriptor

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 16 03:30:19 CDT 2010


The following issue has been REOPENED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17278 
====================================================================== 
Reported By:                RamShadow
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17278
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           Addons-1.6.2.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-03 13:39 CDT
Last Modified:              2010-05-16 03:30 CDT
====================================================================== 
Summary:                    tcptls.c:254 ast_tcptls_server_root: Accept failed:
Bad file descriptor
Description: 
I use Asterisk 1.6.2.6-1 on Debian Squeeze from the repository.

On my old server i have the bug after the last aptitude upgrade.

So i have installed a new server.

On a new installation out of the box i have in the asterisk -r console
between 5-30 seconds after start messages like:

[May  3 20:26:48] WARNING[3189]: tcptls.c:254 ast_tcptls_server_root:
Accept failed: Bad file descriptor

ca. 100 per second.

on ctrl^c asterisk crashes in 2 of 5 times with 

dmesg:
test1:
[  692.462845] asterisk[2402]: segfault at b71c9ff8 ip b7570dce sp
b71c9ffc error 6 in libc-2.10.2.so[b7507000+141000]
test2:
[ 1800.410405] asterisk[2827]: segfault at b71f1ff8 ip b7598dce sp
b71f1ffc error 6 in libc-2.10.2.so[b752f000+141000]

in asterisk messages log i find this :

[May  3 20:29:43] WARNING[3189] tcptls.c: Accept failed: Bad file
descriptor

====================================================================== 

---------------------------------------------------------------------- 
 (0121932) RamShadow (reporter) - 2010-05-16 03:30
 https://issues.asterisk.org/view.php?id=17278#c121932 
---------------------------------------------------------------------- 
Sry for the long time with no report, is have reinstalled Asterisk from
Tarball in the last week.

I can´t reproduce the issue on this installation.

Thank´s for understanding, asterisk is a great thing !!!

I will send a message to the repository maintainer for VoIP and track the
error 
on the debian issue tracker. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-16 03:30 RamShadow      Note Added: 0121932                          
2010-05-16 03:30 RamShadow      Status                   closed => new       
2010-05-16 03:30 RamShadow      Resolution               suspended => reopened
======================================================================




More information about the asterisk-bugs mailing list