Summary: | ASTERISK-11790: Asterisk 1.4.19 console (asterisk -r) - Segmentation fault | ||
Reporter: | Tiago Adloff (tiagoadloff) | Labels: | |
Date Opened: | 2008-04-07 08:41:13 | Date Closed: | 2011-06-07 14:01:03 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I got Segmentation fault when I tryied to access cli console with "asterisk -r". I'm sending backtrace log as additional information. ****** ADDITIONAL INFORMATION ****** (gdb) bt #0 0x005e8e0b in strlen () from /lib/libc.so.6 #1 0x080ff0f5 in term_alloc (el=0x8fbbbb0, t=<value optimized out>, cap=0xbfa7e6f0 "\033[L") at term.c:404 #2 0x0810b1d3 in term_set (el=0x8fbbbb0, term=0xbfa80c6b "xterm") at term.c:949 #3 0x0810cf69 in el_init (prog=0x8128512 "asterisk", fin=0x6b8420, fout=0x6b84c0, ferr=dwarf2_read_address: Corrupted DWARF expression. ) at term.c:361 #4 0x08067dbe in ast_el_initialize () at asterisk.c:2164 ASTERISK-1 0x0806e505 in main (argc=3, argv=0xbfa7f5a4) at asterisk.c:2810 ASTERISK-2 0x00591dec in __libc_start_main () from /lib/libc.so.6 ASTERISK-3 0x08057e61 in free () (gdb) bt full #0 0x005e8e0b in strlen () from /lib/libc.so.6 No symbol table info available. #1 0x080ff0f5 in term_alloc (el=0x8fbbbb0, t=<value optimized out>, cap=0xbfa7e6f0 "\033[L") at term.c:404 termbuf = '\0' <repeats 1644 times>, "Á)^", '\0' <repeats 37 times>, "·å§¿X\225k\000X\221k\000P\221k\000\000\000\000\000\000\000\000\000 \000\000\000\020\000\000\000(\221k\000P\221k\000\000\000\000\000\004", '\0' <repeats 19 times>, "÷å§¿X\225k\000X\221k\000P\221k\000\000\000\000\000a!^\000\030\b\000\000\b\b\000\000p\221k\000\002\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\b\b\000\000\020\000\000\000\\òi\000ô\177k\000 \221k\000VÏû\bèå§¿.A^\000 \221k\000\n\000\000\000ðî§¿l\f¨¿Ó\215o\000\200æ§¿\000\000\000\000|\000\000\000ô\177k\000 \221"... tlen = 978406981 clen = 3 tlist = (char **) 0x8fbcf38 tmp = <value optimized out> str = (char **) 0x8fbcf38 #2 0x0810b1d3 in term_set (el=0x8fbbbb0, term=0xbfa80c6b "xterm") at term.c:949 i = 1 buf = "\033[L\000\000\000\000\000·{[\000\000\000\000\000\000\000\000\000Àì§¿\000\000\000\000\000\000\000\000Tì§¿", '\0' <repeats 28 times>, "(\000\000\000\000\000\000\000 í§¿", '\0' <repeats 36 times>, "ÿÿÿÿ\004\000\000\000\2379\024\b\2329\024\b", '\0' <repeats 20 times>, "\n\000\000\000Rì§¿", '\0' <repeats 40 times>, " ", '\0' <repeats 18 times>, "c\005", '\0' <repeats 115 times>, "\2339\024\b", '\0' <repeats 20 times>, "ÿÿÿÿ\000\000\000\0000î§¿", '\0' <repeats 220 times>, "(ð]\000<ºû\b¬\221\022\bJ\000\000\000\000\000\000\000ö\221\022\bJ\000\000\000ô"... area = 0xbfa7e6f4 "" t = (const struct termcapstr *) 0x8145628 oset = {__val = {0, 0, 56, 40, 7049524, 7049552, 24, 4, 0, 4294967295, 4294967295, 4294967295, 150715232, 2, 135491108, 0, 7045108, 7049504, 3215454268, 3215454168, 7049592, 5, 135431442, 3215454184, 6177070, 7049504, 9, 7045108, 7045108, 7049504, 150715312, 3215454216}} nset = {__val = {134217728, 0 <repeats 31 times>}} lins = <value optimized out> cols = <value optimized out> #3 0x0810cf69 in el_init (prog=0x8128512 "asterisk", fin=0x6b8420, fout=0x6b84c0, ferr=dwarf2_read_address: Corrupted DWARF expression. ) at term.c:361 el = (EditLine *) 0x8fbbbb0 #4 0x08067dbe in ast_el_initialize () at asterisk.c:2164 ev = {num = 150716314, str = 0x0} editor = 0x0 ASTERISK-1 0x0806e505 in main (argc=3, argv=0xbfa7f5a4) at asterisk.c:2810 pw = <value optimized out> c = <value optimized out> filename = "/root/.asterisk_history", '\0' <repeats 56 times> hostname = "pbx-test.underprotection.com.br", '\0' <repeats 32 times> tmp = "\004\000\000\000\000\000\000\000\fô§¿\005\000\000\000\000\000\000\000\000\020\002\000\000°û\bàkk\000\000\000\000\000\000\000\000\000ô\177k\000 \221k\000\021\000\000\000\fô§¿\004\000\000\000 \221k\000\035\000\000\000ô\177k\000\001\000\000\000\021\000\000" xarg = 0x0 x = <value optimized out> f = <value optimized out> sigs = {__val = {0, 0, 0, 0, 0, 0, 775028736, 942747190, 775107885, 3501157, 0, 0, 7049504, 0, 0, 0, 6562672, 7045108, 3215455020, 6562734, 150847488, 7045108, 7047536, 7049552, 3215455032, 6187985, 0, 3215455216, 6173969, 0, 7291761, 14128}} num = -1079511628 buf = <value optimized out> runuser = 0x0 rungroup = 0x0 __PRETTY_FUNCTION__ = "main" __FUNCTION__ = "main" ASTERISK-2 0x00591dec in __libc_start_main () from /lib/libc.so.6 No symbol table info available. ASTERISK-3 0x08057e61 in free () No symbol table info available. (gdb) thread apply all b Thread 1 (process 20857): Breakpoint 1 at 0x5e8e0b | ||
Comments: | By: Jason Parker (jparker) 2008-04-09 12:17:38 This actually appears to be a bug in gdb that was fixed in Jan 07. Do you still get the segfault without running it in gdb? If so, can you please upgrade gdb so we can get a more valid trace? By: Joshua C. Colp (jcolp) 2008-06-04 09:17:21 tiagoadloff: Any updated information on this? By: Tilghman Lesher (tilghman) 2008-06-19 17:35:59 Suspended, due to lack of response. If you are able to provide the requested information, please reopen this issue, or contact a bug marshal on FreeNode, in #asterisk-bugs for assistance. |