Comments (6)
The issue with these crashes is that they crash later than the point where it actually went wrong. This report isn't actionable without more details or a reproducer.
A couple of questions:
- Which extensions are you using?
- Does it reproduce without Opcache?
- Is it possible for you to run php-fpm under Valgrind or with ASAN compiled in?
from php-src.
extensions:
php8.2-apcu \
php8.2-cli \
php8.2-curl \
php8.2-mbstring \
php8.2-opcache \
php8.2-readline \
php8.2-redis \
php8.2-xml \
php8.2-zip \
php8.2-pgsql \
php8.2-gd \
php8.2-bcmath \
php8.2-redis \
php was installed from the repository deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
from php-src.
I see you're using a third party extension, the problem can also be caused there.
Please also answer the other questions I asked earlier.
Without a reproducer or without a trace from Valgrind or ASAN we cannot find and fix the issue.
I see 4 people thumbed up this report, which indicates more people experience this, if they have any more information then that would be helpful.
from php-src.
Could you explain to me how to run ASAN into docker? Do you have a docker image with ASAN?
from php-src.
(Note that the "official" php Docker images are not maintained by us.)
You would need to compile PHP yourself in that case and configure it with the --enable-address-sanitizer option. However, given the question it's probably easier in your case to run Valgrind which won't need custom compilation.
In that case, you will need to install the valgrind package and also the debug symbol package for php-fpm probably.
Then to run it:
- set the environment variable
USE_ZEND_ALLOC=0
- Run
valgrind php-fpm -F
to run fpm in foreground mode under Valgrind
Then try to trigger the bug and send us the output from Valgrind.
from php-src.
No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you.
from php-src.
Related Issues (20)
- Proposal: Dump circular references in var_export() using IIFE HOT 7
- magic property guards are not reset in timeout HOT 8
- Show symlinks in stack trace file paths HOT 5
- Comparing string to integer without casting or intval gives unexpected behavior since version 7.4 HOT 2
- FPM status add more process infos
- The file /php-src/Zend/Optimizer/escape_analysis.c has a memory leak defect at line 417
- The file /php-src/Zend/zend_ini.c has a memory leak defect at line 247.
- There is a memory leak defect at line 2214 in /php-src/main/streams/streams.c. HOT 4
- There is a memory leak defect at line 786 in the file /php-src/ext/phar/stream.c.
- Opcache prevents file from being added to realpath cache? HOT 1
- setTimestamp sets the wrong value HOT 2
- Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB HOT 1
- Arguments count should be checked prior individual argument type HOT 8
- Link latest sqlite3 library into php_sqlite3.dll, php_sqlite3.so HOT 4
- array_diff weirdness HOT 5
- The ldap extension cannot be built on Solaris with Oracle Instant Client HOT 10
- PCRE pattern cache crashes process in wrapper stream_close called after shutdown HOT 2
- 8.4.0alpha2 fails to build: `error: redefinition of typedef ‘zend_string’` HOT 12
- BUG : Compiling opcache extensions statically into ZTS PHP , JIT bug HOT 6
- In Czech function have bad order with diacritic HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-src.