-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Jun 21, 2005 at 02:07:32PM +0200, David Gomel wrote:
You mentioned perhaps needing to do a backtrace. What does this mean and how would I do it?
Firstly you need a core file that is created when stunnel crashes. There are some things that may prevent it from being created: under linux maximum core file size is 0 by default. Consider running "ulimit -c unlimited" in the same shell that you will start stunnel later (this is per process-descendants). Make sure the user that stunnel is running as can write to the current directory it is running in.
When you get the core, type:
gdb /usr/local/bin/stunnel core (gdb) bt
What gets output-ed is the backtrace.
For better output it whould be better if you recompile stunnel with debugging symbols (add -g switch to the compiler).