Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure in Zend/zend_exceptions.c:1015 #16293

Closed
YuanchengJiang opened this issue Oct 8, 2024 · 0 comments
Closed

Assertion failure in Zend/zend_exceptions.c:1015 #16293

YuanchengJiang opened this issue Oct 8, 2024 · 0 comments

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
var_dump($rao=assert_options(ASSERT_BAIL, 1));
var_dump($r2=assert(0 != 0));

Resulted in this output:

/php-src/Zend/zend_exceptions.c:1015: zend_throw_unwind_exit: Assertion `!(((zend_executor_globals *) (((char*) _tsrm_ls_cache)+(executor_globals_offset)))->exception)' failed.
Aborted (core dumped)

To reproduce:

-d "assert.callback=f1" -d "assert.exception=0"

PHP Version

PHP 8.4.0-dev

Operating System

ubuntu 22.04

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

No branches or pull requests

2 participants