jeff <jeff.2234...@gmail.com>: I keep getting some application crash in openssl module, I checked the > dumps and stacks and found that although the stacks vary, the ssl_accept > function is found on all of them, below are some of exmaples. I google the > related information about this, looks like there is some problem when > calling ssl_accept under multi-thread circumstance. My question is, is it > possible that calling ssl_accept in multi-threading circumstance will > result in app to crash? >
Yes -- a single SSL object can't be used concurrently by multiple threads; see https://www.openssl.org/support/faq.html#PROG1. Bodo