Public bug reported: When xdebug is installed I get the following stacktrace (which is the correct behavior):
PHP Fatal error: Maximum function nesting level of '256' reached, aborting! in /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/BaseDataObject.php on line 8 PHP Stack trace: PHP 1. {main}() /home/michael/projects/lifestyle-crm/batch/invoices.php:0 PHP 2. Lifestyle\DataObject\Invoice->process() /home/michael/projects/lifestyle-crm/batch/invoices.php:65 PHP 3. Lifestyle\DataObject\Invoice->send() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/Invoice.php:200 PHP 4. Lifestyle\DataObject\Invoice->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/Invoice.php:408 PHP 5. Lifestyle\DataObject\BaseDataObject->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/Invoice.php:500 PHP 6. Lifestyle\DataObject\Contract->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/BaseDataObject.php:17 PHP 7. Lifestyle\DataObject\BaseDataObject->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/Contract.php:664 PHP 8. Lifestyle\DataObject\Ad->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/BaseDataObject.php:22 PHP 9. Lifestyle\DataObject\BaseDataObject->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/Ad.php:333 PHP 10. Lifestyle\DataObject\Contract->jsonSerialize() /home/michael/projects/lifestyle-crm/src/Lifestyle/DataObject/BaseDataObject.php:17 ...... However the same script without xdebug gives me the attached segfault ** Affects: php7.0 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1630628 Title: segfault in date_object_new_date_ex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1630628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs