From:             seth at pricepages dot org
Operating system: Mac 10.4
PHP version:      5CVS-2006-10-23 (snap)
PHP Bug Type:     Reproducible crash
Bug description:  Deep Recusion to Segmentation Fault (Stack Overflow)

Description:
------------
Steps to kill PHP dead:
- Load test page.
- Enter "Seth Price" as your name
- Click the submit button

eAccelerator 0.9.5 is installed, but not enabled. I'm running 
Apache 1.3.33

I'm not sure what would cause this crash, I've run all these 
bits of code already in similar scripts, but for some reason 
this kills PHP.

Reproduce code:
---------------
Script:
http://pricepages.org/temp/test.php.zip

Include File:
http://pricepages.org/temp/SForm.zip

Actual result:
--------------
(gdb) bt
[whole lotta stack]
...
#60434 0x0244af60 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER 
(execute_data=0xbfffdfa8) at /usr/local/php/
php5.2-200610222230/Zend/zend_vm_execute.h:322
#60435 0x02449730 in execute (op_array=0x6d5670) at /usr/
local/php/php5.2-200610222230/Zend/zend_vm_execute.h:92
#60436 0x0244a020 in zend_do_fcall_common_helper_SPEC 
(execute_data=0xbfffe148) at /usr/local/php/
php5.2-200610222230/Zend/zend_vm_execute.h:234
#60437 0x0244af60 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER 
(execute_data=0xbfffe148) at /usr/local/php/
php5.2-200610222230/Zend/zend_vm_execute.h:322
#60438 0x02449730 in execute (op_array=0x6d5f70) at /usr/
local/php/php5.2-200610222230/Zend/zend_vm_execute.h:92
#60439 0x0244a020 in zend_do_fcall_common_helper_SPEC 
(execute_data=0xbfffe2e8) at /usr/local/php/
php5.2-200610222230/Zend/zend_vm_execute.h:234
#60440 0x0244af60 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER 
(execute_data=0xbfffe2e8) at /usr/local/php/
php5.2-200610222230/Zend/zend_vm_execute.h:322
#60441 0x02449730 in execute (op_array=0x2bc970) at /usr/
local/php/php5.2-200610222230/Zend/zend_vm_execute.h:92
#60442 0x024192fc in zend_execute_scripts (type=8, 
retval=0x0, file_count=3) at /usr/local/php/
php5.2-200610222230/Zend/zend.c:1097
#60443 0x023a7c48 in php_execute_script 
(primary_file=0xbfffec70) at /usr/local/php/
php5.2-200610222230/main/main.c:1758
#60444 0x024be590 in apache_php_module_main (r=0x183e038, 
display_source_mode=0) at /usr/local/php/
php5.2-200610222230/sapi/apache/sapi_apache.c:53
#60445 0x024bfb58 in send_php (r=0x183e038, 
display_source_mode=0, filename=0x183fe68 "/Library/
WebServer/Documents/test.php") at /usr/local/php/
php5.2-200610222230/sapi/apache/mod_php5.c:660
#60446 0x024bfbc0 in send_parsed_php (r=0x183e038) at /usr/
local/php/php5.2-200610222230/sapi/apache/mod_php5.c:675
#60447 0x0000dd04 in ap_invoke_handler ()
#60448 0x00017dc0 in process_request_internal ()
#60449 0x00017e40 in ap_process_request ()
#60450 0x00006b4c in child_main ()
#60451 0x00006d04 in make_child ()
#60452 0x00006e68 in startup_children ()
#60453 0x000074d8 in standalone_main ()
#60454 0x00007d60 in main ()
(gdb) q

-- 
Edit bug report at http://bugs.php.net/?id=39230&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39230&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39230&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39230&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39230&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39230&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39230&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39230&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39230&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39230&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39230&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39230&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39230&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39230&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39230&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39230&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39230&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39230&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39230&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39230&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39230&r=mysqlcfg

Reply via email to