Return-Path: Delivered-To: apmail-apr-bugs-archive@www.apache.org Received: (qmail 28161 invoked from network); 23 Oct 2008 10:33:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2008 10:33:27 -0000 Received: (qmail 36898 invoked by uid 500); 23 Oct 2008 10:33:29 -0000 Delivered-To: apmail-apr-bugs-archive@apr.apache.org Received: (qmail 36839 invoked by uid 500); 23 Oct 2008 10:33:29 -0000 Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apr.apache.org Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 36760 invoked by uid 99); 23 Oct 2008 10:33:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2008 03:33:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2008 10:32:17 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id A4EF2234C236; Thu, 23 Oct 2008 03:32:26 -0700 (PDT) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: DO NOT REPLY [Bug 46064] apr_ldap_init call fails X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: APR X-Bugzilla-Component: APR-util X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christian_boitel@yahoo.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@apr.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20081023103226.A4EF2234C236@brutus.apache.org> Date: Thu, 23 Oct 2008 03:32:26 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46064 Christian BOITEL changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian_boitel@yahoo.fr --- Comment #1 from Christian BOITEL 2008-10-23 03:32:25 PST --- I have recompiled apr-util-1.3.4 with --disable-util-dso configure options => apr_ldap_init calls are now fine I looked at the code and the only explanation hint i have is that calls to load_ldap function (in ldap/apr_ldap_stub.c) fail that is causing apr_ldap_init to always return -1. By the way, i found that in such cases that apr_ldap_init behaves differently in ldap/apr_ldap_stub.c than in ldap/apr_ldap_init.c => When the dso stub fails, the result_err argument isn't allocated as expected => in Apache/httpd, this is causing sigabort failures: httpd code checks the result_err returned; since it is null, it assumes that call succeeded which is wrong; when httpd tries to later use the connection, openldap sdk fails (assertion failed...) and generates a sigabort signal. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org For additional commands, e-mail: bugs-help@apr.apache.org