php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14146 Compiles fine, but PHP binary and module just exit
Submitted: 2001-11-20 07:09 UTC Modified: 2002-02-04 03:41 UTC
From: ivo at sara dot nl Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.0 OS: AIX
Private report: No CVE-ID: None
 [2001-11-20 07:09 UTC] ivo at sara dot nl
Compiling PHP 4.0.6 under AIX with
./configure --prefix=/san/stst/ststivo --enable-cgi

Will result in a clean build, but the binary when started,
will exit immediately, offering NO info on what happened.

The same happens with building as Apache (1.3.22) module, but the 
httpd binary will exit immediately, without error msg or
log msg.

uname -a:
AIX kameel 2 4 0042F55A4C00


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-20 07:11 UTC] derick@php.net
If AIX includes this feature, can you do something similar to 'strace php' in Linux?

Derick
 [2001-11-20 07:12 UTC] ivo at sara dot nl
Oh, output of gdb php:

GNU gdb 4.17
Copyright 1998 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 "rs6000-ibm-aix4.2.1.0"...
(gdb) run
Starting program: /san/stst/ststivo/bin/php 

Program exited with code 06.

 [2001-11-20 07:21 UTC] ivo at sara dot nl
strace is available, but I haven't got much experience with it. Perhaps it works differently under Linux, but 'strace php' is not the way on AIX.

Purpose
Prints STREAMS trace messages.

Syntax
strace [ mid sid level ] ...

 [2001-11-20 10:08 UTC] ivo at sara dot nl
Additional note: PHP 3.0.18 does not have this problem, but all the older 4.x versions available on php.net (4.0.5, 4.0.4pl1) behave exactly the same as 4.0.6 after compilation.
 [2001-11-21 12:30 UTC] sniper@php.net
What does 'bt full' output? (in GDB)

 [2001-11-21 12:30 UTC] sniper@php.net
And you should also try the PHP 4.1.0RC3 from:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz
 [2001-11-22 04:23 UTC] ivo at sara dot nl
The times I used gdb can be counted on one hand (never was involved in a *huge* programming project, so the need for extensive debugging has always been minimal), but here you go:
(this is the same result I get with PHP4.1.0RC3 unfortunately)

(gdb) run
Starting program: /san/stst/ststivo/php/bin/php 

Program exited with code 06.
(gdb) bt full
No stack.

 [2002-02-04 02:23 UTC] yohgaki@php.net
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php

If you are still 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC