History log of /PHP-8.4/sapi/cli/tests/bug80092.phpt (Results 1 – 4 of 4)
Revision Date Author Comments
# c524dc65 22-Nov-2023 Levi Morrison

test: allow other zend extensions to not fail the test


# 6cf76d55 02-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Ignore optional warning output in test

Due to the greedy behaviour of regex, we can't seem to use %A?
Use a for loop with a marker instead to ignore module startup warnings.


# b140f6e9 02-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix test under older CI configurations


# bdc87b0f 27-Sep-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #80092: ZTS + preload = segfault on shutdown

After preloading has executed, the executor globals for class_table and
function_table are still referring to the values during preloadin

Fix #80092: ZTS + preload = segfault on shutdown

After preloading has executed, the executor globals for class_table and
function_table are still referring to the values during preloading.
If no request happens after that then these values will remain dangling
pointers. If then the -v option on CLI or -h option (and possibly
others) on CGI is provided, there is a double free.
Fix it by nulling the pointers explicitly after preloading has finished
to fix it for all SAPIs.

Closes GH-12311.

show more ...