#37695 [NEW]: httpd: child pid 11864 exit signal Segmentation fault (11)
| From: | gplerma at yahoo dot com | Date: | Sun, 04 Jun 2006 17:13:49 +0000 |
| Subject: | #37695 [NEW]: httpd: child pid 11864 exit signal Segmentation fault (11) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98016@lists.php.net to get a copy of this message | ||
From: gplerma at yahoo dot com
Operating system: Red Hat Enterprise Linux ES rele
PHP version: 5.1.4
PHP Bug Type: Reproducible crash
Bug description: httpd: child pid 11864 exit signal Segmentation fault (11)
Description:
------------
Good day (or night),
I am needing asssistance with a particularly nasty problem with Apache/PHP
(I'm not quite sure which is the culprit yet). I checked bug log, however
didnt seem to find any issue relating to this one.
I Compiled apache/php 5.1.4/oracle10g/ on RH Ent 4 (ES) w latest OS
updates.
Following startup of httpd, i am seeing constant seg faults within the
httpd error_logs during ANY page GET request:
[Sun Jun 04 11:41:12 2006] [notice] child pid 29592 exit signal
Segmentation fault (11)
[Sun Jun 04 11:41:12 2006] [notice] child pid 29593 exit signal
Segmentation fault (11)
[Sun Jun 04 11:41:13 2006] [notice] child pid 29597 exit signal
Segmentation fault (11)
[Sun Jun 04 11:41:13 2006] [notice] child pid 29598 exit signal
Segmentation fault (11)
[Sun Jun 04 11:41:13 2006] [notice] child pid 29599 exit signal
Segmentation fault (11)
[Sun Jun 04 11:41:13 2006] [notice] child pid 29600 exit signal
Segmentation fault (11)
httpd configure options:
./configure --enable-so --prefix=/usr/software/apache
--with-apr=/usr/software/apr-httpd/ \
--with-apr-util=/usr/software/apr-util-httpd --with-mpm=prefork
--enable-mods-shared=most \
--enable-ssl=shared --with-ssl=/usr/software/openssl --enable-deflate
php configure options:
./configure --prefix=/usr/software/php
--with-config-file-path=/usr/software/php/etc \
--enable-so=shared --with-apxs2=/usr/software/apache/bin/apxs
--enable-dbase \
--with-pfpro=/usr/software/verisign/payflowpro/linux
--with-oci8=/usr/software/oracle/product/10.2.0/db_1 \
--with-gd --with-png-dir=/usr/software/libpng/
--with-zlib-dir=/usr/software/zlib/ \
--with-freetype-dir=/usr/software/freetype
Compile Order was
1. Source Apr (Compiled the packaged apr)
2. Source Apr Utils (Compiled the packaged apr-util)
3. Apache HTTPD
4. PHP
GCC Info:
gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
I have also tried latest snapshot: php5.2-200606041430 to no avail.
This crash only occurs if loading the php5 module (i.e. LoadModule
php5_module modules/libphp5.so)
If i comment this line, then restart apache, no crashing.
I appreciate your valuable time and assistance with this.
Regards,
George
Actual result:
--------------
I ran a backtrace on httpd. This is the results after trying to load a
simple HTML page:
[root@mfc-prod01 apache]# gdb httpd
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -X -d /usr/software/apache
Starting program: /usr/software/apache/bin/httpd -X -d
/usr/software/apache
[Thread debugging using libthread_db enabled]
[New Thread -1208046752 (LWP 29614)]
httpd: Could not reliably determine the server's fully qualified domain
name, using mfc-prod01.multifamilycentral.priv for ServerName
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208046752 (LWP 29614)]
0x0128f332 in php_handler (r=0x9656f08) at
/usr/compileFactory/php-5.1.4/sapi/apache2handler/sapi_apache2.c:472
472 conf = ap_get_module_config(r->per_dir_config,
&php5_module);
--
Edit bug report at http://bugs.php.net/?id=37695&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37695&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37695&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37695&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37695&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37695&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37695&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37695&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37695&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37695&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37695&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37695&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37695&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37695&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37695&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37695&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37695&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37695&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37695&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37695&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37695&r=mysqlcfg