[Asterisk-bugs] [Asterisk 0010096]: "Maximum PBX stack exceeded" raised by including more than AST_PBX_MAX_STACK *not nested* contexts

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 2 11:46:55 CDT 2007


email_notification_title_for_action_bugnote_submitted 
====================================================================== 
http://bugs.digium.com/view.php?id=10096 
====================================================================== 
Reported By:                AlexB
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10096
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            1.2.19  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-02-2007 04:54 CDT
Last Modified:              07-02-2007 11:46 CDT
====================================================================== 
Summary:                    "Maximum PBX stack exceeded" raised by including
more than AST_PBX_MAX_STACK *not nested* contexts
Description: 
Including more than 127 contexts causes
Jul  2 11:16:22 WARNING[5561] pbx.c: Maximum PBX stack exceeded

Please note they are not nested, but just included in one single context.
The value depends by AST_PBX_MAX_STACK, which is set to 128. Anyway this is
supposed to be the maximum depth, not the number of includes.

This behaviour has already been pointed out on the dev mailing list:

http://lists.digium.com/pipermail/asterisk-dev/2007-June/028164.html

There are also other threads opened, but unfortunately the discussion was
not fed by any developer. However this is a bug and plain Asterisk files to
reproduce it are attached.
====================================================================== 

---------------------------------------------------------------------- 
 AlexB - 07-02-07 11:46  
---------------------------------------------------------------------- 
OK, given it's not a bug this report should be closed.

Anyway do you think it may be increased w/o affecting performances,
please? I think so, however an answer from a developer here or on the
mailing list would be really appreciated. :) Thanks in advance! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-02-07 04:54  AlexB          New Issue                                    
07-02-07 04:54  AlexB          Asterisk Version          =>  1.2.19         
07-02-07 04:54  AlexB          SVN Branch (only for SVN checkou => N/A          
  
07-02-07 04:54  AlexB          Disclaimer on File?       => No              
07-02-07 04:56  AlexB          File Added: extensions.conf                    
07-02-07 04:57  AlexB          File Added: sip.conf                         
07-02-07 10:33  Corydon76      Note Added: 0066403                          
07-02-07 10:52  AlexB          Note Added: 0066410                          
======================================================================




More information about the Asterisk-bugs mailing list