> [[email protected] - Thu Apr 01 19:18:51 2010]: > > > On Apr 1, 2010, at 17:44 , Stephen Henson via RT wrote: > > > > > That is most peculiar. If an ENGINE isn't in use I wouldn't expect > that > > to happen unless something somewhere is loading one. > > > > OK, next step is to see what ENGINE it is. Can you in the debugger > print > > out the engine structure for example in frame #5? > > > > Attempt #1 > > #5 0x4149ca28 in ENGINE_remove (e=0x8232b60) at eng_list.c:187 > 187 engine_free_util(e, 0); > (gdb) print *e > $1 = {id = 0x41589955 "gost", name = 0x41589980 "Reference > implementation of GOST engine", rsa_meth = 0x0, dsa_meth = 0x0, > dh_meth = 0x0, ecdh_meth = 0x0, > ecdsa_meth = 0x0, rand_meth = 0x0, store_meth = 0x0, ciphers = > 0x4155dd7f <gost_ciphers>, digests = 0x4155dd1c <gost_digests>, > pkey_meths = 0x4155dddf <gost_pkey_meths>, pkey_asn1_meths = > 0x4155de5d <gost_pkey_asn1_meths>, destroy = 0x4155e275 > <gost_engine_destroy>, > init = 0x4155dd10 <gost_engine_init>, finish = 0x4155dd16 > <gost_engine_finish>, ctrl = 0x4155dc6c <gost_control_func>, > load_privkey = 0, load_pubkey = 0, > load_ssl_client_cert = 0, cmd_defns = 0x41594740, flags = 0, > struct_ref = 0, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, > prev = 0x0, next = 0x0} > > > > One Apache restart later, looks essentially the same: > Attempt #2 > > #31 0x0807150f in main (argc=135614624, argv=0x81570a8) at main.c:740 > (gdb) up > #1 0x4141e06e in CRYPTO_free (str=0x39) at mem.c:391 > 391 free_func(str); > (gdb) up > #2 0x414e525a in EVP_PKEY_asn1_free (ameth=0x833fc70) at > ameth_lib.c:386 > 386 OPENSSL_free(ameth->pem_str); > (gdb) up > #3 0x414a0787 in engine_pkey_asn1_meths_free (e=0x39) at > tb_asnmth.c:165 > 165 EVP_PKEY_asn1_free(pkm); > (gdb) up > #4 0x4149c233 in engine_free_util (e=0x8232b60, locked=0) at > eng_lib.c:130 > 130 engine_pkey_asn1_meths_free(e); > (gdb) up > #5 0x4149ca28 in ENGINE_remove (e=0x8232b60) at eng_list.c:187 > 187 engine_free_util(e, 0); > (gdb) print *e > $1 = {id = 0x41589955 "gost", name = 0x41589980 "Reference > implementation of GOST engine", rsa_meth = 0x0, dsa_meth = 0x0, > dh_meth = 0x0, ecdh_meth = 0x0, ecdsa_meth = 0x0, rand_meth = 0x0, > store_meth = 0x0, ciphers = 0x4155dd7f <gost_ciphers>, > digests = 0x4155dd1c <gost_digests>, pkey_meths = 0x4155dddf > <gost_pkey_meths>, pkey_asn1_meths = 0x4155de5d > <gost_pkey_asn1_meths>, destroy = 0x4155e275 <gost_engine_destroy>, > init = 0x4155dd10 <gost_engine_init>, finish = 0x4155dd16 > <gost_engine_finish>, > ctrl = 0x4155dc6c <gost_control_func>, load_privkey = 0, load_pubkey > = 0, load_ssl_client_cert = 0, cmd_defns = 0x41594740, flags = 0, > struct_ref = 0, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, > prev = 0x0, next = 0x0} >
Hmm... that's the GOST ENGINE. I'm not sure why that's even there. What configuration options did you use to build OpenSSL? Workaround for now is to disable GOST with no-gost on the command line when you configure OpenSSL. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
