From: [EMAIL PROTECTED] Operating system: AIX 5.1 PHP version: 4.1.1 PHP Bug Type: OCI8 related Bug description: Apache child procs segfault on AIX 5.1 with OCI8
When I compile PHP 4.1.1 with OCI8 support and try to run it on a system with AIX 5.1, the Apache child processes generate segfaults until I stop Apache. The behavior has been observed on two different AIX 5.1 systems, and it happens regardless of whether PHP was compiled on an AIX 4.3 or 5.1 system. The Oracle client libraries are properly installed, and Oracle utilities like "sqlplus" run normally. If I remove OCI8 support from the PHP module, or if I run the same module with OCI8 support on an AIX 4.3 system, it works just fine. Here's the environment: AIX 5.1 PHP 4.1.1 Oracle 8.1.7 client libraries IBM VisualAge C 5.0.1 export CC="cc_r" export CFLAGS="-g -ma" ./configure --prefix=/local/www/php \ --with-apxs=/local/www/bin/apxs \ --with-config-file-path=/local/www/php \ --without-mysql \ --with-oci8=/ora00/app/oracle/product/8.1.7 Here's how I reproduce the problem: # make install # /local/www/bin/apachectl start # tail -f /local/www/logs/www.err [Wed Jan 9 13:33:05 2002] [notice] Apache/1.3.20 (Unix) PHP/4.1.1 configured -- resuming normal operations [Wed Jan 9 13:33:06 2002] [notice] child pid 13720 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:06 2002] [notice] child pid 14672 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:06 2002] [notice] child pid 5884 exit signal Illegal instructi on (4) [Wed Jan 9 13:33:06 2002] [notice] child pid 17438 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:06 2002] [notice] child pid 16608 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:08 2002] [notice] child pid 17440 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:09 2002] [notice] child pid 14674 exit signal Illegal instruct ion (4) [Wed Jan 9 13:33:09 2002] [notice] child pid 5886 exit signal Illegal instructi on (4) ... # /local/www/bin/apachectl stop # /local/www/bin/httpd -X {accepts vanilla html requests, sometimes doesn't terminate on ^C until after it's received a request} If I try to access a simple script ("<?php print "Hello"; ?>") while running with "-X", I get the following output: Warning: Failed opening '/local/www/vhosts/owl.its.uiowa.edu/docs/phpinfo.php' for inclusion (include_path='') in Unknown on line 0 -- Edit bug report at: http://bugs.php.net/?id=15033&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]