Compile the OpenSSL library with -g option and run it in gdb, you can get the exact point of crash. Mostly looks like you are accessing an illegal memory that might have been freed.
-ugen On Wed, Sep 16, 2009 at 10:45 AM, Barkha Dosi <dosi_bar...@yahoo.com> wrote: > 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 > > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >