You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the https://github.com/amphp/pipeline unit tests on nightly with function or tracing JIT on nightly produces a memory corruption which is not detected by ASAN, which causes runtime "Event loop terminated without resuming the current suspension" exceptions.
The same memory corruption issue occasionally occurs on a production instance running code unrelated to amphp/pipeline on PHP 8.3 with opcache, without JIT (the cause there is likely different, but affecting the same memory area).
Activity
danog commentedon Nov 19, 2024
Any pointers on what ASAN settings can be tweaked to make it detect the corruption (apart from the standard USE_ZEND_ALLOC=0 et al)?
ndossche commentedon Nov 19, 2024
Are you even sure that it's memory corruption in the first place?
I would recommend using Valgrind if you can't reproduce it using ASAN.
danog commentedon Nov 19, 2024
Positive, since the issue occurs only with JIT, and it can't be a race condition since it's all single-threaded anyway.
Will give valgrind a try!
dstogov commentedon Nov 26, 2024
This seems fixed via dstogov@5b955a7
I can't reproduce this anymore