From: jr at e-integration dot net
Operating system: Solaris 10 SPARC u6
PHP version: 5.2.9
PHP Bug Type: Reproducible crash
Bug description: 64-bit build make check segmentation fault
Description:
------------
# make
The make completes without error.
# ./sapi/cli/php --version
PHP 5.2.9 (cli) (built: Mar 26 2009 23:43:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
# make test
Build complete.
Don't forget to run 'make test'.
Segmentation Fault - core dumped
make: [test] Error 139 (ignored)
Build environment: Solaris 10 SPARC u6; 64-bit used gcc 4.2.4 and GNU
make 3.81
Expected result:
----------------
make test creates two core files if you have coreadm set like so:
# coreadm
global core file pattern:
global core file content: default
init core file pattern: /var/core/init_core.%n.%z.%u.%f.%p
init core file content: default
global core dumps: disabled
per-process core dumps: enabled
global setid core dumps: disabled
per-process setid core dumps: enabled
global core dump logging: enabled
# ls -lt /var/core/
total 106272
-rw------- 1 root root 27865628 Mar 27 10:38
init_core.halo.global.0.php.7926
-rw------- 1 root root 26489372 Mar 27 10:38
init_core.halo.global.0.php.7924
-rw------- 1 root root 27865628 Mar 27 10:30
init_core.halo.global.0.php.7757
-rw------- 1 root root 26489372 Mar 27 10:30
init_core.halo.global.0.php.7751
--
Edit bug report at http://bugs.php.net/?id=47824&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=47824&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=47824&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=47824&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=47824&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=47824&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=47824&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=47824&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=47824&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=47824&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=47824&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=47824&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=47824&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=47824&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=47824&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47824&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47824&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=47824&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=47824&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=47824&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=47824&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=47824&r=mysqlcfg