Skip to content

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

@VincentLanglet

Description

@VincentLanglet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions