Hi,

I have written a multithreaded C-server program. During multiple https connections I frequentl get segmentation fault saying

0x080985b0 in SSL_read ()
Current language: auto; currently asm
(gdb) bt
#0 0x080985b0 in SSL_read ()
#1 0x0894ddb0 in ?? ()
#2 0xb7f23ff4 in ?? () from /lib/i686/cmov/libpthread.so.0
#3 0x08080483 in StartHttpThread (pEngPriv=0x8901da0) at webapp/webapp.c:274
#4 0x08080ce4 in thread_http (pEng=0x8901da0) at webapp/webapp.c:191
#5 0xb7f144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb7d6d6de in clone () from /lib/i686/cmov/libc.so.6

Kindly help me what could be the cause of this

Regards
Barkha Dosi