Summary:ASTERISK-16045: tcptls.c:254 ast_tcptls_server_root: Accept failed: Bad file descriptor
Reporter:ramshadow (ramshadow)Labels:
Date Opened:2010-05-03 13:39:04Date Closed:2010-05-16 10:06:01
Versions:Frequency of
Description:I use Asterisk 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

[  692.462845] asterisk[2402]: segfault at b71c9ff8 ip b7570dce sp b71c9ffc error 6 in libc-2.10.2.so[b7507000+141000]
[ 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


it´s my first report i hope it´s okay so!?

I can test it on two machines!
Comments:By: Paul Belanger (pabelanger) 2010-05-03 13:50:27

If you use the same version from http://www.asterisk.org/downloads is there a problem?  We cannot support a build from a Debian repo.

By: Leif Madsen (lmadsen) 2010-05-07 10:28:25

Also because the Debian repo won't contain the appropriate debugging flags, you'll need to reproduce this on vanilla asterisk from source. Please follow the backtrace.txt document at http://svn.asterisk.org/svn/asterisk/trunk/doc/backtrace.txt in order to get the appropriate back trace information. Thanks!

By: Paul Belanger (pabelanger) 2010-05-15 18:56:38

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines

By: ramshadow (ramshadow) 2010-05-16 03:30:19

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.