Summary: | ASTERISK-00824: "Restart Now" issued through manager interface sends * console into convulsions | ||
Reporter: | James Sharp (jpsharp) | Labels: | |
Date Opened: | 2004-01-13 14:15:44.000-0600 | Date Closed: | 2008-01-15 14:44:13.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If you issue a "Restart Now" command through the manager interface, the main * console begins scrolling this: Use STOP NOW to shutdown Asterisk *CLI> Use STOP NOW to shutdown Asterisk *CLI> Use STOP NOW to shutdown Asterisk *CLI> And the system never gets restarted ****** ADDITIONAL INFORMATION ****** Loaded symbols for /usr/lib/libodbc.so.1 0x420cdb84 in write () from /lib/i686/libc.so.6 (gdb) thread apply all bt Thread 14 (Thread 98317 (LWP 24922)): #0 0x420ae561 in nanosleep () from /lib/i686/libc.so.6 #1 0x4002983c in nanosleep () from /lib/i686/libpthread.so.0 #2 0x420ae439 in sleep () from /lib/i686/libc.so.6 #3 0x41f61f8b in qcall (ignore=0x0) at app_qcall.c:167 #4 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 13 (Thread 90124 (LWP 24921)): #0 0x420ae561 in nanosleep () from /lib/i686/libc.so.6 #1 0x4002983c in nanosleep () from /lib/i686/libpthread.so.0 #2 0x420ae439 in sleep () from /lib/i686/libc.so.6 #3 0x41f1e1cc in scan_thread (unused=0x0) at pbx_spool.c:288 #4 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 12 (Thread 81931 (LWP 24920)): #0 0x420d3b2e in select () from /lib/i686/libc.so.6 #1 0x41f1c264 in __dso_handle () from /usr/lib/asterisk/modules/pbx_wilcalu.so #2 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 11 (Thread 73738 (LWP 24919)): #0 0x420d3b2e in select () from /lib/i686/libc.so.6 #1 0x41d017a4 in __dso_handle () from /usr/lib/asterisk/modules/chan_zap.so #2 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 10 (Thread 65545 (LWP 24918)): #0 0x420d3b2e in select () from /lib/i686/libc.so.6 #1 0x41ce3b6c in __dso_handle () from /usr/lib/asterisk/modules/chan_phone.so #2 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 9 (Thread 57352 (LWP 24915)): #0 0x420d224b in poll () from /lib/i686/libc.so.6 #1 0x08051584 in ast_io_wait (ioc=0x80f9238, howlong=-4) at io.c:254 #2 0x41c9b434 in do_monitor (data=0x0) at chan_skinny.c:2411 #3 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 8 (Thread 49159 (LWP 24914)): #0 0x420d224b in poll () from /lib/i686/libc.so.6 #1 0x08051584 in ast_io_wait (ioc=0x80f6598, howlong=-4) at io.c:254 #2 0x41b5bd82 in network_thread (ignore=0x0) at chan_iax2.c:5096 #3 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 7 (Thread 40966 (LWP 24911)): #0 0x420d224b in poll () from /lib/i686/libc.so.6 #1 0x08051584 in ast_io_wait (ioc=0x80ef1c8, howlong=-4) at io.c:254 #2 0x41ae7d44 in do_monitor (data=0x0) at chan_sip.c:5584 #3 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 6 (Thread 32773 (LWP 24910)): #0 0x420d224b in poll () from /lib/i686/libc.so.6 #1 0x08051584 in ast_io_wait (ioc=0x80edcb0, howlong=-4) at io.c:254 #2 0x419e50cc in network_thread (ignore=0x0) at chan_iax.c:4526 #3 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 5 (Thread 24580 (LWP 24909)): #0 0x420d3b2e in select () from /lib/i686/libc.so.6 #1 0x410ce590 in __dso_handle () from /usr/lib/asterisk/modules/res_parking.so #2 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 4 (Thread 16387 (LWP 24908)): #0 0x420daa02 in accept () from /lib/i686/libc.so.6 #1 0x40029d43 in accept () from /lib/i686/libpthread.so.0 #2 0x080816d2 in accept_thread (ignore=0x0) at manager.c:731 #3 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- Thread 3 (Thread 8194 (LWP 24907)): #0 0x420d3b2e in select () from /lib/i686/libc.so.6 #1 0x00000003 in ?? () #2 0x40025941 in pthread_start_thread () from /lib/i686/libpthread.so.0 Thread 2 (Thread 16385 (LWP 24906)): #0 0x420d224b in poll () from /lib/i686/libc.so.6 #1 0x40024d9e in __pthread_manager () from /lib/i686/libpthread.so.0 Thread 1 (Thread 8192 (LWP 24905)): #0 0x420cdb84 in write () from /lib/i686/libc.so.6 #1 0x4002eb44 in __JCR_LIST__ () from /lib/i686/libpthread.so.0 #2 0x0806daa0 in ast_cli (fd=35, fmt=0x23 <Address 0x23 out of bounds>) at cli.c:44 #3 0x08084454 in main (argc=1, argv=0xbffff69c) at asterisk.c:1500 #4 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 #0 0x420cdb84 in write () from /lib/i686/libc.so.6 (gdb) | ||
Comments: | By: James Sharp (jpsharp) 2004-01-13 16:58:41.000-0600 My mistake. The system does restart, but the console is unavailable. By: James Golovich (jamesgolovich) 2004-02-16 04:17:47.000-0600 This is the same as bug ASTERISK-858, just triggered through a different way By: James Golovich (jamesgolovich) 2004-02-22 22:55:44.000-0600 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:44:13.000-0600 Repository: asterisk Revision: 2217 U trunk/asterisk.c ------------------------------------------------------------------------ r2217 | citats | 2008-01-15 14:44:12 -0600 (Tue, 15 Jan 2008) | 2 lines Fix restarting when not called from the main console (bug ASTERISK-824 and ASTERISK-858) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2217 By: Digium Subversion (svnbot) 2008-01-15 14:44:13.000-0600 Repository: asterisk Revision: 2218 U branches/v1-0_stable/asterisk.c ------------------------------------------------------------------------ r2218 | citats | 2008-01-15 14:44:13 -0600 (Tue, 15 Jan 2008) | 2 lines Fix restarting when not called from the main console (bug ASTERISK-824 and ASTERISK-858) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2218 |