You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "Ramapandi Muniyasamy -X (ramapmun - WIPRO LIMITED at Cisco)" <ra...@cisco.com> on 2022/03/28 12:49:44 UTC

Need Pointers on Cores.

Hi All,

I am getting a crash when I am newly migrating to openssl 1.1.1l with version 2.4.39

I see below, in the bio_filter_out_method structure is corrupted when checked in free_bio_methods function frame below.

gdb) bt
#0 0x77baf875 in free () from /lib/libc.so.6
#1 0x77ea6eff in CRYPTO_free (str=0x3, file=0x77f55825 "crypto/bio/bio_meth.c", line=53) at crypto/mem.c:312
#2 0x77dbedc2 in BIO_meth_free (biom=0x9627f70) at crypto/bio/bio_meth.c:53
#3 0x08127776 in free_bio_methods ()
#4 0x08126a7a in ssl_init_ModuleKill ()
#5 0x77cba1d1 in run_cleanups () from /isan/lib/libapr-1.so.0
#6 0x77cb936b in apr_pool_destroy () from /isan/lib/libapr-1.so.0
#7 0x77cb9353 in apr_pool_destroy () from /isan/lib/libapr-1.so.0
#8 0x08076197 in destroy_and_exit_process ()
#9 0x08077d3a in main ()
(gdb)

Any pointers on what could be the issue and whether any patch is fixing this issue?

My configuration is

apache: 2.4.39
apr-1.5.2
apr-util-1.5.4
OpenSSL 1.1.1l


Thanks,
Rama.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


Re: Need Pointers on Cores.

Posted by Yann Ylavic <yl...@gmail.com>.
Hi,

On Mon, Mar 28, 2022 at 2:50 PM Ramapandi Muniyasamy -X (ramapmun -
WIPRO LIMITED at Cisco) <ra...@cisco.com> wrote:
>
> I am getting a crash when I am newly migrating to openssl 1.1.1l with version 2.4.39

You need to re-build httpd with the new openssl (./configure
--with-openssl=/path/to/openssl 1.1.1l ...), and verify that httpd is
linked to the new openssl at runtime (`ldd modules/mod_ssl.so` should
show the new paths for openssl, and/or LD_LIBRARY_PATH should be
used).


Regards;
Yann.

RE: Need Pointers on Cores.

Posted by "Ramapandi Muniyasamy -X (ramapmun - WIPRO LIMITED at Cisco)" <ra...@cisco.com>.
Hi All,

Could anyone please help on below thread. My release date is nearing I have to fix this.

Thanks.
Rama.

From: Ramapandi Muniyasamy -X (ramapmun - WIPRO LIMITED at Cisco)
Sent: Monday, March 28, 2022 5:50 AM
To: dev@apr.apache.org
Subject: Need Pointers on Cores.

Hi All,

I am getting a crash when I am newly migrating to openssl 1.1.1l with version 2.4.39

I see below, in the bio_filter_out_method structure is corrupted when checked in free_bio_methods function frame below.

gdb) bt
#0 0x77baf875 in free () from /lib/libc.so.6
#1 0x77ea6eff in CRYPTO_free (str=0x3, file=0x77f55825 "crypto/bio/bio_meth.c", line=53) at crypto/mem.c:312
#2 0x77dbedc2 in BIO_meth_free (biom=0x9627f70) at crypto/bio/bio_meth.c:53
#3 0x08127776 in free_bio_methods ()
#4 0x08126a7a in ssl_init_ModuleKill ()
#5 0x77cba1d1 in run_cleanups () from /isan/lib/libapr-1.so.0
#6 0x77cb936b in apr_pool_destroy () from /isan/lib/libapr-1.so.0
#7 0x77cb9353 in apr_pool_destroy () from /isan/lib/libapr-1.so.0
#8 0x08076197 in destroy_and_exit_process ()
#9 0x08077d3a in main ()
(gdb)

Any pointers on what could be the issue and whether any patch is fixing this issue?

My configuration is

apache: 2.4.39
apr-1.5.2
apr-util-1.5.4
OpenSSL 1.1.1l


Thanks,
Rama.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows