httpd terminated abnormally, and a core was output

Solution Verified - Updated -

Issue

We are using the Web application that does the LDAP authentication from the Windows terminal via the php on httpd.

Our environment is as follows:

    Windows terminal ---> Web server (php on httpd) ---> LDAP server

The authentication request was sent from the web server to the LDAP server and completed successfully. However, httpd terminated abnormally, and a core was output.

/var/log/httpd/error_log

 [Tue Feb 25 12:38:53.457586 2020] [core:notice] [pid 1210] AH00051: child pid 1290 exit signal Aborted (6), possible coredump in /etc/httpd
 *** Error in `/usr/sbin/httpd': malloc(): memory corruption (fast): 0x00005631ea7119e0 ***
 ======= Backtrace: =========
 /lib64/libc.so.6(+0x7f804)[0x7fc5d11e0804]
 /lib64/libc.so.6(+0x82f40)[0x7fc5d11e3f40]
 /lib64/libc.so.6(__libc_calloc+0xb4)[0x7fc5d11e75a4]
 /lib64/liblber-2.4.so.2(ber_memcalloc_x+0x35)[0x7fc5c25c8315]
 /lib64/liblber-2.4.so.2(ber_alloc_t+0x12)[0x7fc5c25c6d32]
 /lib64/libldap-2.4.so.2(ldap_alloc_ber_with_options+0x10)[0x7fc5c238e7f0]
 /lib64/libldap-2.4.so.2(ldap_build_bind_req+0x49)[0x7fc5c2385159]
 /lib64/libldap-2.4.so.2(ldap_sasl_bind+0xcc)[0x7fc5c23853ac]
 /lib64/libldap-2.4.so.2(ldap_sasl_bind_s+0x89)[0x7fc5c23857f9]
 /lib64/libldap-2.4.so.2(ldap_simple_bind_s+0x65)[0x7fc5c2386095]
 /usr/lib64/php/modules/ldap.so(+0x4ae9)[0x7fc5bf68eae9]
 /etc/httpd/modules/libphp5.so(+0x31a24c)[0x7fc5c0f2624c]

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • apr

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content