PHP 4.0 Bug #6872 Updated: ldap_add crashes apache child
| From: | php4bugs at suares dot com | Date: | Tue, 17 Oct 2000 09:28:41 +0000 |
| Subject: | PHP 4.0 Bug #6872 Updated: ldap_add crashes apache child | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35230@lists.php.net to get a copy of this message | ||
ID: 6872
User Update by: php4bugs@suares.com
Status: Feedback
Bug Type: *General Issues
Description: ldap_add crashes apache child
Hi,
I don't know if you read eachothers bug reports, but it seems that this was a Debian problem...
Greetings and thanks,
Ace
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: ace@suares.com
Subject: Bug#72316 acknowledged by developer (ldap_add crashes apache)
Date sent: Mon, 16 Oct 2000 15:48:19 -0500
This is an automatic notification regarding your Bug report.
It has been closed by one of the developers, namely
Petr Cech <cech@atrey.karlin.mff.cuni.cz>.
Their explanation is attached below. If this explanation is
unsatisfactory and you have not received a better one in a separate
message then please contact the developer directly, or email
72316@bugs.debian.org or me.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 72316-done) by bugs.debian.org; 16 Oct 2000 20:46:39 +0000
From cech@atrey.karlin.mff.cuni.cz Mon Oct 16 15:46:39 2000
Return-path: <cech@atrey.karlin.mff.cuni.cz>
Received: from atrey.karlin.mff.cuni.cz [::ffff:195.113.31.123]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 13lH9a-0000rA-00; Mon, 16 Oct 2000 15:46:38 -0500
Received: (from cech@localhost)
by atrey.karlin.mff.cuni.cz (8.8.8/8.8.8) id WAA29983
for 72316-done@bugs.debian.org; Mon, 16 Oct 2000 22:46:39 +0200
Date: Mon, 16 Oct 2000 22:46:38 +0200
From: Petr Cech <cech@atrey.karlin.mff.cuni.cz>
To: 72316-done@bugs.debian.org
Subject: fixed (relinked with libopenldap1)
Message-ID: <20001016224638.A29922@atrey.karlin.mff.cuni.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: 72316-done@bugs.debian.org
Hi,
just installed version should not do it anymore. The problem was linking
with
openldap v2. I've mailed about this upstream, so it should get fixed.
Petr Cech
--
Debian GNU/Linux maintainer - www.debian.{org,cz}
cech@atrey.karlin.mff.cuni.cz
<sgore> "Debian - 3 million penguins can't be wrong."
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 15:19:17] php4bugs@suares.com
Hi,
I hope this is waht you need !?
-ace
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/sbin/apache-ssl -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Reading key for server www.neemt-afscheid.nl:443
Launching... /usr/lib/apache-ssl/gcache
pid=1373
Reading key for server www.neemt-afscheid.nl:443
Launching... /usr/lib/apache-ssl/gcache
pid=1375
(no debugging symbols found)...(no debugging symbols found)...warning: find_sol
ib: Can't read pathname for load map: Input/output error
---Type <return> to continue, or q <return> to quit---
Program received signal SIGINT, Interrupt.
0x4020d634 in read () from /lib/libc.so.6
(gdb) bt
#0 0x4020d634 in read () from /lib/libc.so.6
#1 0x0 in ?? ()
---------------------------------------------------------------------------
[2000-10-15 19:57:30] sniper@php.net
Please include a backtrace into this report.
For info how to create a backtrace, check this url:
http://bugs.php.net/bugs-generating-backtrace.php
--Jani
---------------------------------------------------------------------------
[2000-09-24 11:23:39] php4bugs@suares.com
Hi,
I have installed Debian 2.2 (potato), and upgraded php4. I am using openldap.
from phpinfo:
---
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.61 2000/08/26 16:20:37 venaas Exp $
Total Links 0/unlimited
API Version 2004
---
Apache Version Apache/1.3.12
Apache Release 10312100
Apache API Version 19990320
---
I use openldap version 1.2.11, PHP 4.02, (the problem is also in PHP 4.01pl2) and Apache/SSL 1.3.9
When i use the ldap_add function, apache crashes (just the child process, not the whole server.)
Sep 22 08:26:19 server apachessl: [Fri Sep 22 08:26:19 2000] [notice] child pid
15803 exit signal Segmentation fault (11)
Sep 22 08:26:22 server apachessl: [Fri Sep 22 08:26:22 2000] [notice] child pid
15807 exit signal Segmentation fault (11)
All the other ldap functions work fine, i.e. ldap_connect, ldap_bind, ldap_search,
ldap_get_entries...
In bug report http://bugs.php.net/bugs.php?id=6650 I found the
same problem, but I have no Oracle to mess things up.
When trying ldd on lobphp4.so, the result is
libphp4.so: error in loading shared libraries: libphp4.so: cannot open shared object file: No such
file or directory
-Ace
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6872