Skip to content

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

Open
@danog

Description

@danog

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions