[asterisk-bugs] [Asterisk 0014723]: ERROR[5003]: channel.c:2043 __ast_read: ast_read() called with no recorded file descriptor.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 9 17:28:35 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14723 
====================================================================== 
Reported By:                seadweller
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14723
Category:                   Core/Channels
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Target Version:             1.4.25
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-23 08:27 CDT
Last Modified:              2009-04-09 17:28 CDT
====================================================================== 
Summary:                    ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.
Description: 
Performed an upgrade from 1.4.22 to 1.4.24 running on CentOs 4.  Used the
same "slim" configuration that I used in 1.4.22, which worked fine.

Calls are processing, but connecting to the console gets the following:

[Mar 23 13:08:05] ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.
[Mar 23 13:08:05] ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.

This repeats continuously.  If I issue a show channels, I get some output
and it seems to stop the ERROR messages, though it seems the "show
channels" does not complete.  You can get the CLI command and * will still
be trying to spit out a few channels below it.

The system load is also very high (2.38 with 50 or so concurrent calls),
though CPU usage is low... it must be coming from somewhere else. 
Typically this load under 1.4.22 would show perhaps a 0.2 or 0.3 load.


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

---------------------------------------------------------------------- 
 (0103052) falves11 (reporter) - 2009-04-09 17:28
 http://bugs.digium.com/view.php?id=14723#c103052 
---------------------------------------------------------------------- 
Yes I was using it. Now I just did a "svn update"  and recompiled. I
compiled with thread debug and no optimize. I tried to debug the thread
that had all the CPU, and I always got the same data, in 1.4 or 1.6.2
0x00000039c94c92e6 in poll () from /lib64/libc.so.6
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x00000039c94c92e6 in poll () from
/lib64/libc.so.6
http://bugs.digium.com/view.php?id=1  0x000000000043deb7 in monitor_sig_flags
(unused=0x0) at
asterisk.c:3024
http://bugs.digium.com/view.php?id=2  0x00000000004402ca in main (argc=3,
argv=0x7fffebf11868) at
asterisk.c:3705
http://bugs.digium.com/view.php?id=3  0x00000039c941d8b4 in __libc_start_main ()
from /lib64/libc.so.6
http://bugs.digium.com/view.php?id=4  0x000000000041ac69 in SSL_accept ()
http://bugs.digium.com/view.php?id=5  0x00007fffebf11858 in ?? ()
http://bugs.digium.com/view.php?id=6  0x0000000000000000 in ?? ()
(gdb) bt full
http://bugs.digium.com/view.php?id=0  0x00000039c94c92e6 in poll () from
/lib64/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=1  0x000000000043deb7 in monitor_sig_flags
(unused=0x0) at
asterisk.c:3024
        p = {fd = 24, events = 1, revents = 0}
        a = 0
http://bugs.digium.com/view.php?id=2  0x00000000004402ca in main (argc=3,
argv=0x7fffebf11868) at
asterisk.c:3705
        c = -1
        filename = "/root/.asterisk_history", '\0' <repeats 56 times>
        hostname = "s252", '\0' <repeats 59 times>
        tmp =
"\003\000\000\000\000\000\000\0003\rU\000\000\000\000\000\020~\000\000\000\000\000~\000\000\000\000\000\022\000\000\000\000~\000\000\000\000\000`\026\177\000\000IPC\000\000\000\000\000`\026\177\000\000\020LC\000\000\000\000"
        xarg = 0x0
        x = 3
        f = (FILE *) 0x12bf4660
        sigs = {__val = {134238211, 0 <repeats 15 times>}}
        num = 0
        isroot = 1
        buf = 0x100000001 <Address 0x100000001 out of bounds>
        runuser = 0x82ea80 "root"
        rungroup = 0x82fa80 "root"
        remotesock = 0x0
        __PRETTY_FUNCTION__ = "main"
        __func__ = "main"
http://bugs.digium.com/view.php?id=3  0x00000039c941d8b4 in __libc_start_main ()
from /lib64/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=4  0x000000000041ac69 in SSL_accept ()
No symbol table info available.
http://bugs.digium.com/view.php?id=5  0x00007fffebf11858 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=6  0x0000000000000000 in ?? ()
No symbol table info available. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-09 17:28 falves11       Note Added: 0103052                          
======================================================================




More information about the asterisk-bugs mailing list