| Anonymous | Login | Signup for a new account | 2013-05-20 01:10 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000171 | Xdebug | Usage problems | public | 2006-03-10 12:35 | 2006-03-10 13:10 | |||
| Reporter | Xuefer | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | |||
| Status | closed | Resolution | open | |||||
| Platform | gentoo | OS | linux | OS Version | lastest stable | |||
| Product Version | 2.0.0dev | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000171: set_time_limit stack overflow on 2nd request | |||||||
| Description | sorry, this is another lazy bug report with only a few notes, i promise to attach a clean, patch if the bug system allow me. but the fix is simple, i think. just check xdebug.c, look for set_time_limit. orig->internal_function.handler is already set to zif_xdebug_set_time_limit in the 1st request, and XG(orig_set_time_limit_func) = orig->internal_function.handler can be wrong and PHP_FUNCTION(xdebug_set_time_limit) will call itself until stack overflow suggested fix: override of set_time_limit (and var_dump) in RINIT should be moved to MINIT, with EG changed to CG. | |||||||
| Steps To Reproduce | <?php set_time_limit(10); ?> request the page twice; | |||||||
| Tags | No tags attached. | |||||||
| Operating System | ||||||||
| PHP Version | 4.3.11 | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0000384) derick (administrator) 2006-03-10 13:10 |
Thanks for this report. I fixed this differently be simply restoring the function pointers in RSHUTDOWN. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-03-10 12:35 | Xuefer | New Issue | |
| 2006-03-10 13:10 | derick | Status | new => closed |
| 2006-03-10 13:10 | derick | Note Added: 0000384 | |
| Copyright © 2000 - 2011 MantisBT Group |