Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child process error (exit code 139): Segmentation fault (core dumped) since phpstan 1.17.15 #7500

Closed
VincentLanglet opened this issue Jun 20, 2022 · 2 comments · Fixed by phpstan/phpstan-src#1450

Comments

@VincentLanglet
Copy link
Contributor

Bug report

Hi @ondrejmirtes, I have an exit code 139 since the last version.

I tried to debug and

  • I don't have the issue with the commit 787fc44
  • I have the issue with the commit 958a525

This would mean that the issue is directly related to the commit phpstan/phpstan-src@85ab8cf

Code snippet that reproduces the problem

I succeed to reproduce something with
https://phpstan.org/r/045f28d0-facb-4537-8e7b-4338d354f611

But you need to remove the line /** @phpstan-var T $tgItemToKeep */.

Expected output

No errors

@ondrejmirtes
Copy link
Member

/cc @rvanvelzen This is very traditional type of error in PHPStan, endless recursion of types asking each other about accepts() 😊

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants