From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 5CVS-2005-10-28 (CVS) PHP Bug Type: Reproducible crash Bug description: CLS segfaults with non-existing parameter
Description: ------------ C:\home\php>php -non-existing-param 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 interactively -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 Actual result: -------------- php5ts_debug.dll!php_message_handler_for_zend(long message=4, void * data=0x00a410d8) Line 916 + 0xf C php5ts_debug.dll!zend_message_dispatcher(long message=4, void * data=0x00a410d8) Line 866 + 0x10 C php5ts_debug.dll!shutdown_memory_manager(int silent=0, int full_shutdown=1, void * * * tsrm_ls=0x00a32d78) Line 561 + 0xb C php5ts_debug.dll!alloc_globals_dtor(_zend_alloc_globals * alloc_globals_p=0x00a35e98, void * * * tsrm_ls=0x00a32d78) Line 509 + 0xd C php5ts_debug.dll!tsrm_shutdown() Line 180 + 0x21 C php.exe!main(int argc=2, char * * argv=0x00a32cf8) Line 1155 + 0x8 C php.exe!mainCRTStartup() Line 398 + 0x11 C kernel32.dll!7c816d4f() kernel32.dll!7c8399f3() -- Edit bug report at http://bugs.php.net/?id=35007&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35007&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35007&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35007&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35007&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35007&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35007&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35007&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35007&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35007&r=support Expected behavior: http://bugs.php.net/fix.php?id=35007&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35007&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35007&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35007&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35007&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35007&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35007&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35007&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35007&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35007&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35007&r=mysqlcfg