From:             ramesh25 at gmail dot com
Operating system: NSK-TANDEM
PHP version:      5.1.2
PHP Bug Type:     Reproducible crash
Bug description:  PHP crashes when exiting

Description:
------------
PHP crashes when it exits

Reproduce code:
---------------
php -h

Expected result:
----------------
display command line options

Actual result:
--------------
#sapi/cli/php -h
Usage: php [options] [-f] <file> [--] [args...]
       php [options] -r <code> [--] [args...]
       php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--]
[args...]
       php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--]
[args...]
       php [options] -- [args...]
       php [options] -a

  -a               Run as interactive shell
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse <file>.
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -r <code>        Run PHP <code> without using script tags <?..?>
  -B <begin_code>  Run PHP <begin_code> before processing input lines
  -R <code>        Run PHP <code> for every input line
  -F <file>        Parse and execute <file> for every input line
  -E <end_code>    Run PHP <end_code> after processing all input lines
  -H               Hide any passed arguments from external tools.
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.

  args...          Arguments passed to script. Use -- args when first
argument
                   starts with - or script is read from stdin

  --rf <name>      Show information about function <name>.
  --rc <name>      Show information about class <name>.
  --re <name>      Show information about extension <name>.

\MRS010.$:1:442:104328200 - *** Run-time Error 034 ***
\MRS010.$:1:442:104328200 - Released space not allocated
\MRS010.$:1:442:104328200 - From zend_hash_del_key_or_index + 0x2E0 (UCr)
\MRS010.$:1:442:104328200 -      php_stream_filter_unregister_factory +
0x58 (UCr)
\MRS010.$:1:442:104328200 -      zm_shutdown_bz2 + 0x50 (UCr)
\MRS010.$:1:442:104328200 -      module_destructor + 0xB8 (UCr)
\MRS010.$:1:442:104328200 -      zend_hash_apply_deleter + 0x88 (UCr)
\MRS010.$:1:442:104328200 -      zend_hash_graceful_reverse_destroy + 0x4C
(UCr)
\MRS010.$:1:442:104328200 -      zend_shutdown + 0x48 (UCr)
\MRS010.$:1:442:104328200 -      php_module_shutdown + 0x74 (UCr)
\MRS010.$:1:442:104328200 -      main + 0x1D88 (UCr)
\MRS010.$:1:442:104328200 -      _MAIN + 0x4C (UCr)
Unknown Signal #31
#





#sapi/cli/php -v
PHP 5.1.2 (cli) (built: Feb  5 2006 08:57:08)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
\MRS010.$:1:441:104328712 - *** Run-time Error 034 ***
\MRS010.$:1:441:104328712 - Released space not allocated
\MRS010.$:1:441:104328712 - From zend_hash_del_key_or_index + 0x2E0 (UCr)
\MRS010.$:1:441:104328712 -      php_stream_filter_unregister_factory +
0x58 (UCr)
\MRS010.$:1:441:104328712 -      zm_shutdown_bz2 + 0x50 (UCr)
\MRS010.$:1:441:104328712 -      module_destructor + 0xB8 (UCr)
\MRS010.$:1:441:104328712 -      zend_hash_apply_deleter + 0x88 (UCr)
\MRS010.$:1:441:104328712 -      zend_hash_graceful_reverse_destroy + 0x4C
(UCr)
\MRS010.$:1:441:104328712 -      zend_shutdown + 0x48 (UCr)
\MRS010.$:1:441:104328712 -      php_module_shutdown + 0x74 (UCr)
\MRS010.$:1:441:104328712 -      main + 0x1D88 (UCr)
\MRS010.$:1:441:104328712 -      _MAIN + 0x4C (UCr)
Unknown Signal #31
#


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

Reply via email to