Loading ...
Sorry, an error occurred while loading the content.

Re: [blug-prog] Segmentation fault in SSL_read+

Expand Messages
  • Venkatesan S
    ... Did you register the two required static callbacks when using OpenSSL in multithreaded environment? http://www.openssl.org/docs/crypto/threads.html
    Message 1 of 2 , Sep 18, 2009
    • 0 Attachment
      On Wed, Sep 16, 2009 at 10:47 AM, dosi_barkha <dosi_barkha@...> 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
      >
      >
      Did you register the two required static callbacks when using OpenSSL in
      multithreaded environment?

      http://www.openssl.org/docs/crypto/threads.html


      Regards
      > Barkha Dosi
      >
      >
      >
      > ------------------------------------
      >
      > --
      > Before posting to this list, read the list rules FIRST!
      >
      > http://blug.in/list-rules
      > Yahoo! Groups Links
      >
      >
      >
      >


      --
      �Everything that irritates us about others can lead us to an understanding
      about ourselves.�
      �Carl Jung


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.