> [rainer-open...@7val.com - Tue Apr 06 10:53:48 2010]:
> 
> 
> On Apr 2, 2010, at 15:30 , Stephen Henson via RT wrote:
> 
> > This looks suspicious:
> >
> >> #3  0x414a0787 in engine_pkey_asn1_meths_free (e=0x39) at
> >>   tb_asnmth.c:165
> >> 165                                        EVP_PKEY_asn1_free(pkm);
> >
> >
> > Not sure where the 0x39 is coming from. In frame#2:
> >
> >> #2  0x414e525a in EVP_PKEY_asn1_free (ameth=0x833fc70) at
> >>   ameth_lib.c:386
> >
> > can you print out the "ameth" structure?
> 
> 
> (gdb) print *ameth
> $5 = {pkey_id = 1852795252, pkey_base_id = 137624576, pkey_flags = 6,
> pem_str = 0x39 <Address 0x39 out of bounds>,
>   info = 0xa0806974 <Address 0xa0806974 out of bounds>, pub_decode =
> 0xb, pub_encode = 0x833fc9c, pub_cmp = 0x82e2b40,
>   pub_print = 0x833fe00, priv_decode = 0, priv_encode = 0, priv_print
> = 0, pkey_size = 0x6d002a00, pkey_bits = 0x61737365,
>   param_decode = 0x41006567 <f...@plt+23951>, param_encode =
> 0x4155abdf <gost94_param_encode>,
>   param_missing = 0x41558c5d <param_missing_gost94>, param_copy =
> 0x21, param_cmp = 0x200, param_print = 0x8232e78,
>   pkey_free = 0xa, pkey_ctrl = 0xa0806974, old_priv_decode = 0,
> old_priv_encode = 0}
> 

That is very strange. Some parts of that structure are intact while
others are garbage. Either somehow that structure is hanging around and
being freed up twice (which shouldn't be possible if the reference
counting is correct) or something is corrupting it.

Can you tell me which configuration options you used for all the
packages (Apache, Curl, PHP, OpenSSL and anything else relevant) so I
can try to reproduce that here?

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                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to