Skip to content

Commit

Permalink
Increase per-call stack trace size to 4096.
Browse files Browse the repository at this point in the history
This was previously 256, which was too small to log protocol parameters.  Not only did this truncate important debug information but varying path lengths caused spurious differences in the expect logs.
  • Loading branch information
dwsteele committed Feb 20, 2019
1 parent 73be64c commit 71bc569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/xml/release.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@

<p>Change <code>execRead()</code> to return a <code>size_t</code>.</p>
</release-item>

<release-item>
<p>Increase per-call stack trace size to <id>4096</id>.</p>
</release-item>
</release-development-list>
</release-core-list>

Expand Down
2 changes: 1 addition & 1 deletion src/common/stackTrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Stack Trace Handler
/***********************************************************************************************************************************
Maximum size of a single parameter (including NULL terminator)
***********************************************************************************************************************************/
#define STACK_TRACE_PARAM_MAX 256
#define STACK_TRACE_PARAM_MAX 4096

/***********************************************************************************************************************************
Macros to access internal functions
Expand Down

0 comments on commit 71bc569

Please sign in to comment.