Date: 01/29/00
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Previous message: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
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 <email protected> +972-3-6139665-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Previous message: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Yet another crash - argc/argv"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

