|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76025 Segfault while throwing exception in error_handler
Submitted: 2018-02-28 02:36 UTC Modified: -
From: Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 7.1.14 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
31 - 30 = ?
Subscribe to this entry?

 [2018-02-28 02:36 UTC]
segfault in example codes:

Test script:

function handleError($errno, $errstr, $errfile, $errline) {
    $exception = new exception("blah");
    throw $exception;
set_error_handler('handleError', E_ALL);
$c = $b[$a];

Expected result:
no segfault

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-28 10:17 UTC]
Automatic comment on behalf of
Log: Fixed bug #76025 (Segfault while throwing exception in error_handler).
 [2018-02-28 10:17 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 22:01:28 2024 UTC