RHEL7 httpd with mod_ldap loops in find_block_of_size()

Solution Unverified - Updated -

Issue

  • RHEL7 httpd with mod_ldap loops in find_block_of_size()

httpd-debuginfo-2.4.6-45.el7.x86_64:

# gdb /usr/sbin/httpd core.#
...
(gdb) bt
#0  0x00007f0ae20136ef in find_block_of_size (size=size@entry=48, rmm=0x7f0ae3576038) at misc/apr_rmm.c:106
#1  0x00007f0ae2013e88 in apr_rmm_calloc (rmm=0x7f0ae3576038, reqsize=<optimized out>) at misc/apr_rmm.c:342
#2  0x00007f0ad37203fa in util_ald_alloc (cache=0x7f0ac20a45a0, size=<optimized out>) at util_ldap_cache_mgr.c:105
#3  0x00007f0ad3720bcf in util_ald_cache_insert (cache=0x7f0ac20a45a0, payload=payload@entry=0x7ffe32062f80) at util_ldap_cache_mgr.c:470
#4  0x00007f0ad371e1da in uldap_cache_checkuserid (r=<optimized out>, ldc=0x7f0ae4230a10, url=<optimized out>, basedn=<optimized out>, scope=<optimized out>, 
    attrs=0x7f0ae38fc2b0, 
    filter=0x7ffe320630c0 "(&(&(objectClass=ldapPerson)(|(memberof=CN=53RDVEND0001R,ou=Groups,ou=EX00A0,ou=Organizations,dc=extra,dc=local)(memberof=CN=53RDVEND0001W,ou=Groups,ou=EX00A0,ou=Organizations,dc=extra,dc=local)))(sAM"..., bindpw=0x7f0ae3fb22ef "murata45", binddn=0x7ffe32063058, retvals=0x7f0ae3fb2320) at util_ldap.c:1863
#5  0x00007f0ad1e6b46d in authn_ldap_check_password (r=0x7f0ae3fb5be0, user=0x7f0ae3fb2300 "murata.daisuke", password=0x7f0ae3fb22ef "murata45")
    at mod_authnz_ldap.c:528
#6  0x00007f0adffb2726 in authenticate_basic_user (r=0x7f0ae3fb5be0) at mod_auth_basic.c:324
#7  0x00007f0ae29017a0 in ap_run_check_user_id (r=r@entry=0x7f0ae3fb5be0) at request.c:81
#8  0x00007f0ae29047b2 in ap_process_request_internal (r=r@entry=0x7f0ae3fb5be0) at request.c:273
#9  0x00007f0ae291fbb8 in ap_process_async_request (r=r@entry=0x7f0ae3fb5be0) at http_request.c:315
#10 0x00007f0ae291fea4 in ap_process_request (r=r@entry=0x7f0ae3fb5be0) at http_request.c:363
#11 0x00007f0ae291c7f2 in ap_process_http_sync_connection (c=0x7f0ae3e5f210) at http_core.c:190
#12 ap_process_http_connection (c=0x7f0ae3e5f210) at http_core.c:231
#13 0x00007f0ae2914890 in ap_run_process_connection (c=c@entry=0x7f0ae3e5f210) at connection.c:41
#14 0x00007f0ae2914c78 in ap_process_connection (c=c@entry=0x7f0ae3e5f210, csd=<optimized out>) at connection.c:202
#15 0x00007f0ad850b80f in child_main (child_num_arg=child_num_arg@entry=5) at prefork.c:707
#16 0x00007f0ad850ba55 in make_child (s=0x7f0ae34f33a0, slot=5) at prefork.c:810
#17 0x00007f0ad850c6ee in perform_idle_server_maintenance (p=<optimized out>) at prefork.c:912
#18 prefork_run (_pconf=<optimized out>, plog=<optimized out>, s=<optimized out>) at prefork.c:1100
#19 0x00007f0ae28f15be in ap_run_mpm (pconf=pconf@entry=0x7f0ae34c2138, plog=0x7f0ae34ef358, s=0x7f0ae34f33a0) at mpm_common.c:96
#20 0x00007f0ae28eab46 in main (argc=2, argv=0x7ffe32065738) at main.c:777
(gdb) 

Environment

  • Red Hat Enterprise Linux 7
  • httpd
  • mod_ldap

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