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|
|Platform||64 bit||OS||windows||OS Version||7|
|Summary||0000716: crash with no report when nesting function is very high|
|Description||I am using `simple HTML DOM parser` library which uses heavy recursive calls.|
in the beginning I had the error `PHP Fatal error: Maximum function nesting level of '100' reached` so I had raised the xdebug.max_nesting_level to 1000 and than to 2000 and even to 5000.
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.
and more day to disable Xdebug.
|Steps To Reproduce||just try to use recursive call more than 5000....|
you should get the crash.
if you still fail to do reproduce:
you may use `simple HTML DOM parser` to crawl and parse www.oemtechnology.com.
first of all you will get `PHP Fatal error: Maximum function nesting..` and when you'll raise the max_nesting_level to 5000 the script will crash with no error
|Additional Information||I am using wamp|
|Tags||No tags attached.|
|Operating System||windows 7|
||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.|
|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)|