#32852 [Com]: Crash with singleton and __destruct when zend.ze1_compatibility_mode = On

2010-02-17 Thread alzamoravelasquez at yahoo dot com
 ID:   32852
 Comment by:   alzamoravelasquez at yahoo dot com
 Reported By:  cox at idecnet dot com
 Status:   No Feedback
 Bug Type: Scripting Engine problem
 Operating System: *
 PHP Version:  5CVS-2005-04-29
 Assigned To:  dmitry
 New Comment:

Good Day. You never know till you try to reach them how accessible men
are; but you must approach each man by the right door. Help me! Need
information about: Discovery place. I found only this - a
href=http://www.sismatech.com.ar/Members/Discovery;discovery
channell/a. Discovery, what a unlisted door from nature! Discovery,
columbus only progressed in his prompt agenda, but it may be mentioned
this was the recognizable glimpse of ligurian. Waiting for a reply :o,
Audrey from Portugal.


Previous Comments:


[2005-09-08 08:17:26] anteater_75 at hotmail dot com

deneme



[2005-07-11 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-07-03 12:44:20] dmi...@php.net

I assume this is xdebug bug. I don't see any problems without it.



[2005-07-01 11:42:49] sni...@php.net

Now I get this crash with Zend/tests/bug32852.phpt:

(gdb) bt
#0  add_stack_frame (zdata=0xbfff8440, op_array=0x99d121c, type=1) at
/usr/src/xdebug-cvs/xdebug.c:885
#1  0x00f805bd in xdebug_execute (op_array=0x99d121c) at
/usr/src/xdebug-cvs/xdebug.c:1123
#2  0x0818a75a in zend_call_function (fci=0xbfff8540,
fci_cache=0xbfff8500) at /usr/src/php5/Zend/zend_execute_API.c:855
#3  0x081a6c40 in zend_call_method (object_pp=0xbfff85ec,
obj_ce=0x99d0874, fn_proxy=0x99d094c, function_name=0x825a5bb
__destruct, function_name_len=10, 
retval_ptr_ptr=0x0, param_count=0, arg1=0x0, arg2=0x0) at
/usr/src/php5/Zend/zend_interfaces.c:87
#4  0x081abc4f in zend_objects_destroy_object (object=0x99d004c,
handle=1) at /usr/src/php5/Zend/zend_objects.c:78
#5  0x081ae6d8 in zend_objects_store_del_ref (zobject=0x99d000c) at
/usr/src/php5/Zend/zend_objects_API.c:155
#6  0x08193dd8 in _zval_dtor_func (zvalue=0x99d000c,
__zend_filename=0x8257204 /usr/src/php5/Zend/zend_variables.h,
__zend_lineno=35)
at /usr/src/php5/Zend/zend_variables.c:52
#7  0x08188d11 in _zval_dtor (zvalue=0x99d000c,
__zend_filename=0x82571b0 /usr/src/php5/Zend/zend_execute_API.c,
__zend_lineno=386) at zend_variables.h:35
#8  0x08188ec4 in _zval_ptr_dtor (zval_ptr=0xbfff875c,
__zend_filename=0x825bf80 /usr/src/php5/Zend/zend_vm_execute.h,
__zend_lineno=222)
at /usr/src/php5/Zend/zend_execute_API.c:386
#9  0x081bbbe2 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbfff8780) at zend_vm_execute.h:222
#10 0x081bc223 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbfff8780) at zend_vm_execute.h:299
#11 0x081bb69b in execute (op_array=0x99cb15c) at zend_vm_execute.h:87
#12 0x00f8072c in xdebug_execute (op_array=0x99cb15c) at
/usr/src/xdebug-cvs/xdebug.c:1158
#13 0x08195c59 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /usr/src/php5/Zend/zend.c:1087
#14 0x0815512b in php_execute_script (primary_file=0xbfffac10) at
/usr/src/php5/main/main.c:1671
#15 0x08200287 in main (argc=4, argv=0xbffface4) at
/usr/src/php5/sapi/cli/php_cli.c:1039




[2005-04-29 09:05:00] dmi...@php.net

Fixed in CVS HEAD and PHP_5_0.



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/32852

-- 
Edit this bug report at http://bugs.php.net/?id=32852edit=1



#32852 [Com]: Crash with singleton and __destruct when zend.ze1_compatibility_mode = On

2005-09-08 Thread anteater_75 at hotmail dot com
 ID:   32852
 Comment by:   anteater_75 at hotmail dot com
 Reported By:  cox at idecnet dot com
 Status:   No Feedback
 Bug Type: Scripting Engine problem
 Operating System: *
 PHP Version:  5CVS-2005-04-29
 Assigned To:  dmitry
 New Comment:

deneme


Previous Comments:


[2005-07-11 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-07-03 12:44:20] [EMAIL PROTECTED]

I assume this is xdebug bug. I don't see any problems without it.



[2005-07-01 11:42:49] [EMAIL PROTECTED]

Now I get this crash with Zend/tests/bug32852.phpt:

(gdb) bt
#0  add_stack_frame (zdata=0xbfff8440, op_array=0x99d121c, type=1) at
/usr/src/xdebug-cvs/xdebug.c:885
#1  0x00f805bd in xdebug_execute (op_array=0x99d121c) at
/usr/src/xdebug-cvs/xdebug.c:1123
#2  0x0818a75a in zend_call_function (fci=0xbfff8540,
fci_cache=0xbfff8500) at /usr/src/php5/Zend/zend_execute_API.c:855
#3  0x081a6c40 in zend_call_method (object_pp=0xbfff85ec,
obj_ce=0x99d0874, fn_proxy=0x99d094c, function_name=0x825a5bb
__destruct, function_name_len=10, 
retval_ptr_ptr=0x0, param_count=0, arg1=0x0, arg2=0x0) at
/usr/src/php5/Zend/zend_interfaces.c:87
#4  0x081abc4f in zend_objects_destroy_object (object=0x99d004c,
handle=1) at /usr/src/php5/Zend/zend_objects.c:78
#5  0x081ae6d8 in zend_objects_store_del_ref (zobject=0x99d000c) at
/usr/src/php5/Zend/zend_objects_API.c:155
#6  0x08193dd8 in _zval_dtor_func (zvalue=0x99d000c,
__zend_filename=0x8257204 /usr/src/php5/Zend/zend_variables.h,
__zend_lineno=35)
at /usr/src/php5/Zend/zend_variables.c:52
#7  0x08188d11 in _zval_dtor (zvalue=0x99d000c,
__zend_filename=0x82571b0 /usr/src/php5/Zend/zend_execute_API.c,
__zend_lineno=386) at zend_variables.h:35
#8  0x08188ec4 in _zval_ptr_dtor (zval_ptr=0xbfff875c,
__zend_filename=0x825bf80 /usr/src/php5/Zend/zend_vm_execute.h,
__zend_lineno=222)
at /usr/src/php5/Zend/zend_execute_API.c:386
#9  0x081bbbe2 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbfff8780) at zend_vm_execute.h:222
#10 0x081bc223 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbfff8780) at zend_vm_execute.h:299
#11 0x081bb69b in execute (op_array=0x99cb15c) at zend_vm_execute.h:87
#12 0x00f8072c in xdebug_execute (op_array=0x99cb15c) at
/usr/src/xdebug-cvs/xdebug.c:1158
#13 0x08195c59 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /usr/src/php5/Zend/zend.c:1087
#14 0x0815512b in php_execute_script (primary_file=0xbfffac10) at
/usr/src/php5/main/main.c:1671
#15 0x08200287 in main (argc=4, argv=0xbffface4) at
/usr/src/php5/sapi/cli/php_cli.c:1039




[2005-04-29 09:05:00] [EMAIL PROTECTED]

Fixed in CVS HEAD and PHP_5_0.



[2005-04-29 03:29:29] [EMAIL PROTECTED]

Dmitry, if you have time, can you look into these reports with problems
with zend.ze1_compatibility_mode?

Some of them happen with only PHP_5_0 and some with both it and HEAD.
Here's list (this bug excluded):

bug #30332
bug #31828
bug #32080





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/32852

-- 
Edit this bug report at http://bugs.php.net/?id=32852edit=1