View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000716 | Xdebug | public | 2011-09-08 02:15 | 2011-09-08 09:01 | |
| Reporter | alonagar | Assigned To | derick | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | not fixable | ||
| Platform | 64 bit | OS | windows | OS Version | 7 |
| Product Version | 2.1.0 | ||||
| Summary | 0000716: crash with no report when nesting function is very high | ||||
| Description | I am using the script worked fine. but when I had tried to crawl large HTML files the script crashed (stopped working) with no explain. it took me a while to realize that the high recursive call make it to crash. | ||||
| Steps To Reproduce | just try to use recursive call more than 5000.... if you still fail to do reproduce: | ||||
| Additional Information | I am using wamp | ||||
| Tags | No tags attached. | ||||
| Operating System | windows 7 | ||||
| PHP Version | 5.3.5 | ||||
|
|
Uhm, I think you fail to understand what the max_function_level setting is for. It's exactly to protect against stack overflow that makes your script crash. Without Xdebug, it will happen a bit later perhaps. But having 5000 recursive function calls is a bad design in your library and if your HMTL files get larger, it will crash again. And this time Xdebug isn't there to tell you your library is crap. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-09-08 02:15 | alonagar | New Issue | |
| 2011-09-08 09:01 | derick | Note Added: 0001799 | |
| 2011-09-08 09:01 | derick | Status | new => resolved |
| 2011-09-08 09:01 | derick | Resolution | open => not fixable |
| 2011-09-08 09:01 | derick | Assigned To | => derick |
| 2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) |
| 2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) |