Hello,

I'm trying to diagnose a crash in libcrypto.so.1.0.0 with no luck as
of now (observed when trying to start Apache with mod_ssl). My
platform is:

- Ubuntu 11.10 (also tried with Ubuntu 12.04 on a separate machine,
the same results)
- OpenSSL installed from packages
- Linode VPS, x64

I was suspecting that I hit http://cvs.openssl.org/chngview?cn=22415
so I downloaded the latest OpenSSL (1.0.1c), compiled it from sources
and replaced /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 and
/lib/x86_64-linux-gnu/libssl.so.1.0.0, it is crashing, but now I have
a backtrace (which unfortunately doesn't makes much sense to me, but
hopefully it is useful to you):

Any suggestion regarding how I could resolve this crash is much appreciated.

Regards,
Attila Balazs.

The backtrace:

Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fc5cb18052b in err_string_data_cmp (a=0x7fc5c3f500a0,
b=0x7fffec0d6840) at err.c:346
346             return (int)(a->error - b->error);
(gdb) bt full
#0  0x00007fc5cb18052b in err_string_data_cmp (a=0x7fc5c3f500a0,
b=0x7fffec0d6840) at err.c:346
No locals.
#1  0x00007fc5cb180572 in err_string_data_LHASH_COMP
(arg1=0x7fc5c3f500a0, arg2=0x7fffec0d6840) at err.c:348
        a = 0x7fc5c3f500a0
        b = 0x7fffec0d6840
#2  0x00007fc5cb17dfaa in getrn (lh=0x7fc5d007e8e0,
data=0x7fffec0d6840, rhash=0x7fffec0d67d8) at lhash.c:432
        ret = 0x7fc5d008e3a8
        n1 = 0x7fc5d0090c40
        hash = 335954007
        nn = 87
        cf = 0x7fc5cb18053f <err_string_data_LHASH_COMP>
#3  0x00007fc5cb17d971 in lh_retrieve (lh=0x7fc5d007e8e0,
data=0x7fffec0d6840) at lhash.c:255
        hash = 335954007
        rn = 0x7fffec0d6810
        ret = 0x7fc5d007e8e0
#4  0x00007fc5cb1806e7 in int_err_get_item (d=0x7fffec0d6840) at err.c:390
        p = 0x7fc5cb181c28
        hash = 0x7fc5d007e8e0
#5  0x00007fc5cb181c28 in ERR_func_error_string (e=335953920) at err.c:961
        d = {error = 335953920, string = 0x29 <Address 0x29 out of bounds>}
        p = 0x7fc5cb1ef6c3
        l = 20
        f = 100
#6  0x00007fc5c3d44eab in ERR_load_SSL_strings () at ssl_err.c:603
No locals.
#7  0x00007fc5c3d360b2 in SSL_load_error_strings () at ssl_err2.c:67
No locals.
#8  0x00007fc5c2d04018 in ?? () from /usr/lib/apache2/modules/mod_ssl.so
No symbol table info available.
#9  0x00007fc5cdf77d9e in ap_run_pre_config ()
No symbol table info available.
#10 0x00007fc5cdf633fb in main ()
No symbol table info available.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to