|Summary:||ASTERISK-09187: segfault with core|
|Reporter:||Daniel J. Laffin (dan42)||Labels:|
|Date Opened:||2007-04-04 13:37:53||Date Closed:||2007-04-08 09:31:06|
|Environment:||Attachments:||( 0) output.txt|
|Description:||Attached is the output from "bt", "bt full", and "thread apply all bt" after compiling "dont-optimize" and starting with -g and "CONSOLE=no".|
GCC: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
|Comments:||By: Tilghman Lesher (tilghman) 2007-04-04 18:30:18|
This is the result of a recursive macro. At 4 levels deep, it crashed. Please rewrite your macro to be non-recursive.
By: Tilghman Lesher (tilghman) 2007-04-08 09:31:06
The documentation committed to app_macro in revision 44343 makes this limitation quite clear. There really isn't anything we can do to fix running out of stack space prematurely like this, other than drastically limiting how many levels of Macro you're allowed to recurse.