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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Pull Requests

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: Sat Dec 21 16:01:28 2024 UTC