php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13964 core dump on AIX 4.3.2
Submitted: 2001-11-06 18:06 UTC Modified: 2002-08-02 14:07 UTC
From: silva at athenea dot ort dot edu dot uy Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.6 OS: AIX 4.3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: silva at athenea dot ort dot edu dot uy
New email:
PHP Version: OS:

 

 [2001-11-06 18:06 UTC] silva at athenea dot ort dot edu dot uy
Hi, I have seen this bug in the bug-list but I found no 
answer (have I missed it?) so I post it, any help 
required, any help I can give to you, just tell me what.

I have compiled apache 1.3.20 and works fine.
 (installed on /usr/local/apache-1.3.20/)
Then I have compiled php4.0.6 with the following settings:
./configure \
--prefix=/usr/local/php-4.0.6 \
--with-mysql \
--with-apxs=/usr/local/apache-1.3.20/bin/apxs

compiler:
  gcc version 2.95.2 19991024 (release)

I have checked all the settings, httpd.conf (LoadModule, 
etc) and they seems ok.
I have exported the variable 
PHPRC=/usr/local/apache-1.3.20/conf and placed there the 
php.ini file.

Now, when I try to start the httpd binary it chrashes and 
generates a core file.

Taking ideas from other bug reports I ran the command:

/usr/local/apache-1.3.20/bin > dbx httpd core          
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in php_if_apache_lookup_uri at 
0xd13cb7f4
0xd13cb7f4 (php_if_apache_lookup_uri+0x554) 800c0000       
 lwz   r0,0x0(r12)

And that is it, what can I do? Any ideas?? Is there any 
other report/log/anything where I can get more information 
so I can send it to you??


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-06 20:51 UTC] silva at athenea dot ort dot edu dot uy
I downloaded the latest php release y could get:
	php4-200111061500

I also added the following strings to archive_cmds and archive_expsym_cmds in the libtool file (as somenone suggested in the php-install list:
   \${wl}-bI:/path/to/libexec/httpd.exp

But it doesn't work, I can't compile and the last 2 compilation messages follows:

Making all in .
        /bin/sh /home/soft/erni/php/libtool --silent --mode=compile gcc  -I. -I/home/soft/erni/php/ -I/home/soft/erni/php/main -I/home/soft/erni/php -I/usr/local/apache-1.3.20/include -I/home/soft/erni/php/Zend -I/home/soft/erni/php/ext/mysql/libmysql -I/home/soft/erni/php/ext/xml/expat  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/home/soft/erni/php/TSRM -O2 -prefer-pic  -c stub.c
        /bin/sh /home/soft/erni/php/libtool --silent --mode=link gcc  -I. -I/home/soft/erni/php/ -I/home/soft/erni/php/main -I/home/soft/erni/php -I/usr/local/apache-1.3.20/include -I/home/soft/erni/php/Zend -I/home/soft/erni/php/ext/mysql/libmysql -I/home/soft/erni/php/ext/xml/expat  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/home/soft/erni/php/TSRM -O2 -prefer-pic   -o libphp4.la -rpath /home/soft/erni/php/libs -avoid-version   stub.lo  Zend/libZend.la  sapi/apache/libsapi.la  main/libmain.la  regex/libregex.la  ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la  TSRM/libtsrm.la -ldl -lcrypt -lbind -lm -ldl -lcrypt
ar: No such file or directory
ar: 0707-117 The fopen system call failed on file -Wl,-bI:/usr/local/apache-1.3.20/libexec/httpd.exp.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
*****************************************************
It seems like the apache binary is not exporting the "fopen" symbol. The most similar one in the httpd.exp file is "ap_pfopen".

I hope this helps. Regards Ernesto Silva.
 [2002-08-02 11:52 UTC] kalowsky@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2002-08-02 14:07 UTC] silva at athenea dot ort dot edu dot uy
Sorry if I left the bug "open", but It is "solved" now. I've 
installed SuSE 7.3 PPC and worked fine. Later, due to 
bug-reports from apache site I downloaded the last one, 
compiled it with the last php, etc. etc. and It is working very 
well. 
 
Thankyou for your time. 
 
Regards 
Ernesto Silva
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC