[openssl.org #3929] Crash in EVP_PKEY_CTX_free in the client code ..

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[openssl.org #3929] Crash in EVP_PKEY_CTX_free in the client code ..

Rich Salz via RT
Version : 1.0.1m
Platform: mips64

Client code crashed while timing out the peer (Freeing the SSL ctx). We are
trying to reproduce the problem, will let you know if this happens again.
Is this a known issue?

Please let me know if you need any more info.

Thanks in Advance
-Praveen Kariyanahalli

Program terminated with signal 10, Bus error.
#0  EVP_PKEY_CTX_free (ctx=0xffffffff00000000) at pmeth_lib.c:360
360    *if (ctx->pmeth && ctx->pmeth->cleanup)*
(gdb) bt
#0  EVP_PKEY_CTX_free (ctx=0xffffffff00000000) at pmeth_lib.c:360
#1  0x000000fff5f1efd8 in EVP_MD_CTX_cleanup (ctx=0xfff4be5c20) at
#2  0x000000fff5f1f470 in EVP_MD_CTX_destroy (ctx=0xfff4be5c20) at
#3  0x000000fff6061708 in ssl_clear_hash_ctx (hash=0xfff4bde4e8) at
#4  0x000000fff6061a38 in SSL_free (s=0xfff4bde410) at ssl_lib.c:562
#5  0x0000000120032db0 in client_peer_delete (p_global_ctx=0x1200c9b90
<g_ctx>, p_peerdb_hash=0xfff56dea10, p_peerdb_dll=0x1200cab50 <g_ctx+4032>,
p_peer=0xfff47c6010, conn_flag=<optimized out>)
    at client_peer.c:1342
#6  0x0000000120033940 in peer_timer_expiry_cb (p_timer=<optimized out>,
peer=0xfff47c6010, p_ctx=0x1200c9b90 <g_ctx>, arg3=<optimized out>,
arg4=<optimized out>) at client_peer.c:270
#7  0x0000000120079c58 in timer_exec_pri (p_mgr=0xfff3658010,
p_pri=0xfff3658080, p_starttime=<optimized out>, msecs=<optimized out>) at
#8  0x000000012007a1e0 in timer_exec (p_mgr=0xfff3658010,
pri_mask=<optimized out>, msecs=<optimized out>) at timer.c:524
#9  0x0000000120012800 in client_base_timer_cb (base_timer_fd=<optimized
out>, what=<optimized out>, p_ctx=0x1200c9b90 <g_ctx>) at client.c:5086
#10 0x000000fff611e054 in event_process_active_single_queue
(activeq=0xfff4bff0d0, base=0xfff4becc10) at
#11 event_process_active (base=<optimized out>) at
#12 event_base_loop (base=0xfff4becc10, flags=<optimized out>) at
#13 0x000000012002376c in client_main (p_cfg=0xffffaca440) at client.c:5835
#14 0x0000000120023ebc in main (argc=<optimized out>, argv=<optimized out>)
at client.c:6541

openssl-bugs-mod mailing list
[hidden email]
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev