bblfsh / php-driver

bblfsh driver for PHP
GNU General Public License v3.0
6 stars 9 forks source link

Maximum stack depth exceeded #49

Open ncordon opened 5 years ago

ncordon commented 5 years ago

In the latest bblfsh logs we encountered the following error:

rpc error: code = Internal desc = Error#1, Maximum stack depth exceeded
Files that triggered this error ``` lib/zend/Zend/Validate/Hostname/Jp.php lib/zend/Zend/Validate/Hostname/Biz.php tags/2.6.5/wp-includes/js/tinymce/langs/wp-langs.php docroot/modules/simpletest/tests/upgrade/drupal-6.filled.database.php www/analytics/libs/Zend/Validate/Hostname/Cn.php www/analytics/libs/Zend/Validate/Hostname/Jp.php Websites/webkit.org/blog/wp-includes/js/tinymce/langs/wp-langs.php tags/2.6.3/wp-includes/js/tinymce/langs/wp-langs.php library/Zend/Validator/Hostname/Cn.php engine/Library/Zend/Validate/Hostname/Biz.php lib/zend/Zend/Validate/Hostname/Cn.php tags/2.6.1/wp-includes/js/tinymce/langs/wp-langs.php branches/2.6/wp-includes/js/tinymce/langs/wp-langs.php library/Zend/Validator/Hostname/Biz.php YahooUserInterfaceContrib/pub/System/YahooUserInterfaceContrib/examples/datatable/assets/php/json5000_proxy.php modules/simpletest/tests/upgrade/drupal-6.filled.database.php www/analytics/libs/Zend/Validate/Hostname/Biz.php WebKitSite/blog/wp-includes/js/tinymce/langs/wp-langs.php tags/2.6/wp-includes/js/tinymce/langs/wp-langs.php library/Zend/Validator/Hostname/Jp.php wp-includes/js/tinymce/langs/wp-langs.php ```
dennwc commented 5 years ago

This is interesting. It may be an infinite loop in the native driver where we touch some field that we shouldn't serialize.