[asterisk-bugs] [Asterisk 0014225]: manager.c poll error

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 14 12:49:43 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=14225 
====================================================================== 
Reported By:                jangjun21
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14225
Category:                   Core/ManagerInterface
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.23-rc3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-12 20:57 CST
Last Modified:              2009-01-14 12:49 CST
====================================================================== 
Summary:                    manager.c poll error
Description: 
poll() is a system function,but when it return error ,cause asterisk to
crash
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0x0013b7f2 in _dl_sysinfo_int80 () from
/lib/ld-linux.so.2
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x0013b7f2 in _dl_sysinfo_int80 () from
/lib/ld-linux.so.2
http://bugs.digium.com/view.php?id=1  0x00221413 in poll () from /lib/libc.so.6
http://bugs.digium.com/view.php?id=2  0x080bdbe3 in get_input (s=0x58ad118,
output=0x5a2ecf4 "") at
manager.c:2275
http://bugs.digium.com/view.php?id=3  0x080bddc3 in do_message (s=0x58ad118) at
manager.c:2312
http://bugs.digium.com/view.php?id=4  0x080bdf98 in session_do (data=0x58ad118)
at manager.c:2337
http://bugs.digium.com/view.php?id=5  0x08106009 in dummy_start (data=0x58ad680)
at utils.c:856
http://bugs.digium.com/view.php?id=6  0x002d343b in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=7  0x0022afde in clone () from /lib/libc.so.6
(gdb) bt full
http://bugs.digium.com/view.php?id=0  0x0013b7f2 in _dl_sysinfo_int80 () from
/lib/ld-linux.so.2
No symbol table info available.
http://bugs.digium.com/view.php?id=1  0x00221413 in poll () from /lib/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=2  0x080bdbe3 in get_input (s=0x58ad118,
output=0x5a2ecf4 "") at
manager.c:2275
        res = -1
        x = 1
        fds = {{fd = 19, events = 1, revents = 0}}
        __PRETTY_FUNCTION__ = "get_input"
http://bugs.digium.com/view.php?id=3  0x080bddc3 in do_message (s=0x58ad118) at
manager.c:2312
        m = {hdrcount = 0, headers = {0x0 <repeats 128 times>}}
        header_buf = '\0' <repeats 1023 times>
        res = 0
http://bugs.digium.com/view.php?id=4  0x080bdf98 in session_do (data=0x58ad118)
at manager.c:2337
        s = (struct mansession *) 0x58ad118
        res = 0
        __PRETTY_FUNCTION__ = "session_do"
http://bugs.digium.com/view.php?id=5  0x08106009 in dummy_start (data=0x58ad680)
at utils.c:856
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {3022836,
0, 94567312, 94565320, 1622063200, 1830556889}, 
      __mask_was_saved = 0}}, __pad = {0x5a2f480, 0x0, 0x0, 0x0}}
        __cancel_routine = (void (*)(void *)) 0x806a974
<ast_unregister_thread>
        __cancel_arg = (void *) 0x5a2fb90
        not_first_call = 0
        ret = (void *) 0x0
        a = {start_routine = 0x80bdf6e <session_do>, data = 0x58ad118, 
  name = 0x58ad728 "session_do", ' ' <repeats 11 times>, "started at [
2460] manager.c accept_thread()"}
        __PRETTY_FUNCTION__ = "dummy_start"
http://bugs.digium.com/view.php?id=6  0x002d343b in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
http://bugs.digium.com/view.php?id=7  0x0022afde in clone () from /lib/libc.so.6
No symbol table info available.
====================================================================== 

---------------------------------------------------------------------- 
 (0097759) Corydon76 (administrator) - 2009-01-14 12:49
 http://bugs.digium.com/view.php?id=14225#c97759 
---------------------------------------------------------------------- 
Please follow the instructions in doc/valgrind.txt. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-14 12:49 Corydon76      Note Added: 0097759                          
2009-01-14 12:49 Corydon76      Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list