[Home]

Summary:ASTERISK-06830: Stop now
Reporter:wILMAR cAMPOS (willcampos)Labels:
Date Opened:2006-04-22 14:38:14Date Closed:2006-04-22 20:57:53
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When i stop now asterisk, it gives:
cf1*CLI> stop now
cf1*CLI> *** glibc detected *** double free or corruption (!prev): 0x081a3dd0 ***

Disconnected from Asterisk server
/usr/sbin/safe_asterisk: line 102:  1760 Aborted                 nice -n $PRIORITY ${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Comments:By: Tilghman Lesher (tilghman) 2006-04-22 15:17:18

As noted in the bug guidelines, if you file a CRASH, you need to upload a backtrace, as described in the bug guidelines.

By: wILMAR cAMPOS (willcampos) 2006-04-22 19:53:05

Loaded symbols for /usr/lib/asterisk/modules/cdr_addon_mysql.so
#0  0x40144ef1 in kill () from /lib/libc.so.6
(gdb) bt full
#0  0x40144ef1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x4002bbb1 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4002bf2b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40144b24 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x401463fd in abort () from /lib/libc.so.6
No symbol table info available.
ASTERISK-1  0x4017776c in __libc_message () from /lib/libc.so.6
No symbol table info available.
ASTERISK-2  0x40180066 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
ASTERISK-3  0x4017ed2f in _int_free () from /lib/libc.so.6
No symbol table info available.
ASTERISK-4  0x4017d94f in free () from /lib/libc.so.6
No symbol table info available.
ASTERISK-5  0x4125c7db in yaSSL::X509::GetSubject () from /usr/lib/asterisk/modules/app_lcdial.so
No symbol table info available.
ASTERISK-6 0x40147552 in exit () from /lib/libc.so.6
No symbol table info available.
ASTERISK-7 0x080b7583 in quit_handler (num=135273360, nice=-1, safeshutdown=1, restart=0) at asterisk.c:942
       filename = '\0' <repeats 79 times>
       s = 1145753401
       e = 1145753401
       x = -1
ASTERISK-8 0x080b7924 in handle_shutdown_now (fd=10, argc=2, argv=0xbe1ff754) at asterisk.c:1102
No locals.
ASTERISK-9 0x08091f1e in ast_cli_command (fd=10, s=0x0) at cli.c:1364
       argv = {0x812a068 "stop", 0x812a06d "now", 0x0, 0x812db2c "0", 0x0, 0xbe1ff8a4 "stop now", 0xbe1ff8a4 "stop now", 0xbe1ff8a4 "stop now", 0xbe1ff8a4 "stop now", 0xbe1ff8b5 "st 0",
 0xbe1ffaa3 "", 0xbe1ff8a4 "stop now", 0xbe1ffaa3 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x70412069 <Address 0x70412069 out of bounds>, 0x0, 0x3a343120 <Address 0x3a343120 out of bounds>,
 0x31000000 <Address 0x31000000 out of bounds>, 0x0, 0x30322054 <Address 0x30322054 out of bounds>, 0x3630 <Address 0x3630 out of bounds>, 0x0, 0x0,
 0xffffffff <Address 0xffffffff out of bounds>, 0x0, 0x0, 0x0, 0x0, 0x36383669 <Address 0x36383669 out of bounds>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40234a00 "", 0x0, 0x0,
 0x4002b520 "\201ÃÔj", 0x0, 0x40234ff4 "\034\215\021", 0xbe1ff820 "Dø\037¾\230Î\034@ µ\002@", 0x401316a1 "\213\200¸\001", 0x29656e <Address 0x29656e out of bounds>,
 0x40234ff4 "\034\215\021", 0xbe1ff844 "ô\037\003@0{\002@¹z\002@\224ø\037¾dø\037¾\020{\002@\224ø\037¾\224ø\037¾", 0x401cce98 "\211Eä\2138\211ò\213Mì\211}è\213}ð\207߸¨",
 0x4002b520 "\201ÃÔj", 0x0, 0x40234ff4 "\034\215\021", 0xbe1ff844 "ô\037\003@0{\002@¹z\002@\224ø\037¾dø\037¾\020{\002@\224ø\037¾\224ø\037¾", 0x401e2630 "\211ñ\210\210\201",
 0x40027b30 "\201ÃĤ", 0xffffffff <Address 0xffffffff out of bounds>, 0x40031ff4 "Xî", 0x40027b30 "\201ÃĤ", 0x40027ab9 "\200¸\202", 0xbe1ff894 "\n"}
       e = (struct ast_cli_entry *) 0x811be38
       x = 2
       dup = 0x812a068 "stop"
       tws = 0
ASTERISK-10 0x080bad66 in netconsole (vconsole=0x8128a00) at asterisk.c:553
       hostname = "cf1", '\0' <repeats 60 times>
       tmp = "stop now\000\000e atleast 0\000set debug atleast 0", '\0' <repeats 470 times>
       res = 0
       fds = {{fd = 10, events = 1, revents = 1}, {fd = 30, events = 1, revents = 0}}
ASTERISK-11 0x4002954e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-12 0x401d5b8a in clone () from /lib/libc.so.6
No symbol table info available.

By: wILMAR cAMPOS (willcampos) 2006-04-22 19:54:23

As a note, I begin to disable all modules, but each time is a different one in the line:
ASTERISK-5 0x4125c7db in yaSSL::X509::GetSubject () from /usr/lib/asterisk/modules/app_XXXXXXXXXXXX

By: Tilghman Lesher (tilghman) 2006-04-22 20:45:50

Please disable all of your custom modules and try again.  That module listed in your backtrace is not in SVN (nor is the library cited).