Bug #1403: core-dump in control_structures_inline.h:1205
| From: | thies at digicol dot de | Date: | Wed, 12 May 1999 07:03:00 +0000 |
| Subject: | Bug #1403: core-dump in control_structures_inline.h:1205 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5546@lists.php.net to get a copy of this message | ||
From: thies@digicol.de
Operating system: solaris 2.6
PHP version: 3.0 Latest CVS (12/05/1999)
PHP Bug Type: Reproduceable crash
Bug description: core-dump in control_structures_inline.h:1205
just found a "lonly" core-dump
gdb says:
#0 pval_destructor (pvalue=0x0) at ../php3/variables.c:76
#1 0xa7c98 in phpparse () at ../php3/control_structures_inline.h:1205
#2 0x67e4c in php3_parse (yyin=0x178e00) at ../php3/main.c:1540
#3 0x68160 in apache_php3_module_main (r=0x1baa78, fd=29, display_source_mode=0, preprocessed=0) at
../php3/main.c:1920
#4 0x65550 in send_php3 ()
#5 0x655ac in send_parsed_php3 ()
#6 0xd0120 in ap_invoke_handler ()
#7 0xe008c in process_request_internal ()
#8 0xe00e4 in ap_process_request ()
#9 0xd9478 in child_main ()
#10 0xd96b0 in make_child ()
#11 0xd99a8 in perform_idle_server_maintenance ()
#12 0xd9e6c in standalone_main ()
#13 0xda4a0 in main ()
looking at the code:
} else if (arr_ptr->type!=IS_ARRAY) {
php3_error(E_WARNING,"Index referencing a non-array");
result->value.varptr.pvalue=NULL;
pval_destructor(expr _INLINE_TLS); // this is the crash line..
return;
}
if (expr) {
switch (expr->type) {
looking at the if (expr) 3 lines later i stringly believe that the pval_descructor(expr ... is not
right! but i don't know enough about this!!
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net