You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our internal CI/CD started failing out of the blue with Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '512' frames
Hey @mxts I had some issues using your repo to reproduce this. Had to recreate storage directory and create .env manually to fix it, but up & running now. I tracked it down to this PR #49912. Still investigating
Laravel Version
10.43.0
PHP Version
8.1.27
Database Driver & Version
MySQL version: 8.0.35
Description
Our internal CI/CD started failing out of the blue with
Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '512' frames
After some work, we managed to reproduce at https://github.com/mxts/laravel-issue, if using
10.43.0
, the test will fail, while test will pass if using10.42.0
The issue comes from the internals and we still have not narrowed down the code, but when our entire scope here https://github.com/mxts/laravel-issue/blob/b6d93fd817c6e0ed9d88c20e157137a1a7af09f9/app/Models/WithTx.php#L9-L15 is commented out, the problem goes away
Not quite sure why our scope leads Laravel to nest infinitely
Steps To Reproduce
.env.testing
with DB credentialscomposer update
to get10.43.0
and watchphp artisan test
failcomposer.json
to use10.42.0
composer update
to get10.42.0
and watchphp artisan test
passThe text was updated successfully, but these errors were encountered: