Summary: | ASTERISK-13352: manager.c poll error | ||
Reporter: | jangjun21 (jangjun21) | Labels: | |
Date Opened: | 2009-01-12 20:57:22.000-0600 | Date Closed: | 2011-06-07 14:00:43 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | poll() is a system function,but when it return error ,cause asterisk to crash Program terminated with signal 11, Segmentation fault. #0 0x0013b7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt #0 0x0013b7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00221413 in poll () from /lib/libc.so.6 #2 0x080bdbe3 in get_input (s=0x58ad118, output=0x5a2ecf4 "") at manager.c:2275 #3 0x080bddc3 in do_message (s=0x58ad118) at manager.c:2312 #4 0x080bdf98 in session_do (data=0x58ad118) at manager.c:2337 ASTERISK-1 0x08106009 in dummy_start (data=0x58ad680) at utils.c:856 ASTERISK-2 0x002d343b in start_thread () from /lib/libpthread.so.0 ASTERISK-3 0x0022afde in clone () from /lib/libc.so.6 (gdb) bt full #0 0x0013b7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. #1 0x00221413 in poll () from /lib/libc.so.6 No symbol table info available. #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" #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 #4 0x080bdf98 in session_do (data=0x58ad118) at manager.c:2337 s = (struct mansession *) 0x58ad118 res = 0 __PRETTY_FUNCTION__ = "session_do" ASTERISK-1 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" ASTERISK-2 0x002d343b in start_thread () from /lib/libpthread.so.0 No symbol table info available. ASTERISK-3 0x0022afde in clone () from /lib/libc.so.6 No symbol table info available. | ||
Comments: | By: Leif Madsen (lmadsen) 2009-01-13 12:25:12.000-0600 Assigned to Corydon76 because I love how quickly he knows what to do with backtraces :) By: Tilghman Lesher (tilghman) 2009-01-14 12:49:43.000-0600 Please follow the instructions in doc/valgrind.txt. By: Tilghman Lesher (tilghman) 2009-02-09 14:33:28.000-0600 No response from reporter. If you're able to provide the requisite valgrind output, please feel free to reopen this issue. |