php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79777 Assertion `!(executor_globals.exception)' failed, which cause memory leak
Submitted: 2020-07-03 19:26 UTC Modified: 2020-07-03 19:32 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: changochen1 at gmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 8.0Git-2020-07-03 (Git) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: changochen1 at gmail dot com
New email:
PHP Version: OS:

 

 [2020-07-03 19:26 UTC] changochen1 at gmail dot com
Description:
------------
We found an assertion failed in the php script engine.

Test case:
---
<?php
    die ( function() {}) ;
?>
---

CMDline: php -f poc




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-07-03 19:31 UTC] changochen1 at gmail dot com
-Summary: void zend_throw_unwind_exit(): Assertion `!(executor_globals.exception)' failed +Summary: Assertion `!(executor_globals.exception)' failed, which cause memory leak
 [2020-07-03 19:31 UTC] changochen1 at gmail dot com
Without the assertion, it causes memory leak
 [2020-07-03 19:32 UTC] changochen1 at gmail dot com
/home/yongheng/php-src/Zend/zend_objects.c(174) :  Freeing 0x00007ff5356710c0 (152 bytes), script=/home/yongheng/poc
=== Total 1 memory leaks detected ===
 [2020-07-04 08:00 UTC] nikic@php.net
Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=49396f817a07c791f3bdfa4d301072425e0e9363
Log: Fixed bug #79777
 [2020-07-04 08:00 UTC] nikic@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC