php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21864 Apache 1.3.27 core dumps when PHP 4.3.0 is activated via LoadModule
Submitted: 2003-01-24 12:09 UTC Modified: 2003-01-27 16:23 UTC
From: purerory at hotmail dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.3.0 OS: AIX 5.1
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: purerory at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-01-24 12:09 UTC] purerory at hotmail dot com
PHP configured with IBM DB2, operating fine as a CLI
Compiled with VAC, no gcc or gdb on this system
(Bug #20677 - compile probs, shows build history)
-----------------------------------
./configure --with-apxs=/opt/freeware/apache/bin/apxs \
        --enable-track-vars --enable-versioning \
        --with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
        --enable-force-cgi-redirect --enable-c9x-inline \
        --with-openssl --with-mysql=/opt/freeware/
-----------------------------------
/usr/sbin/apachectl[163]: 29560 Segmentation fault(coredump)
# dbx /opt/freeware/apache/bin/httpd core
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in php_xbithack_handler_52_28 at 0xd4d68cd4 ($t1)
0xd4d68cd4 (php_xbithack_handler_52_28+0xdc) 800c0000        lwz  
r0,0x0(r12)
(dbx) where     
php_xbithack_handler_52_28() at 0xd4d68cd4
php_create_dir() at 0xd4d675b8
ap_single_module_configure() at 0x1000eae0
load_module() at 0x10043a8c
invoke_cmd() at 0x1000b414
ap_handle_command() at 0x1000cdfc
ap_srm_command_loop() at 0x1000eb5c
ap_process_resource_config() at 0x1000d7e0
ap_read_config() at 0x1000e9c4
http_main.main() at 0x10000740
(dbx)
------------------------------
Output of phpinfo (commandline)

PHP Version => 4.3.0-dev

System => AIX camoabdc01 1 5 000762384C00
Build Date => Dec 12 2002 10:39:08
Configure Command =>  './configure' '--with-apxs=/opt/freeware/apache/bin/apxs' '--enable-track-vars' '--enable-versioning' '--with-ibm-db2=
/home/db2inst1/sqllib' '--sysconfdir=/etc' '--enable-force-cgi-redirect' '--enable-c9x-inline' '--with-openssl' '--with-mysql=/opt/freeware/
'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-24 13:20 UTC] iliaa@php.net
Please compile PHP with --enable-debug so that the backtrace contains more information.
 [2003-01-25 07:15 UTC] sniper@php.net
And remove these options from your configure line:

--enable-track-vars
--enable-versioning
--enable-force-cgi-redirect
--enable-c9x-inline

The last one does not exist even..and the others are useless. And --enable-versioning does not work... :I


 [2003-01-27 16:23 UTC] purerory at hotmail dot com
uh, yeah...
So as suggested I reconfigure PHP with the following:
./configure --with-apxs=/opt/freeware/apache/bin/apxs \
        --with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
        --with-openssl --with-mysql=/opt/freeware/ --enable-debug

make clean/make/make install...and no more core dumps.
Case closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 04:01:29 2024 UTC