From:             alex at ai dot usurt dot ru
Operating system: FreeBSD 7.0
PHP version:      5.2.6
PHP Bug Type:     Reproducible crash
Bug description:  php5 crash in CLI mode

Description:
------------
System: 
FreeBSD server 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jun 10 12:41:05 YEKST
2008     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RELAY3  i386

PHP:
# pkg_info |grep php
php5-5.2.6          PHP Scripting Language

# php --version
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 27 2008 15:55:44)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with Suhosin v0.9.24, Copyright (c) 2007, by SektionEins GmbH

Every launch of /usr/local/bin/php lead to php.core in current dir.

Example:

$ cd /tmp/111

$ ls -l /tmp/111
total 0

$ php --version
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 27 2008 15:55:44)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with Suhosin v0.9.24, Copyright (c) 2007, by SektionEins GmbH
Segmentation fault: 11 (core dumped)

$ ls -l /tmp/111
total 2240
-rw-------  1 root  wheel  2277376 22 июл 12:20
php.core

/usr/local/etc/php/extensions.ini:

extension=zlib.so
extension=pcre.so
extension=session.so
extension=mssql.so
extension=mysql.so
extension=pgsql.so
extension=gd.so
extension=iconv.so
extension=ldap.so
extension=imap.so
extension=mbstring.so
extension=suhosin.so



-- 
Edit bug report at http://bugs.php.net/?id=45588&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45588&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45588&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45588&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45588&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45588&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45588&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45588&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45588&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45588&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45588&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45588&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45588&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45588&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45588&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45588&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45588&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45588&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45588&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45588&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45588&r=mysqlcfg

Reply via email to