Description of problem: Version-Release number of selected component (if applicable): httpd-2.2.0-5.1.2 openldap-2.3.19-4 apr-1.2.2-7.3 How reproducible: configure apache to use ldap on x86_64, in instantly segfaults when used. Additional info: openldap in FC5 hides the declaration of many functions that are deprecated (eg. ldap_init in <ldap.h>). Without decl the return type defaults to int, and with functions that return pointers you get illegal addresses on 64bit. To get the missing declarations of openldap the -DLDAP_DEPRECATED definition is needed at compile time. Regards, Lars Heete
Just noticed the same problem here (x86_64). It still happens with httpd-2.2.2-1.0.x86_64.
apr-util actually has the same Problem.
Attaching a patch that fixed the problem for me. Please note that it must be applied to apr, altough the package containing wrong code is apr-util. The new apr-devel must be installed while rebuilding apr-util.
Created attachment 131875 [details] Bugfix for apr Please add to apr.spec and rebuild both apr and apr-util with new apr-devel already installed.
Thanks, there is an apr-util update in the update queue already. It's not necessary to make changes to apr to fix this issue. *** This bug has been marked as a duplicate of 188073 ***