Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 26, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

ndossche and others added 26 commits November 26, 2024 19:24
We should compare the block memory, not the block metadata (See
zend_mm_add_huge_block).
This caused random test failure for ext/ffi/tests/gh14626.phpt when the
malloc() performed by the FFI code lies close to the block metadata, and
the size of the block is large enough.

This was reported by #16902 (comment)

Closes GH-16938.
* PHP-8.2:
  Fix is_zend_ptr() huge block comparison
* PHP-8.3:
  Fix is_zend_ptr() huge block comparison
* PHP-8.4:
  Fix is_zend_ptr() huge block comparison
We intend to execute `MATCH_ERROR` in the VM and return to trace a hot
function in BB1. We generate a tail handler and skip all remaining
oplines of BB0. That means the `INIT_FCALL` in BB0 is missed and
`call_level` is not increased to 1. This leads to the assertion
failure.
This patch fixes the issue by updating the `call_level` for the skipped
oplines.

Closes GH-16939.
* PHP-8.4:
  Fix GH-16879: JIT dead code skipping does not update call_level
* PHP-8.4:
  Avoid possible spill conflict (one of the problem that caused GH-16821) (#16947)
* PHP-8.2:
  Fix various memory leaks in curl mime handling
* PHP-8.3:
  Fix various memory leaks in curl mime handling
* PHP-8.4:
  Fix various memory leaks in curl mime handling
These are repeated a couple of times, so centralise it in 2 functions to
reduce repetition and make updating this less error-prone.
* PHP-8.4:
  Extract call_level conditions out to separate functions (#16949)
Alpine CI regularly fails because of the sorting order of these tests.
See #14962 (comment)

Closes GH-16950.
* PHP-8.2:
  Backport GH-14962 to stable versions
* PHP-8.3:
  Backport GH-14962 to stable versions
* PHP-8.4:
  Backport GH-14962 to stable versions
It crashes because it's gonna try accessing the breakpoint which was cleared
by user code in `phpdbg_clear();`. Not all breakpoint data was properly
cleaned.

Closes GH-16953.
* PHP-8.2:
  Fix GH-15208: Segfault with breakpoint map and phpdbg_clear()
* PHP-8.3:
  Fix GH-15208: Segfault with breakpoint map and phpdbg_clear()
* PHP-8.4:
  Fix GH-15208: Segfault with breakpoint map and phpdbg_clear()
* PHP-8.4:
  Fix GH-16821: runtime error: member access within misaligned address when running phpseclib tests (#16951)
* PHP-8.4:
  Fix the 1st parameter type casing of pg_set_chunked_rows_size()
@pull pull bot added the ⤵️ pull label Nov 26, 2024
@pull pull bot merged commit 17187c4 into wudi:master Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants