[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-04-11 Thread Launchpad Bug Tracker
This bug was fixed in the package php8.1 - 8.1.2-1ubuntu2.15 --- php8.1 (8.1.2-1ubuntu2.15) jammy; urgency=medium * d/p/fix-attribute-instantion-dangling-pointer.patch: Fix sigsegv from dangling pointer on attribute observer. (LP: #2054621) *

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-04-02 Thread Athos Ribeiro
hoteldruid/3.0.3-1 (arm64) mediawiki/1:1.35.6-1 (arm64) php-imagick/3.6.0-4ubuntu1 (amd64, arm64, armhf, ppc64el, s390x) php8.1/8.1.2-1ubuntu2.15 (arm64, i386) These were either flaky tests (re-triggering fixed the issue) or failures unrelated to this SRU (migration-reference/0 runs failed). We

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-04-01 Thread Athos Ribeiro
I verified this change by running the script described in the test plan above. with php8.1 8.1.2-1ubuntu2.14, the two tests run fail. With the version in proposed, 8.1.2-1ubuntu2.15, they pass: Running selected tests. PASS Bug #81430 (Attribute instantiation frame accessing invalid frame

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-04-01 Thread Athos Ribeiro
** Description changed: SRU Justification [ Impact ] Invoking reflection via the observer API on a class with an attribute annotation causes a dangling pointer and segmentation fault. Certain PHP extensions may register an observer of an attribute instantiation using reflection.

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-28 Thread Andreas Hasenack
I see some: # git ubuntu remote add athos-ribeiro # let's build the php8.1-ztest packages matching the version from the release pocket git checkout zend-test-ext-nofix I suppose you didn't mean to comment the remote add? Also, this requires the git-ubuntu snap being installed. Which is fine,

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-27 Thread Athos Ribeiro
** Changed in: php8.1 (Ubuntu Jammy) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054621 Title: Fix PHP crashes due to accessing dangling pointers To manage

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-22 Thread Athos Ribeiro
Test plan updated. ** Description changed: SRU Justification [ Impact ] Invoking reflection via the observer API on a class with an attribute annotation causes a dangling pointer and segmentation fault. Certain PHP extensions may register an observer of an attribute instantiation

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-20 Thread Athos Ribeiro
This is fixed in PHP >= 8.1.3 (https://github.com/php/php- src/commit/2f6a06ccb0ef78e6122bb9e67f9b8b1ad07776e1) I will update the test plan. Thanks, Robie. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-20 Thread Brian Morton
8.2 and 8.3 are unaffected. I'll let Athos chime in with the steps necessary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054621 Title: Fix PHP crashes due to accessing dangling pointers To

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-20 Thread Robie Basak
What's the status of this bug in Mantic and Noble please? Were 8.2 and 8.3 ever affected, and if so, in which versions were they fixed? I couldn't figure this out within a few minutes - sorry! > [ Test Plan ] > Run the upstream tests included within this fix. To do so, an upstream

[Bug 2054621] Re: Fix PHP crashes due to accessing dangling pointers

2024-03-12 Thread Athos Ribeiro
** Summary changed: - PHP crashes on Laravel 9+ with certain extensions + Fix PHP crashes due to accessing dangling pointers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054621 Title: Fix PHP