[Home]

Summary:ASTERISK-03120: [patch] Increase the stack size for searching through contexts
Reporter:khb (khb)Labels:
Date Opened:2004-12-28 18:11:16.000-0600Date Closed:2008-01-15 15:19:33.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) pbx.c_patch_maxinc.txt
Description:This increases the depth of inclusions of contexts in pbx.c
Decent sized configurations need to increase this.
Comments:By: Mark Spencer (markster) 2004-12-28 18:17:45.000-0600

How do you seriously have more than 64 levels of includes deep??

By: khb (khb) 2004-12-28 18:31:21.000-0600

Sorry, it actually isn't the level of includes.
It's the stack size when searching through contexts for an extension.
On a machine that connects about 20 networks, this is easily reached.
I once made this runtime-configurable, but didn't include it on the production
machine, but can't find the patch anymore. I will find it eventually again.
This just came across my path when patching the hint listing.

Please change the subject line so people don't get even more confused then I was when I wrote it, sorry about that, or make me a bug marshal.

edited on: 12-28-04 18:54

By: Mark Spencer (markster) 2004-12-30 19:44:16.000-0600

Well, it doesn't really cost us that much it's just a few pointers and it's on the stack so I went ahead and added it.

By: Russell Bryant (russell) 2005-01-02 21:02:30.000-0600

added to 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:19:08.000-0600

Repository: asterisk
Revision: 4617

U   trunk/pbx.c

------------------------------------------------------------------------
r4617 | markster | 2008-01-15 15:19:08 -0600 (Tue, 15 Jan 2008) | 2 lines

Increase max stack size for context searches (bug ASTERISK-3120)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4617

By: Digium Subversion (svnbot) 2008-01-15 15:19:33.000-0600

Repository: asterisk
Revision: 4645

U   branches/v1-0/pbx.c

------------------------------------------------------------------------
r4645 | russell | 2008-01-15 15:19:33 -0600 (Tue, 15 Jan 2008) | 2 lines

increase stack size for searching through contexts (bug ASTERISK-3120)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4645