PHP 4.0 Bug #6872 Updated: ldap_add crashes apache child

From: Date: Mon, 16 Oct 2000 19:19:17 +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-35182@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 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 ?? () Previous Comments: --------------------------------------------------------------------------- [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

« previous php.dev (#35182) next »