Bug #73880 [NEW]: bus error while generating phar.phar

From: Date: Fri, 06 Jan 2017 12:27:39 +0000
Subject: Bug #73880 [NEW]: bus error while generating phar.phar
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206313@lists.php.net to get a copy of this message
From: joern dot clausen at uni-bielefeld dot de Operating system: Solaris 11.2/sparc PHP version: 7.1.0 Package: Compile Failure Bug Type: Bug Bug description:bus error while generating phar.phar Description: ------------ Building PHP 7.1 inside the pkgsrc framework on Solaris 11.2/sparc using GCC 4.8.5, the step "Generating phar.phar" fails with Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. gmake: *** [ext/phar/phar.phar] Bus Error (core dumped) *** Error code 2 The failing binary is the php interpreter build in the preceding steps. The stack trace looks like this #0 0x00000001001032a4 in sljit_emit_jump () #1 0x00000001001096f4 in mainloop_entry () #2 0x000000010011e58c in _pcre_jit_compile () #3 0x00000001000fb07c in php_pcre_study () #4 0x0000000100122dd0 in pcre_get_compiled_regex_cache () #5 0x0000000100260674 in spl_dual_it_construct.isra () #6 0x00000001004484fc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () #7 0x00000001003df9d4 in execute_ex () #8 0x000000010044a9a4 in zend_execute () #9 0x00000001003925e8 in zend_execute_scripts () #10 0x0000000100327ad4 in php_execute_script () #11 0x000000010044cf64 in do_cli () #12 0x000000010045fc90 in main () The same code compiles without problems on Solaris 11.2/i86 and the same GCC version. -- Edit bug report at https://bugs.php.net/bug.php?id=73880&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73880&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73880&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73880&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73880&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73880&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73880&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73880&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73880&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73880&r=support Expected behavior: https://bugs.php.net/fix.php?id=73880&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73880&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73880&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73880&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73880&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73880&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73880&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73880&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73880&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73880&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73880&r=mysqlcfg

« previous php.bugs (#206313) next »