Hi List,

I try to implement https to PPG. It seems to work, except that boxes
(all of
them) segfault when shutting down. Trace statements tell that this
happens in

http_shutdown,
server_shutdown_ssl,
SSL_CTX_free

After that gdb dumps following stack:

#3 CRYPTO_lock
#2 openssl_locking_function(mode=9, n=12, file="ssl_lib.c", line=1218)
#1 mutex_lock (mutex=0xdeadbeef)
#0 pthread_mutex_lock

0xdeadbeef is quite telling. Someone tries to use already freed mutex. I
start
to investigate, but I would like to get opinions from people more
familiar with
SSL code (Stipe ?) - I may miss something quite evident.

Aarno

Reply via email to