Bug #81674 [NEW]: Segmentation fault when running composer
| From: | patrick at heppler dot net | Date: | Tue, 30 Nov 2021 08:03:01 +0000 |
| Subject: | Bug #81674 [NEW]: Segmentation fault when running composer | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238052@lists.php.net to get a copy of this message | ||
From: patrick at heppler dot net
Operating system: Red Hat 8.5
PHP version: 8.1.0
Package: *General Issues
Bug Type: Bug
Bug description:Segmentation fault when running composer
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 bug report at https://bugs.php.net/bug.php?id=81674&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81674&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81674&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81674&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81674&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81674&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81674&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81674&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81674&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81674&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81674&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81674&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81674&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81674&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81674&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81674&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81674&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81674&r=mysqlcfg