[stunnel-users] Stunnel crashing

Vasil Dimov vd at datamax.bg
Tue Jun 21 14:36:25 CEST 2005


-----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).
-----BEGIN PGP SIGNATURE-----

iD8DBQFCuAnJFw6SP/bBpCARAk9+AKCIzUvAeSB7nMGe++id0PVKIh8nRACgu/DQ
O8ynCy/UxGfq9aTCSqdqEPo=
=oJGq
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list