# PHP 7.4 segfaults

- Thread: https://externals.io/message/105046
- Original archive: https://news-web.php.net/php.internals/105046
- Started by Matteo Beccati on 2019-04-03T12:48:37+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #105046 — Matteo Beccati — 2019-04-03T12:48:37+00:00

URL: https://externals.io/message/105046#105046

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 — Nikita Popov — 2019-04-08T08:36:01+00:00

URL: https://externals.io/message/105046#105140

> 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 — Matteo Beccati — 2019-04-08T10:08:13+00:00

URL: https://externals.io/message/105046#105142

Hi Nikita,


> > […]
> 
> 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/
