Skip to content

Memory corruption when using JIT #16856

@danog

Description

@danog

Description

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).

Reproducer: https://github.com/danog/jit_bugs/, bugs/14_pipeline.sh

PHP Version

nightly

Operating System

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions