php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70358 make install-pear-installer exits with signal 11
Submitted: 2015-08-25 14:00 UTC Modified: 2015-10-16 14:48 UTC
From: rs at bytecamp dot net Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 7.0.0RC1 OS: FreeBSD 8.4-RELEASE-p34
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rs at bytecamp dot net
New email:
PHP Version: OS:

 

 [2015-08-25 14:00 UTC] rs at bytecamp dot net
Description:
------------
When running make install, or specific make install-pear-installer, the process exits with status 11:

------
# su -m nobody -c 'make -dl install-pear-installer'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d "/usr/local/php-7.0/lib/php" -b "/usr/local/php-7.0/bin" -dp a -ds a
[PEAR] Archive_Tar    - already installed: 1.4.0
[PEAR] Console_Getopt - already installed: 1.4.1
[PEAR] Structures_Graph- already installed: 1.1.1
[PEAR] XML_Util       - already installed: 1.3.0
[PEAR] PEAR           - already installed: 1.10.0dev2
Wrote PEAR system config file at: /usr/local/php-7.0/etc/pear.conf
You may want to add: /usr/local/php-7.0/lib/php to your php.ini include_path
*** Signal 11

Stop in /tmp/build-php-7.0.0RC1/php-7.0.0RC1.
-----

I did a ktrace of this, and the last lines are:

-----
 86571 make     GIO   fd 1 wrote 250 bytes
       "/tmp/build-php-7.0.0RC1/php-7.0.0RC1/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d "/usr/local/php-7.0/lib/php" -b \
        "/usr/local/php-7.0/bin" -dp a -ds a
       "
 86571 make     RET   write 250/0xfa
 86571 make     CALL  vfork
 86571 make     RET   vfork 86572/0x1522c
 86571 make     CALL  wait4(0xffffffff,0x7fffffffdc5c,<invalid>0,0)
 86571 make     RET   wait4 RESTART
 86571 make     PSIG  SIGCHLD caught handler=0x404f80 mask=0x0 code=0x2
 86571 make     CALL  sigreturn(0x7fffffffd7c0)
 86571 make     RET   sigreturn JUSTRETURN
 86571 make     CALL  wait4(0xffffffff,0x7fffffffdc5c,<invalid>0,0)
 86571 make     RET   wait4 86572/0x1522c
 86571 make     CALL  write(0x1,0x800862000,0xe)
 86571 make     GIO   fd 1 wrote 14 bytes
       "*** Signal 11
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-25 14:11 UTC] rs at bytecamp dot net
-Package: PHAR related +Package: *General Issues
 [2015-08-25 14:11 UTC] rs at bytecamp dot net
switch from phar-related to general issues
 [2015-08-27 09:39 UTC] rs at bytecamp dot net
-Package: *General Issues +Package: Reproducible crash
 [2015-08-27 09:39 UTC] rs at bytecamp dot net
I did a debug build and now have a better backtrace:

$ su -m nobody -c 'make -dl install-pear-installer'

/tmp/build-php-7.0.0RC1/php-7.0.0RC1/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d "/usr/local/php-7.0/lib/php" -b "/usr/local/php-7.0/bin" -dp a -ds a
[PEAR] Archive_Tar    - already installed: 1.4.0
[PEAR] Console_Getopt - already installed: 1.4.1
[PEAR] Structures_Graph- already installed: 1.1.1
[PEAR] XML_Util       - already installed: 1.3.0
[PEAR] PEAR           - already installed: 1.10.0dev2
Wrote PEAR system config file at: /usr/local/php-7.0/etc/pear.conf
You may want to add: /usr/local/php-7.0/lib/php to your php.ini include_path
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_constants.c(461) :  Freeing 0x802258AC0 (32 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
Last leak repeated 58 times
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_opcode.c(592) :  Freeing 0x80225DC00 (2496 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_string.h(121) :  Freeing 0x802269F00 (120 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_opcode.c(58) :  Freeing 0x80226FA28 (4 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_string.h(121) :  Freeing 0x80227D120 (64 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
Last leak repeated 18 times
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_API.c(1087) :  Freeing 0x80227DDE0 (56 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_opcode.c(588) :  Freeing 0x80227DE40 (56 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_string.h(121) :  Freeing 0x802285820 (48 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_opcode.c(452) :  Freeing 0x8022A1960 (48 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_opcode.c(596) :  Freeing 0x8022D1C00 (480 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_constants.c(461) :  Freeing 0x80241A540 (32 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
Last leak repeated 13 times
[Thu Aug 27 11:37:29 2015]  Script:  '/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar'
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_string.h(121) :  Freeing 0x80242AA50 (48 bytes), script=/tmp/build-php-7.0.0RC1/php-7.0.0RC1/pear/install-pear-nozlib.phar
Last leak repeated 3 times
=== Total 104 memory leaks detected ===
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_hash.c(1465) : ht=0xaf7090 is already destroyed
/tmp/build-php-7.0.0RC1/php-7.0.0RC1/Zend/zend_hash.c(61) : Bailed out without a bailout address!
*** Error code 255
 [2015-10-16 14:48 UTC] rs at bytecamp dot net
-Status: Open +Status: Closed
 [2015-10-16 14:48 UTC] rs at bytecamp dot net
This is not longer the case with PHP-7.0RC5.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 18 18:01:27 2020 UTC