php-5.6.5-r0 segmentation fault on 'composer update'
uname -r:
3.14.36-0-grsec
Installed packages:
- php
- php-cli
- php-pdo
- php-curl
- php-json
- php-phar
- php-ctype
- php-openssl
Composer was installed with following command:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/bin --filename=composer
composer.json contents:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.6.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~3.0,>=3.0.12",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"symfony/event-dispatcher": "2.6.4",
"knplabs/knp-gaufrette-bundle": "0.1.7",
"aws/aws-sdk-php": "2.7.17",
"liip/imagine-bundle": "1.2.2",
"willdurand/geocoder-bundle": "3.1.0"
},
"require-dev": {
"sensio/generator-bundle": "~2.3"
}
}
PHP crashes with ‘Segmentation fault’ message when running ‘composer update’.
/var/log/messages:
Mar 26 09:07:47 alpine kern.info kernel: [55867.622102] traps: php[7381] general protection ip:6d7ca413fd52 sp:7bc3afd0ea18 error:0 in ld-musl-x86_64.so.1[6d7ca4123000+86000]
Mar 26 09:07:47 alpine kern.alert kernel: [55867.622119] grsec: Segmentation fault occurred at (nil) in /usr/bin/php[php:7381] uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[ash:1640] uid/euid:0/0 gid/egid:0/0
Mar 26 09:07:47 alpine kern.alert kernel: [55867.622180] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/php[php:7381] uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[ash:1640] uid/euid:0/0 gid/egid:0/0
(from redmine: issue id 4021, created on 2015-03-26, closed on 2019-05-02)