Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Segmentation fault (core dumped) #31

@mizan3008

Description

@mizan3008

After installing this package one of my projects, if I run the test it throws the below error:

  Symfony\Component\Process\Exception\ProcessSignaledException 

  The process has been signaled with signal "11".

  at vendor/symfony/process/Process.php:424
    420▕             usleep(1000);
    421▕         }
    422▕ 
    423▕         if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) {
  ➜ 424▕             throw new ProcessSignaledException($this);
    425▕         }
    426▕ 
    427▕         return $this->exitcode;
    428▕     }

  1   vendor/symfony/process/Process.php:234
      Symfony\Component\Process\Process::wait()

  2   vendor/nunomaduro/collision/src/Adapters/Laravel/Commands/TestCommand.php:95
      Symfony\Component\Process\Process::run(Object(Closure))

  3   vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
      NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand::handle()

  4   vendor/laravel/framework/src/Illuminate/Container/Util.php:40
      Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()

  5   vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93
      Illuminate\Container\Util::unwrapIfClosure(Object(Closure))

  6   vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37
      Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Object(Closure))

  7   vendor/laravel/framework/src/Illuminate/Container/Container.php:610
      Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), [])

  8   vendor/laravel/framework/src/Illuminate/Console/Command.php:136
      Illuminate\Container\Container::call()

  9   vendor/symfony/console/Command/Command.php:258
      Illuminate\Console\Command::execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

  10  vendor/laravel/framework/src/Illuminate/Console/Command.php:121
      Symfony\Component\Console\Command\Command::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

  11  vendor/symfony/console/Application.php:920
      Illuminate\Console\Command::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  12  vendor/symfony/console/Application.php:266
      Symfony\Component\Console\Application::doRunCommand(Object(NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  13  vendor/symfony/console/Application.php:142
      Symfony\Component\Console\Application::doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  14  vendor/laravel/framework/src/Illuminate/Console/Application.php:93
      Symfony\Component\Console\Application::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  15  vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:129
      Illuminate\Console\Application::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  16  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  • OS: Linux Mint Linux Mint 20.1
  • Laravel Framework 8.16.1
  • PHP 7.3.27-9+ubuntu18.04.1+deb.sury.org+1
  • PHPUnit 9.4.3
  • Docker version 20.10.5

Hardware configuration

  • RAM: 12GB
  • Processor: i3 (4 @@@CoreJ)
  • Storage: 120GB and 500GB SSD

I tried to change the adapter as well, getting the same error for memory and redis adapter

If I try to run the single test it works, but if I try to run the whole test suit it stuck with the above error [Segmentfault (core dump)]

  • php artisan test --filter authorize_user_can_add_book -> 200
  • php artisan test -> Segmentfault (core dump)

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