PHP 4.0 Bug #3365: crash when reading associative array values
| From: | danny dot heijl at cevi dot be | Date: | Mon, 31 Jan 2000 19:31:49 +0000 |
| Subject: | PHP 4.0 Bug #3365: crash when reading associative array values | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15085@lists.php.net to get a copy of this message | ||
From: danny.heijl@cevi.be
Operating system: RH Linux 6.0
PHP version: 4.0 Latest CVS (31/01/2000)
PHP Bug Type: Reproduceable crash
Bug description: crash when reading associative array values
A script that worked until recently now crashes when echoing column values returned in an
associative array by the database :
.......snip ......
<table width="60%"
border="1"><tr><th>Order</th><th>Cust</th><th>Ship-date</th></tr>
Program received signal SIGSEGV, Segmentation fault.
0x80e22b7 in zend_fetch_dimension_address (result=0x8274050, op1=0x8274060, op2=0x8274070,
Ts=0xbfffdda0, type=0) at ../../php4/Zend/zend_execute.c:663
663 container = *container_ptr;
(gdb) bt
#0 0x80e22b7 in zend_fetch_dimension_address (result=0x8274050, op1=0x8274060, op2=0x8274070,
Ts=0xbfffdda0, type=0) at ../../php4/Zend/zend_execute.c:663
#1 0x80ddefe in execute (op_array=0x823da1c) at ../../php4/Zend/zend_execute.c:1224
#2 0x8089833 in php_execute_script (primary_file=0xbffffa54) at /home/web/php/php4/./main.c:1206
#3 0x806e981 in main (argc=2, argv=0xbffffab4) at /home/web/php/php4/sapi/cgi/cgi_main.c:518
#4 0x400d4cb3 in __libc_start_main (main=0x806e498 <main>, argc=2, argv=0xbffffab4,
init=0x806cf88 <_init>, fini=0x81948ec <_fini>, rtld_fini=0x4000a350
<_dl_fini>,
stack_end=0xbffffaac) at ../sysdeps/generic/libc-start.c:78
(gdb)
Danny
---