Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

andrewclark's avatar

PHP Unit Error: SIGSEGV

I've ran into an issue with Laravel's Integrated Test suite and wondered if anyone had came across it before and could help with a solution - up until about an hour ago it was working fine but PHP Unit has decided to hang for 2.77 minutes and eventually return an error.

The only changes I've made were the addition of several new factories, which are likely the cause and I'm undoing those changes at the minute to see if that's the solution. However, I am going to need to readd these factories so removing them is a temporary fix at best.

The specific error is as below:

[11:25:05] { [Error: Command failed: /bin/sh -c ./vendor/bin/phpunit --colors --debug
]
  killed: false,
  code: null,
  signal: 'SIGSEGV',
  cmd: '/bin/sh -c ./vendor/bin/phpunit --colors --debug' }

Has anyone else came across this issue and know of a way to avoid it? Any hep will be much appreciated.

0 likes
0 replies

Please or to participate in this conversation.