ID:               32972
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guth at fiifo dot u-psud dot fr
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5.0.4
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2005-05-07 02:55:57] guth at fiifo dot u-psud dot fr

Description:
------------
The following code produce a segfault.

PHP configuration :
-----------------

zend.ze1_compatibility_mode = On



Vincent Guth

Reproduce code:
---------------
<?php
$a = new stdClass;
$a = $a;
?>

Expected result:
----------------
Nothing.

Actual result:
--------------
Segfault!

#0  zend_std_object_get_class (object=0x816cf04) at
/usr/src/php-5.0.4/Zend/zend_object_handlers.c:905
#1  0x4035bfa4 in zend_get_class_entry (zobject=Variable "zobject" is
not available.
) at /usr/src/php-5.0.4/Zend/zend_API.c:205
#2  0x4038e303 in zend_assign_to_variable (result=0x81712b4,
op1=Variable "op1" is not available.
) at /usr/src/php-5.0.4/Zend/zend_execute.c:594
#3  0x403837da in zend_assign_handler (execute_data=0xbfffce90,
opline=Variable "opline" is not available.
) at /usr/src/php-5.0.4/Zend/zend_execute.c:2246
#4  0x4037d0cc in execute (op_array=0x816cca4) at
/usr/src/php-5.0.4/Zend/zend_execute.c:1400
#5  0x4035b859 in zend_execute_scripts (type=8, retval=Variable
"retval" is not available.
) at /usr/src/php-5.0.4/Zend/zend.c:1069
#6  0x40323741 in php_execute_script (primary_file=0xbffff1e0) at
/usr/src/php-5.0.4/main/main.c:1628
#7  0x40390980 in apache_php_module_main (r=0x81623bc,
display_source_mode=0)
    at /usr/src/php-5.0.4/sapi/apache/sapi_apache.c:54
#8  0x4039144d in send_php (r=0x81623bc, display_source_mode=0,
filename=0x0)
    at /usr/src/php-5.0.4/sapi/apache/mod_php5.c:622
#9  0x403915f3 in send_parsed_php (r=0x81623bc) at
/usr/src/php-5.0.4/sapi/apache/mod_php5.c:637
#10 0x08071e77 in ap_invoke_handler ()
#11 0x08086ebd in process_request_internal ()
#12 0x08086f1c in ap_process_request ()
#13 0x0807df40 in child_main ()
#14 0x0807e0e8 in make_child ()
#15 0x0807e24e in startup_children ()
#16 0x0807e90e in standalone_main ()
#17 0x0807f12c in main ()


------------------------------------------------------------------------


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

Reply via email to