ENV: Solaris-10 
uname -a: SunOS xxx 5.10 Generic_125101-04 i86pc i386 i86pc

My application with gsoap-client+SSL connects to gsoap server. 
At random occasions, the client application dumps core.
The client is a multi-threaded application.
In the application, I properly initialized the ssl with below steps:

    soap_ssl_init();
    ...
    CRYPTO_thread_setup()

In-spite of this, the application crashes randomly.
Any idea on this issue? 

Pstack contents:
 --- called from signal handler with signal 6 (SIGABRT) ---
 fe1d6e16 __systemcall (3, fd13cb58, 0) + 6
 fe1cb550 pthread_sigmask (2, fb4dbf70, 0) + 11b
 fe1cb5c9 sigprocmask (2, fb4dbf70, 0) + 2e
 fe1c353d sigrelse (6) + 5e
 fe1615a2 abort    (d, 838e4a0, fbc22d8c, 1, 838dc45, fb4dc018) + 96
 feee0a99 free     (838e4a0, 2, 0, fbb57eda, fbc22d8c, 8453f7c) + 193
 fbb57ef8 CRYPTO_free (838e4a0, 0, fb4dc048, fbb6558a, 83e8f18, 2) + 28
 fbb655dd ERR_clear_error (fbc22d8c, fb4dc5b0, fb4dc078, fbb426bf, 838e418, 
36b9d0) + 6d
 fbb77442 X509_STORE_set_default_paths (838e418, 36b9d0, fbbff47c, fbc22d8c) + 
72
 fbb426bf SSL_CTX_set_default_verify_paths (8465d90, 8291e50, 83142f8, 
fba94416) + 1f
 fba94474 ssl_auth_init (fb4dc5b0, fb4dc5b0, fb4dc328, fbab0584) + 6c
 fba84c1d soap_ssl_client_context (fb4dc5b0, 0, 0, 0, 0, 0) + 51
====

Reply via email to