Giter Club home page Giter Club logo

Comments (6)

nielsdos avatar nielsdos commented on July 24, 2024

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.

Zermond avatar Zermond commented on July 24, 2024

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.

nielsdos avatar nielsdos commented on July 24, 2024

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.

Zermond avatar Zermond commented on July 24, 2024

Could you explain to me how to run ASAN into docker? Do you have a docker image with ASAN?

from php-src.

nielsdos avatar nielsdos commented on July 24, 2024

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

github-actions avatar github-actions commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.