Summary: | ASTERISK-01120: v1-0_stable quits with -v and no console | ||
Reporter: | jpiterak (jpiterak) | Labels: | |
Date Opened: | 2004-02-28 09:18:42.000-0600 | Date Closed: | 2008-01-15 14:45:25.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ast_strace_2004-02-28-8_05.tbz | |
Description: | SYMPTOMS: o Asterisk quits (no core), with any number of -v and no -c. o Quits on first write to console AFTER start ('Asterisk Ready.') o running /usr/sbin/asterisk alone ==> No quit o running asterisk -vvvvvvgc ==> No quit ****** ADDITIONAL INFORMATION ****** ENVIRONMENT: o Debian testing o Working production server (CVS 2004-02-04) o cvs co -r v1-0_stable TROUBLESHOOTING: o Set 'verbose' in logger.conf --> Last message is message printed to console after start --> Feb 28 08:28:09 VERBOSE[294931]: -- Starting simple switch on 'Zap/21-1' o Check that Makefile has -g and DEBUG_THREADS --> gdb asterisk --> (gdb) run -vvvvvvg --> Starting program: /usr/sbin/asterisk -vvvvvvg --> (...) --> Asterisk Ready. --> [New Thread 294931 (LWP 514)] --> -- Starting simple switch on 'Zap/21-1' --> Ouch ... error while writing audio data: : Broken pipe --> Ouch ... error while writing audio data: : Broken pipe --> Ouch ... error while writing audio data: : Broken pipe --> --> Program exited normally. --> (gdb) bt --> No stack. --> (gdb) o # strace -tt -f -s 128 -o /tmp/ast_strace_2004-02-28-8:05 asterisk -vvvvvv --> [Attached] --> less /tmp/ast_strace_2004-02-28-8:05 asterisk --> (less) /Zap\/21-1 ...for last messages before asterisk quits ... Nothing jumps out to me(missing file/permissions/io error), but I'm clueless ;-) Let me know if there's anything else I can send to help track this down. Take care, --Jason | ||
Comments: | By: Mark Spencer (markster) 2004-02-28 11:08:48.000-0600 Can't duplicate your problem here. Do you have any non-standard patches, modules, etc (e.g. G.729, patches from the bug tracker, etc) By: Brian West (bkw918) 2004-02-28 11:41:47.000-0600 I can't reproduce this either. I start with -vvvvvvg its fine. By: jpiterak (jpiterak) 2004-02-28 11:43:12.000-0600 Mark, Hmmm - Odd. My only patches applied are: o ADSI patch for voicemail for the Sayson/AASTRA phones: --- app_voicemail.c 30 Jul 2003 20:04:22 -0000 1.33 +++ app_voicemail.c 31 Jul 2003 14:47:10 -0000 @@ -93,7 +93,7 @@ static char *tdesc = "Comedian Mail (Voicemail System)"; -static char *adapp = "CoMa"; +static char *adapp = "\x00\x00\x00\x0f"; -static char *adsec = "_AST"; +static char *adsec = "\x9b\xdb\xf7\xac"; o Zaptel in aggressive cancellation mode: -/* #define AGGRESSIVE_SUPPRESSOR */ +#define AGGRESSIVE_SUPPRESSOR */ ...and I can't think of anything on the machine that is non-standard (I could send you a 'dpkg -l' if you think that'd help). Any ideas for what else I could do to help track this down? --JP By: Mark Spencer (markster) 2004-02-28 12:01:52.000-0600 Find me on IRC (kram, irc.freenode.net) and I'll login. By: James Golovich (jamesgolovich) 2004-03-02 18:58:57.000-0600 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:45:24.000-0600 Repository: asterisk Revision: 2303 U trunk/asterisk.c ------------------------------------------------------------------------ r2303 | citats | 2008-01-15 14:45:23 -0600 (Tue, 15 Jan 2008) | 2 lines Fix asterisk exiting on verbose without a console (bug ASTERISK-1120) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2303 By: Digium Subversion (svnbot) 2008-01-15 14:45:25.000-0600 Repository: asterisk Revision: 2304 U branches/v1-0_stable/asterisk.c ------------------------------------------------------------------------ r2304 | citats | 2008-01-15 14:45:24 -0600 (Tue, 15 Jan 2008) | 2 lines Fix asterisk exiting on verbose without a console (bug ASTERISK-1120) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2304 |