Bug #78035 [NEW]: Segmentation fault on test 200.phpt
From: petk
Operating system: Alpine 3.9 + libffi 3.2.1
PHP version: Next Minor Version
Package: Unknown/Other Function
Bug Type: Bug
Bug description:Segmentation fault on test 200.phpt
Description:
------------
Test for the FFI extension with current filename 200.phpt fails with seg
fault.
Test script:
---------------
docker run -it --rm -v pwd:/opt/php-src -w /opt/php-src alpine:3.9 sh
apk add --no-cache autoconf libffi-dev re2c bison make gcc g++
./buildconf
./configure --disable-all --with-ffi
make test TESTS=ext/tests
Expected result:
----------------
OK
Actual result:
--------------
Test fails
200.diff:
002+
003+ Termsig=0
002- {
003- Hello World!
004- }
005- Hello World!
--
Edit bug report at https://bugs.php.net/bug.php?id=78035&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78035&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78035&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78035&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78035&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78035&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78035&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78035&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78035&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78035&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78035&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78035&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78035&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78035&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78035&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78035&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78035&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78035&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78035&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78035&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78035&r=mysqlcfg
Thread (3 messages)
- petk@php.net