PHP 7.4 segfaults

  105046
April 3, 2019 12:48 php@beccati.com (Matteo Beccati)
Hi dmitry, internals,

As I wrote somewhere else, I've finally been able to find time to update 
the Bamboo instance I've been using during the past few years to run 
daily PHP builds, run their test suites and use them to run test suites 
of few popular open source projects as I've been doing since phpng.

The Revive Adserver test suite has currently a few failures with 7.4 
that I need to look into, but some of them are in fact caused by 
segmentation faults in PHP, possibly by its legacy syntax usage:

https://revive.beccati.com/bamboo/browse/REV-LP-P74M-1801

I've identified two different kinds: one in zend_assign_to_variable and 
the other one during shutdown. Here are the backtraces:

https://gist.github.com/mbeccati/da3e304cd1fcdeddc43ec35f4c5c224f

I can provide more info on how to run the test suite or grant ssh access 
to the box if anyone is interested in digging deeper.


Cheers
-- 
Matteo Beccati

Development & Consulting - http://www.beccati.com/
  105140
April 8, 2019 08:36 nikita.ppv@gmail.com (Nikita Popov)
On Wed, Apr 3, 2019 at 2:48 PM Matteo Beccati <php@beccati.com> wrote:

> Hi dmitry, internals, > > As I wrote somewhere else, I've finally been able to find time to update > the Bamboo instance I've been using during the past few years to run > daily PHP builds, run their test suites and use them to run test suites > of few popular open source projects as I've been doing since phpng. > > The Revive Adserver test suite has currently a few failures with 7.4 > that I need to look into, but some of them are in fact caused by > segmentation faults in PHP, possibly by its legacy syntax usage: > > https://revive.beccati.com/bamboo/browse/REV-LP-P74M-1801 > > I've identified two different kinds: one in zend_assign_to_variable and > the other one during shutdown. Here are the backtraces: > > https://gist.github.com/mbeccati/da3e304cd1fcdeddc43ec35f4c5c224f > > I can provide more info on how to run the test suite or grant ssh access > to the box if anyone is interested in digging deeper. >
Hi Matteo, The zend_assign_to_variable issue should be fixed with https://github.com/php/php-src/commit/e86820eb568bf1badd94b6cc9fa958119cc06bb4. This issue was introduced by the typed properties implementation. Nikita
  105142
April 8, 2019 10:08 php@beccati.com (Matteo Beccati)
Hi Nikita,

On 08/04/2019 10:36, Nikita Popov wrote:
>> On Wed, Apr 3, 2019 at 2:48 PM Matteo Beccati <php@beccati.com >> <mailto:php@beccati.com>> wrote: >> I've identified two different kinds: one in zend_assign_to_variable and >> the other one during shutdown. Here are the backtraces: >> >> https://gist.github.com/mbeccati/da3e304cd1fcdeddc43ec35f4c5c224f > > The zend_assign_to_variable issue should be fixed with > https://github.com/php/php-src/commit/e86820eb568bf1badd94b6cc9fa958119cc06bb4. > This issue was introduced by the typed properties implementation.
thanks! Yes, I can confirm the one in zend_assign_to_variable has been fixed. Is there anything I can do to help track down the other one? Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/