#16068 [Opn->Csd]: array_shft() core dump. problem similart to #16063

From: Date: Thu, 08 Aug 2002 14:53:15 +0000
Subject: #16068 [Opn->Csd]: array_shft() core dump. problem similart to #16063
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16289@lists.php.net to get a copy of this message
ID: 16068 Updated by: kalowsky@php.net Reported By: ahristov@icygen.com -Status: Open +Status: Closed Bug Type: Arrays related Operating System: RH 7.3 PHP Version: 4.3.0-dev Assigned To: rodif_bl New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. The fix was fixed. :) Previous Comments: ------------------------------------------------------------------------ [2002-07-31 09:58:57] sniper@php.net But unfortunately the fix for this problem broke the original behaviour of array_shift()... ------------------------------------------------------------------------ [2002-07-30 19:28:25] rodif_bl@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-07-29 09:26:47] nohn@php.net Verified this on Compaq Tru64/Alpha (CLI, 4.3.0-dev) and Solaris 7/Sparc (Apache, 4.2.0) ------------------------------------------------------------------------ [2002-07-03 21:44:17] eru@php.net Confirmed. #0 0x404a598f in memcpy () from /lib/libc.so.6 #1 0x081c3122 in _mem_block_check (ptr=0x8261dac, silent=0, __zend_filename=0x8213360 "/usr/local/src/php4/ext/standard/array.c", __zend_lineno=1692, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/local/src/php4/Zend/zend_alloc.c:623 #2 0x081c30e5 in _mem_block_check (ptr=0x8261dac, silent=1, __zend_filename=0x8213360 "/usr/local/src/php4/ext/standard/array.c", __zend_lineno=1692, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/local/src/php4/Zend/zend_alloc.c:615 #3 0x081c23cc in _efree (ptr=0x8261dac, __zend_filename=0x8213360 "/usr/local/src/php4/ext/standard/array.c", __zend_lineno=1692, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/local/src/php4/Zend/zend_alloc.c:213 #4 0x08118a9f in _phpi_pop (ht=1, return_value=0x82ab6fc, this_ptr=0x0, return_value_used=0, off_the_end=0) at /usr/local/src/php4/ext/standard/array.c:1692 #5 0x08118af4 in zif_array_shift (ht=1, return_value=0x82ab6fc, this_ptr=0x0, return_value_used=0) at /usr/local/src/php4/ext/standard/array.c:1711 #6 0x081e77c9 in execute (op_array=0x82ac25c) at /usr/local/src/php4/Zend/zend_execute.c:1587 #7 0x081d6000 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php4/Zend/zend.c:810 #8 0x081a2e06 in php_execute_script (primary_file=0xbffffa80) at /usr/local/src/php4/main/main.c:1388 #9 0x081ed87e in main (argc=2, argv=0xbffffb24) at /usr/local/src/php4/sapi/cli/php_cli.c:674 #10 0x404411c4 in __libc_start_main () from /lib/libc.so.6 ------------------------------------------------------------------------ [2002-03-19 04:31:35] ahristov@icygen.com Changing from Feedback to Open ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16068 -- Edit this bug report at http://bugs.php.net/?id=16068&edit=1

« previous php.bugs (#16289) next »