#30346 [NoF->Csd]: arrayAcces & using $this
| From: | profic at kursknet dot ru | Date: | Sun, 04 Dec 2005 12:35:34 +0000 |
| Subject: | #30346 [NoF->Csd]: arrayAcces & using $this | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89710@lists.php.net to get a copy of this message | ||
ID: 30346
User updated by: profic at kursknet dot ru
Reported By: profic at kursknet dot ru
-Status: No Feedback
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 5CVS-2005-03-13
Assigned To: helly
New Comment:
Just found it.
As Tony mentions ealier not reproducible anymore.
So I close it.
Previous Comments:
------------------------------------------------------------------------
[2005-05-22 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-05-14 12:26:03] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Not reproducible anymore.
------------------------------------------------------------------------
[2005-03-13 19:22:07] helly@php.net
There is still a problem with uninitialized temp and cv vars. This is
related to http://bugs.php.net/32252
------------------------------------------------------------------------
[2004-11-28 13:31:48] tony2001@php.net
Well, no, not exactly. HEAD segfaults for me with this code:
Starting program: /home/dev/php-src/sapi/cli/php -f /www/index.php
ZZZZZZZZZ
Warning: String is not zero-terminated (ZZZZZZZZZZ└ë▐*)
(source: /home/dev/php-src/Zend/zend_variables.h:35) in /www/index.php
on line 12
[Sun Nov 28 15:28:18 2004] Script: '/www/index.php'
---------------------------------------
/home/dev/php-src/Zend/zend_vm_execute.h(6619) : Block 0xBFFFB4D8
status:
/home/dev/php-src/Zend/zend_execute.h(64) : Actual location (location
was relayed)
Beginning: Overrun (magic=0x00666669, expected=0x7312F8DC)
Program received signal SIGSEGV, Segmentation fault.
0x4207c5ac in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4207c5ac in memcpy () from /lib/tls/libc.so.6
#1 0x081bb0af in _mem_block_check (ptr=0xbfffb4fc, silent=0,
__zend_filename=0x8291260 "/home/dev/php-src/Zend/zend_vm_execute.h",
__zend_lineno=6619,
__zend_orig_filename=0x828c000
"/home/dev/php-src/Zend/zend_execute.h", __zend_orig_lineno=64) at
/home/dev/php-src/Zend/zend_alloc.c:737
#2 0x081bb07b in _mem_block_check (ptr=0xbfffb4fc, silent=1,
__zend_filename=0x8291260 "/home/dev/php-src/Zend/zend_vm_execute.h",
__zend_lineno=6619,
__zend_orig_filename=0x828c000
"/home/dev/php-src/Zend/zend_execute.h", __zend_orig_lineno=64) at
/home/dev/php-src/Zend/zend_alloc.c:729
#3 0x081ba0de in _efree (ptr=0xbfffb4fc, __zend_filename=0x8291260
"/home/dev/php-src/Zend/zend_vm_execute.h", __zend_lineno=6619,
__zend_orig_filename=0x828c000
"/home/dev/php-src/Zend/zend_execute.h", __zend_orig_lineno=64) at
/home/dev/php-src/Zend/zend_alloc.c:287
#4 0x081ca5ca in safe_free_zval_ptr_rel (p=0xbfffb4fc,
__zend_filename=0x8291260 "/home/dev/php-src/Zend/zend_vm_execute.h",
__zend_lineno=6619,
__zend_orig_filename=0x828bb20
"/home/dev/php-src/Zend/zend_execute_API.c", __zend_orig_lineno=392) at
zend_execute.h:64
#5 0x081c77ac in _zval_ptr_dtor (zval_ptr=0xbfffb428,
__zend_filename=0x8291260 "/home/dev/php-src/Zend/zend_vm_execute.h",
__zend_lineno=6619)
at /home/dev/php-src/Zend/zend_execute_API.c:392
#6 0x0820d6c1 in ZEND_ECHO_SPEC_VAR_HANDLER (execute_data=0xbfffb810)
at zend_vm_execute.h:6619
#7 0x081fc5ad in execute (op_array=0x834bca4) at zend_vm_execute.h:58
#8 0x081d59fa in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /home/dev/php-src/Zend/zend.c:1053
#9 0x0818d3ca in php_execute_script (primary_file=0xbfffdc20) at
/home/dev/php-src/main/main.c:1635
#10 0x0824fc2f in main (argc=3, argv=0xbfffdcb4) at
/home/dev/php-src/sapi/cli/php_cli.c:943
In the same time, 5_0 works fine, printing "page_show".
------------------------------------------------------------------------
[2004-10-26 20:27:57] helly@php.net
Thanks for the script.
The issue is fixed in 5.1 - i'll give 5.0 a try.
------------------------------------------------------------------------
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/30346
--
Edit this bug report at http://bugs.php.net/?id=30346&edit=1