From 227e6a45b7a1d50979f70007c018b686d534ff0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aca=CC=81cio=20Centeno?= Date: Mon, 8 Sep 2014 14:31:56 +0000 Subject: [PATCH] proxy.config.stack_dump_enabled --- doc/sdk/troubleshooting-tips/using-a-debugger.en.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/sdk/troubleshooting-tips/using-a-debugger.en.rst b/doc/sdk/troubleshooting-tips/using-a-debugger.en.rst index d2729e2b247..ef13d4f5904 100644 --- a/doc/sdk/troubleshooting-tips/using-a-debugger.en.rst +++ b/doc/sdk/troubleshooting-tips/using-a-debugger.en.rst @@ -29,6 +29,16 @@ the core files in the :file:`records.config` file to -1 as follows: This is the equivalent of setting ``ulimit -c unlimited`` +Also, if you want to generate a core dump, you must set the variable: + +:: + + CONFIG proxy.config.stack_dump_enabled INT 0 + +If this variable is set to 1, ATS will handle the SIGSEGV signal and +print the backtrace to traffic.out, preventing the core file from being +generated. + Debugging Tips: ~~~~~~~~~~~~~~~