Skip to content

Assertion `size_zv && "Trying to free pointer not allocated through ZendMM"' failed. #16833

@danog

Description

@danog
Contributor

Description

Got the following assertion when running multiple Psalm unit tests: https://github.com/danog/php-src/actions/runs/11871508040/job/33084124984#step:10:10289

php: /home/runner/work/php-src/php-src/Zend/zend_alloc.c:2945: tracked_get_size_zv: Assertion `size_zv && "Trying to free pointer not allocated through ZendMM"' failed.

Config is in #12406, reproducer command is:

php --repeat 2 -f .github/jit_check.php /tmp/psalm/vendor/bin/phpunit /tmp/psalm/tests/ProjectCheckerTest.php

PHP Version

nightly

Operating System

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @danog

        Issue actions

          Assertion `size_zv && "Trying to free pointer not allocated through ZendMM"' failed. · Issue #16833 · php/php-src