php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78035 Segmentation fault on test 200.phpt
Submitted: 2019-05-20 02:04 UTC Modified: 2019-07-18 22:56 UTC
From: petk@php.net Assigned: petk (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 7.4-Git-2019-05-20 (Git) OS: Alpine 3.9 + libffi 3.2.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: petk@php.net
New email:
PHP Version: OS:

 

 [2019-05-20 02:04 UTC] petk@php.net
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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-20 02:17 UTC] petk@php.net
-PHP Version: Next Minor Version +PHP Version: PHP-7.4-Git-2019-05-20 (Git)
 [2019-05-20 09:41 UTC] petk@php.net
-PHP Version: PHP-7.4-Git-2019-05-20 (Git) +PHP Version: 7.4-Git-2019-05-20 (Git)
 [2019-05-23 12:25 UTC] cmb@php.net
Can you please provide the backtrace of a debug build?
 [2019-07-18 22:56 UTC] petk@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: petk
 [2019-07-18 22:56 UTC] petk@php.net
This seems to be working now. Either fixed upstream or somewhere on the way... Closing as resolved.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC