php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6872 ldap_add crashes apache child
Submitted: 2000-09-24 11:23 UTC Modified: 2000-10-17 06:30 UTC
From: php4bugs at suares dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: Linux/Debian2.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php4bugs at suares dot com
New email:
PHP Version: OS:

 

 [2000-09-24 11:23 UTC] php4bugs at suares dot 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




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-15 19:57 UTC] 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-10-16 15:19 UTC] php4bugs at suares dot 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-17 05:28 UTC] php4bugs at suares dot com
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."

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC