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

Psalm hangs when pcntl_fork is disabled #3951

Closed
weirdan opened this issue Aug 6, 2020 · 1 comment · Fixed by #4039
Closed

Psalm hangs when pcntl_fork is disabled #3951

weirdan opened this issue Aug 6, 2020 · 1 comment · Fixed by #4039
Labels

Comments

@weirdan
Copy link
Collaborator

weirdan commented Aug 6, 2020

When pcntl_fork() is listed in disable_functions php.ini directive, Psalm hangs indefinitely (unless it's run with --threads=1). pcntl_fork() call returns null in this case.

Low priority, as this setup is not very common.

@psalm-github-bot
Copy link

Hey @weirdan, can you reproduce the issue on https://psalm.dev ?

@weirdan weirdan added the bug label Aug 6, 2020
weirdan added a commit to weirdan/psalm that referenced this issue Aug 22, 2020
muglug pushed a commit that referenced this issue Aug 22, 2020
* Don't hang when pcntl_fork is disabled

Fixes #3951

* fix CS
danog pushed a commit to danog/psalm that referenced this issue Jan 29, 2021
* Don't hang when pcntl_fork is disabled

Fixes vimeo#3951

* fix CS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant