Re: Yet another crash - argc/argv
| From: | Andi Gutmans | Date: | Sat, 29 Jan 2000 20:53:45 +0000 |
| Subject: | Re: Yet another crash - argc/argv | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15036@lists.php.net to get a copy of this message | ||
Please report bugs via the bug report system and not directly to php-dev. In this way it is easier to keep track of them.
Thanks,
Andi
At 02:38 PM 1/29/00 +0200, Stanislav Malyshev wrote:
Script: #!/usr/bin/php <? printf("argc: %d\nargv1-2:%s-%s\n",$argc,$argv[0],$argv[1]); ?> run without arguments, produces: Program received signal SIGFPE, Arithmetic exception. 0x8089317 in zend_hash_index_find (ht=0x812b2b0, h=0, pData=0xbffff570)--- Andi Gutmans <andi@zend.com> http://www.zend.com/at zend_hash.c:907 907 nIndex = h % ht->nTableSize;#0 0x8089317 in zend_hash_index_find (ht=0x812b2b0, h=0, pData=0xbffff570)at zend_hash.c:907#1 0x80c40c6 in zend_fetch_dimension_address_inner (ht=0x812b2b0,op2=0x812b73c, Ts=0xbffff5f8, type=0) at ./zend_execute.c:584#2 0x80c20b7 in zend_fetch_dimension_address (result=0x812b71c,op1=0x812b72c, op2=0x812b73c, Ts=0xbffff5f8, type=0) at ./zend_execute.c:706#3 0x80bd7be in execute (op_array=0x812b598) at ./zend_execute.c:1224 #4 0x80762ec in php_execute_script (primary_file=0xbffff7c4) at main.c:1205 #5 0x805a021 in main (argc=2, argv=0xbffff824) at cgi_main.c:518 -- Stanislav Malyshev stas@zend.com +972-3-6139665 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net