From 71bc5697b1a35c8460af7885b888b1d43bd994b1 Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 20 Feb 2019 22:23:19 +0200 Subject: [PATCH] Increase per-call stack trace size to 4096. 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. --- doc/xml/release.xml | 4 ++++ src/common/stackTrace.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index bfde115a0..50fafa6c1 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -40,6 +40,10 @@

Change execRead() to return a size_t.

+ + +

Increase per-call stack trace size to 4096.

+
diff --git a/src/common/stackTrace.h b/src/common/stackTrace.h index 056c5c40f..1ef130979 100644 --- a/src/common/stackTrace.h +++ b/src/common/stackTrace.h @@ -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