ID: 27876
User updated by: aashley at optimiser dot com
Reported By: aashley at optimiser dot com
Status: Assigned
Bug Type: Zend Engine 2 problem
Operating System: Linux
PHP Version: 5CVS-2004-04-05 (dev)
Assigned To: andi
New Comment:
I havent had much luck creating a simpler example so far. I'll have
another try tomorrow... errr later today.
Previous Comments:
------------------------------------------------------------------------
[2004-04-09 10:11:10] [EMAIL PROTECTED]
Please try and created a shorter reproducing script. I can't debug this
bug report otherwise.
------------------------------------------------------------------------
[2004-04-06 03:05:15] [EMAIL PROTECTED]
Zend Engine 2 related, assinging to Andi.
------------------------------------------------------------------------
[2004-04-05 22:49:05] aashley at optimiser dot com
Description:
------------
When testing our site in PHP5 I can across a repeatable segmentation
fault whenever the HTML_QuickForm_Controller::run() function was
called. The problem was tracked to line 131 of Controller.php in
HTML_QuickForm_Controller 1.0.2. The problem occured in both
PHP-5.0.0-RC1 and the php5-200404041830 snapshot. I have unfortunatly
been unable to create a simpler test case that causes the problem
however it is readily repeatable in HTML_QuickForm_Controller.
Reproduce code:
---------------
Problem Line 131:
list($page, $action) = $this->_actionName = $this->getActionName();
Changing the line to this prevents this problem from occuring.
$this->_actionName = $this->getActionName();
list($page, $action) = $this->_actionName;
Expected result:
----------------
$page and $action are set to the first and second items in the array
respectivly
Actual result:
--------------
segmentation fault.
#0 0x40849f31 in zend_fetch_dim_r_handler (execute_data=0xbfffcdb0,
opline=0x413d5814, op_array=0x413d35e4)
at /root/php5-200404041830/Zend/zend_execute.c:58
#1 0x408485e8 in execute (op_array=0x413d35e4) at
/root/php5-200404041830/Zend/zend_execute.c:1391
#2 0x4084be09 in zend_do_fcall_common_helper (execute_data=0xbfffd330,
opline=0x413d28d0, op_array=0x413b8dbc)
at /root/php5-200404041830/Zend/zend_execute.c:2728
#3 0x4084c113 in zend_do_fcall_by_name_handler
(execute_data=0xbfffcc2c, opline=0x0, op_array=0x0)
at /root/php5-200404041830/Zend/zend_execute.c:2810
#4 0x408485e8 in execute (op_array=0x413b8dbc) at
/root/php5-200404041830/Zend/zend_execute.c:1391
#5 0x40829bff in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /root/php5-200404041830/Zend/zend.c:1057
#6 0x407efc9f in php_execute_script (primary_file=0xbffff5e0) at
/root/php5-200404041830/main/main.c:1630
#7 0x40853954 in php_handler (r=0x82510f8) at
/root/php5-200404041830/sapi/apache2handler/sapi_apache2.c:556
#8 0x080692e1 in ap_invoke_handler ()
#9 0x080664bf in ap_process_request ()
#10 0x08060e27 in _start ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27876&edit=1