Repository navigation
Fixed
-
The sync event no longer reads a connection off a stack frame that
has already been left.init_workerkept its dummyngx_connection_t
as a local and handed its address to the event, which then re-arms
itself every 500 ms for the life of the worker; the timer code reads
that pointer as a connection on every tick. AddressSanitizer reports
it asstack-use-after-returnand takes the worker down with it, so
the suite lost its first test file to a connection reset. The dummy
connection now comes from the cycle pool, where the event comes from. -
CI: the Test::Nginx cache is now keyed by the Perl build, not just by
the runner OS. When the hosted image moved to Ubuntu 26.04 the cached
~/perl5tree was restored against a new interpreter and every test
file died before its first assertion withloadable library and perl binaries are mismatched, taking Build & Test, A/UBSan and Valgrind
down together. -
CI: the sanitizer run can see what it is for now. ngx_palloc hands
out slices of a pool block, so a write past an allocation landed inside
memory ASan had handed over whole and no report was made; nginx keeps a
switch for exactly this andNGX_DEBUG_PALLOCsends every allocation
straight to malloc. The reports were being lost as well, because nginx
redirects its own stderr onto the error log file as soon aserror_log
names one, so both sanitizers write to files of their own now and the
findings step runs even after a failed suite, which is precisely what a
worker that ASan took down leaves behind.