Hi,
    When I run the test case "handshake_server" I randomly got an error of  
"double free or corruption","Segmentation fault" or "Hang up", I write a 
code to regress this issue :

#include <pthread.h>
#include <openssl/ssl.h>
#include <openssl/err.h>

void *server_thread(void *arg)
{
    SSL_load_error_strings();
    SSL_library_init();
    pthread_exit((void *)0);
}
int main()
{
    pthread_t tid;
    printf("OPENSSL_VERSION_TEXT: %s\n", OPENSSL_VERSION_TEXT);
    pthread_create(&tid, NULL, server_thread, NULL);
    SSL_load_error_strings();
    SSL_library_init();
    pthread_join(tid, NULL);
    return 0;
}
I also write a issue in here: https://github.com/grpc/grpc/issues/18900
can you point out weather it is right? thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c1ca35e1-93da-4904-ab2f-b0dab2b190c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to