Summary: | ASTERISK-05695: asterisk hangup | ||
Reporter: | Roy Sigurd Karlsbakk (rkarlsba) | Labels: | |
Date Opened: | 2005-11-24 09:02:35.000-0600 | Date Closed: | 2011-06-07 14:02:52 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | hi asterisk has done this a couple of times, and it's quite spooky... we run asterisk with safe_asterisk, and suddenly asterisk stops responding to all input. the attached backtrace was created after a kill -11 to at least make it show where it was hanging. i'm not sure it helps, though. in the log, i found one message starting at the time of the hangup, more or less. this line keeps on getting logged in numbers by thousands... 2005-11-24 15:49:40 DEBUG[19166] channel.c: Nobody there, continuing... i found no other remedy than to kill asterisk by hand roy ****** ADDITIONAL INFORMATION ****** (gdb) bt #0 0xb7f17436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f1489f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0x00000003 in ?? () #3 0xb6f4a4a1 in ?? () from /usr/lib/asterisk/modules/cdr_custom.so #4 0x00000060 in ?? () ASTERISK-1 0xb6f4a4d9 in ?? () from /usr/lib/asterisk/modules/cdr_custom.so ASTERISK-2 0xb6f11200 in ?? () from /usr/lib/asterisk/modules/cdr_addon_mysql.so ASTERISK-3 0xb6f0fd0f in unload_module () from /usr/lib/asterisk/modules/cdr_addon_mysql.so ASTERISK-4 0xb6f0fdf4 in key () from /usr/lib/asterisk/modules/cdr_addon_mysql.so ASTERISK-5 0xb6f0fd2f in reload () from /usr/lib/asterisk/modules/cdr_addon_mysql.so ASTERISK-6 0x0805b8a4 in ast_module_reload (name=0x0) at loader.c:257 ASTERISK-7 0x080b6a12 in hup_handler (num=-4) at asterisk.c:737 ASTERISK-8 <signal handler called> ASTERISK-9 0xb7f1769f in __read_nocancel () from /lib/tls/libpthread.so.0 ASTERISK-10 0x080d59a5 in read_char (el=0x8127a48, cp=0xbfd3bf5b "·") at read.c:301 ASTERISK-11 0x080d5a3e in el_getc (el=0x8127a48, cp=0xbfd3bf5b "·") at read.c:347 ASTERISK-12 0x080d58a9 in read_getcmd (el=0x8127a48, cmdnum=0x3 <Address 0x3 out of bounds>, ch=0xbfd3bf5b "·") at read.c:243 ASTERISK-13 0x080d5b6c in el_gets (el=0x8127a48, nread=0xbfd3bfbc) at read.c:443 ASTERISK-14 0x080b51ea in main (argc=135252470, argv=0xbfd3c2d4) at asterisk.c:2310 and #0 0xb7f17436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 No symbol table info available. #1 0xb7f1489f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x00000003 in ?? () No symbol table info available. #3 0xb6f4a4a1 in ?? () from /usr/lib/asterisk/modules/cdr_custom.so No symbol table info available. #4 0x00000060 in ?? () No symbol table info available. ASTERISK-1 0xb6f4a4d9 in ?? () from /usr/lib/asterisk/modules/cdr_custom.so No symbol table info available. ASTERISK-2 0xb6f11200 in ?? () from /usr/lib/asterisk/modules/cdr_addon_mysql.so No symbol table info available. ASTERISK-3 0xb6f0fd0f in unload_module () from /usr/lib/asterisk/modules/cdr_addon_mysql.so No symbol table info available. ASTERISK-4 0xb6f0fdf4 in key () from /usr/lib/asterisk/modules/cdr_addon_mysql.so No symbol table info available. ASTERISK-5 0xb6f0fd2f in reload () from /usr/lib/asterisk/modules/cdr_addon_mysql.so No symbol table info available. ASTERISK-6 0x0805b8a4 in ast_module_reload (name=0x0) at loader.c:257 m = (struct module *) 0x81de878 reloaded = 2 oldversion = 1430662150 reload = (int (*)(void)) 0x80cd0000 ASTERISK-7 0x080b6a12 in hup_handler (num=-4) at asterisk.c:737 No locals. ASTERISK-8 <signal handler called> No symbol table info available. ASTERISK-9 0xb7f1769f in __read_nocancel () from /lib/tls/libpthread.so.0 No symbol table info available. ASTERISK-10 0x080d59a5 in read_char (el=0x8127a48, cp=0xbfd3bf5b "·") at read.c:301 num_read = 3 tried = 0 ASTERISK-11 0x080d5a3e in el_getc (el=0x8127a48, cp=0xbfd3bf5b "·") at read.c:347 ma = (c_macro_t *) 0x8127cd4 ASTERISK-12 0x080d58a9 in read_getcmd (el=0x8127a48, cmdnum=0x3 <Address 0x3 out of bounds>, ch=0xbfd3bf5b "·") at read.c:243 cmd = 0 '\0' num = 3 ASTERISK-13 0x080d5b6c in el_gets (el=0x8127a48, nread=0xbfd3bfbc) at read.c:443 retval = 1 cmdnum = 0 '\0' num = -1209664000 ch = -73 '·' ASTERISK-14 0x080b51ea in main (argc=135252470, argv=0xbfd3c2d4) at asterisk.c:2310 title = "Asterisk Console on 'vm24' (pid 2369)\000\000\001", '\0' <repeats 20 times>, "\001", '\0' <repeats 15 times>, "\030ÜÓ·tÀÓ¿<ûò\000\000\207ò\000\210ÏÓ·\204ÀÓ¿<ûò·Ô`Ô·Ô`Ô·\200aÔ·Í\025ñ\000\000\000\000\000 \000\000\000<ûò·Ô`Ô·Ô6\005\b\226aÔ·8\017Ô·8\204Ó\000Øÿð·ÀÀÓ¿<ûò·g\025ñ·Ô6\005\b\034Þñ·;;Ô·Dî\004\b \000\000\000;;Ô·£ëV\001\210ÏÓ·è\025ñ·\030\005ñ·øïð·\000Ðñ"... c = 3 filename = "/root/.asterisk_history", '\0' <repeats 56 times> hostname = "vm24", '\0' <repeats 59 times> tmp = "\033[1;37;40mAsterisk Ready.\n\033[0;37;40m\000\000\000\000 \000\000\000@xæ·\200næ·@xæ·\001\000\000\000¸ÁÓ¿\224sÚ·@xæ·\033\000\000\000äGñ·" xarg = 0x0 x = 1 f = (FILE *) 0xb7e5fe00 sigs = {__val = {134238211, 0 <repeats 31 times>}} num = 2496 is_child_of_nonroot = 0 buf = 0xb7e5fe00 "\204*û" runuser = 0xbfd3bfa8 "" rungroup = 0x0 | ||
Comments: | By: Roy Sigurd Karlsbakk (rkarlsba) 2005-12-01 08:47:14.000-0600 btw disclaimer is on file... any update on this? By: Tilghman Lesher (tilghman) 2005-12-01 09:10:35.000-0600 Are you running asterisk in realtime mode (-p)? By: Roy Sigurd Karlsbakk (rkarlsba) 2005-12-01 09:16:33.000-0600 no also it isn't a hard hangup like the ones you get with -p after all, it's not a whole system hanging By: Kevin P. Fleming (kpfleming) 2005-12-12 21:46:50.000-0600 That backtrace makes no sense... cdr_addon_mysql would not be calling cdr_custom at all. It also appears that someone sent a SIGHUP to Asterisk and it's trying to do a reload... do you have some script or cron job that might be doing that? By: Russell Bryant (russell) 2005-12-26 10:39:09.000-0600 closing due to lack of response. Feel free to re-open with additional information. |