Bug #81674 [Opn->Fbk]: Segmentation fault when running composer
Edit report at https://bugs.php.net/bug.php?id=81674&edit=1
ID: 81674
Updated by: requinix@php.net
Reported by: patrick at heppler dot net
Summary: Segmentation fault when running composer
-Status: Open
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: Red Hat 8.5
PHP Version: 8.1.0
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2021-11-30 08:03:00] patrick at heppler dot net
Description:
------------
Running composer fails with "Segmentation fault (core dumped)"
Test script:
---------------
composer create-project laravel/laravel test
Output of composer diagnose:
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: Segmentation fault (core dumped)
Output of composer create-project laravel/laravel test -vvv:
Running 2.1.12 (2021-11-09 16:02:04) with PHP 8.1.0 on Linux / 4.18.0-348.2.1.el8_5.x86_64
Reading ./composer.json (/usr/share/nginx/html/composer.json)
Loading config file ./composer.json (/usr/share/nginx/html/composer.json)
Checked CA file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem: valid
Executing command (/usr/share/nginx/html): git branch -a --no-color --no-abbrev -v
Executing command (/usr/share/nginx/html): git describe --exact-match --tags
Executing command (CWD): git --version
Executing command (/usr/share/nginx/html): git log --pretty="%H" -n1 HEAD
--no-show-signature
Executing command (/usr/share/nginx/html): hg branch
Executing command (/usr/share/nginx/html): fossil branch list
Executing command (/usr/share/nginx/html): fossil tag list
Executing command (/usr/share/nginx/html): svn info --xml
Failed to initialize global composer: Composer could not find the config file:
/root/.config/composer/composer.json
Creating a "laravel/laravel" project at "./test"
Executing command (/usr/share/nginx/html): git branch -a --no-color --no-abbrev -v
Executing command (/usr/share/nginx/html): git describe --exact-match --tags
Executing command (/usr/share/nginx/html): git log --pretty="%H" -n1 HEAD
--no-show-signature
Executing command (/usr/share/nginx/html): hg branch
Executing command (/usr/share/nginx/html): fossil branch list
Executing command (/usr/share/nginx/html): fossil tag list
Executing command (/usr/share/nginx/html): svn info --xml
Failed to initialize global composer: Composer could not find the config file:
/root/.config/composer/composer.json
Downloading https://repo.packagist.org/packages.json
Segmentation fault (core dumped)
Expected result:
----------------
composer creating a new Laravel Project in test
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81674&edit=1
Thread (8 messages)