View Issue Details

IDProjectCategoryView StatusLast Update
0001979XdebugUncategorizedpublic2025-11-25 14:22
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status confirmedResolutionopen 
Product Version3.0.4 
Target Version3.6dev 
Summary0001979: Xdebug crashes with opcache.protect_memory=yes
Description

With opcache.protect_memory=yes, opcache adds the read only flag to the memory pages where it caches opcodes. Xdebug apparently still tries to modify some of these protected data structures, causing a crash.

Steps To Reproduce

Run Xdebug's tests with TEST_PHP_ARGS="-d opcache.protect_memory=yes".

TagsNo tags attached.
Operating System
PHP Version8.0.0-8.0.4

Activities

There are no notes attached to this issue.