Bug #13964 Updated: core dump on AIX 4.3.2

From: Date: Wed, 07 Nov 2001 01:51:05 +0000
Subject: Bug #13964 Updated: core dump on AIX 4.3.2
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69732@lists.php.net to get a copy of this message
ID: 13964
User updated by: silva@athenea.ort.edu.uy
Reported By: silva@athenea.ort.edu.uy
Status: Open
Bug Type: Apache related
Operating System: AIX 4.3.2
PHP Version: 4.0.6
New Comment:

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.

Previous Comments:
------------------------------------------------------------------------

[2001-11-06 18:06:18] silva@athenea.ort.edu.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??



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13964&edit=1



Thread (2 messages)

« previous php.dev (#69732) next »