php_opcache crash - memory access violation
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C
- Estrellas
- 40.4k
- Forks
- 8.1k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 96
Descripción
Description
I don't know how to recreate the problem. it occurs on our production server, sporadically. 6x in past 4 days. never happened on old server (Windows 2012 R2) running same versions of PHP (8.0.14 x64 thread-safe) and apache httpd (2.4.51 x64), and the same opcache configuration. We are not using JIT.
Windows Event Log shows:
Faulting application name: php.exe, version: 8.0.14.0, time stamp: 0x61bb14bc
Faulting module name: php_opcache.dll, version: 8.0.14.0, time stamp: 0x61bb1862
Exception code: 0xc0000005
Fault offset: 0x0000000000002fe6
Faulting process id: 0x25d8
Faulting application start time: 0x01d8045afae2031a
Faulting application path: C:\Program Files\php\php.exe
Faulting module path: C:\Program Files\PHP\ext\php_opcache.dll
Report Id: d7c91f64-1d66-4a3c-a206-7f1efaf4d8cc
Faulting package full name:
Faulting package-relative application ID:
php.ini:
[PHP_OPCACHE]
zend_extension=php_opcache.dll
opcache.enable=1;
opcache.enable_cli=1;
opcache.memory_consumption=512;
opcache.interned_strings_buffer=32;
opcache.validate_timestamps=1;
opcache.save_comments=0;
opcache.revalidate_path=1;
opcache.enable_file_override=1;
opcache.max_file_size=0;
opcache.file_cache_only=0;
opcache.log_verbosity_level=2;
opcache.mmap_base = 0x20000000
opcache.jit_buffer_size=0;
opcache.jit=Off;
Running Windows DebugDiag tool, with PHP 8.0.14 symbols loaded, gives the report attached here:
opcache-crash-analysis.pdf
PHP Version
PHP 8.0.14
Operating System
Windows Server 2019; apache httpd 2.4.51 x64
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comience con el archivo opcache-crash-analysis.pdf adjunto, la configuración de php.ini y los detalles del fallo en Windows Event Log para PHP 8.0.14. El issue solo estará listo cuando se pueda reproducir la violación de acceso esporádica o acotarla a una causa concreta, y se haya demostrado un fix verificado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- apache, c, php
- Área
- backend, performance
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 18/100