#37695 [Opn->Bgs]: httpd: child pid 11864 exit signal Segmentation fault (11)
| From: | tony2001@php.net | Date: | Mon, 05 Jun 2006 07:53:01 +0000 |
| Subject: | #37695 [Opn->Bgs]: httpd: child pid 11864 exit signal Segmentation fault (11) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98024@lists.php.net to get a copy of this message | ||
ID: 37695
Updated by: tony2001@php.net
Reported By: gplerma at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Red Hat Enterprise Linux ES rele
PHP Version: 5.1.4
New Comment:
You apache was compiled with -D_FILE_OFFSET_BITS=64, while your PHP was
not or vice versa.
This means that structures like off_t became off64_t and changed their
size.
Not PHP problem.
Previous Comments:
------------------------------------------------------------------------
[2006-06-04 17:13:49] gplerma at yahoo dot com
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 this bug report at http://bugs.php.net/?id=37695&edit=1