php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81689 2 fiber tests fails on ppc64le
Submitted: 2021-12-03 01:12 UTC Modified: 2022-01-04 01:02 UTC
From: apostnikov at gmail dot com Assigned: trowski (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 8.1.0 OS: Alpinelinux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: apostnikov at gmail dot com
New email:
PHP Version: OS:

 

 [2021-12-03 01:12 UTC] apostnikov at gmail dot com
Description:
------------
Building 8.1.0 and 8.1.1RC1 I got 2 failed tests

- Zend/tests/fibers/silence-operator-inside-fiber.phpt
- Zend/tests/fibers/silence-operator-outside-fiber.phpt

both cases fail because after suspend() printing of "C" still silenced

001- Warning: Warning C in %ssilence-operator-inside-fiber.php on line %d
002-
     Warning: Warning D in %ssilence-operator-inside-fiber.php on line %d

and second 

"005- Warning: Warning C in %ssilence-operator-outside-fiber.php on line %d"


Patches

ppc64le-81689.patch (last revision 2021-12-03 14:56 UTC by apostnikov at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-12-03 11:17 UTC] cmb@php.net
-Package: Filter related +Package: Scripting Engine problem -Assigned To: +Assigned To: trowski
 [2021-12-03 11:17 UTC] cmb@php.net
Aaron, could you please have a look?
 [2021-12-03 14:36 UTC] apostnikov at gmail dot com
Here's details for all arches (in gitlab CI)

Ref https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28071#note_196109
 [2021-12-03 14:37 UTC] trowski@php.net
In Zend/zend_fibers.c, can you please try changing zend_long to int on line 446.
 [2021-12-03 14:56 UTC] apostnikov at gmail dot com
The following patch has been added/updated:

Patch Name: ppc64le-81689.patch
Revision:   1638543403
URL:        https://bugs.php.net/patch-display.php?bug=81689&patch=ppc64le-81689.patch&revision=1638543403
 [2021-12-03 14:56 UTC] apostnikov at gmail dot com
The following patch has been added/updated:

Patch Name: ppc64le-81689.patch
Revision:   1638543417
URL:        https://bugs.php.net/patch-display.php?bug=81689&patch=ppc64le-81689.patch&revision=1638543417
 [2021-12-03 14:58 UTC] apostnikov at gmail dot com
Tryint to build with a patch - the ppc64le build is https://gitlab.alpinelinux.org/alpine/aports/-/jobs/554235
 [2021-12-03 15:47 UTC] apostnikov at gmail dot com
patch did not help but makes sense

What I can try more?
 [2021-12-03 15:49 UTC] apostnikov at gmail dot com
Draft PR https://github.com/php/php-src/pull/7710
 [2022-01-04 01:02 UTC] trowski@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 10:01:30 2025 UTC