|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69599 Strange generator+exception+variadic crash
Submitted: 2015-05-08 04:33 UTC Modified: 2015-05-08 06:08 UTC
From: imbolk at gmail dot com Assigned: nikic (profile)
Status: Closed Package: Reproducible crash
PHP Version: 5.6.8 OS: Mac OS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: imbolk at gmail dot com
New email:
PHP Version: OS:


 [2015-05-08 04:33 UTC] imbolk at gmail dot com
PHP crashes if I use variardic, Exception and generator together.

Test script:
// Minimal example to reproduce

function crash()
    throw new \Exception();


Expected result:
PHP Fatal error:  Uncaught exception 'Exception'… blah-blah

Actual result:
Segmentation fault: 11


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-08 06:08 UTC]
-Assigned To: +Assigned To: nikic
 [2015-05-12 13:10 UTC]
Automatic comment on behalf of nikic
Log: Fix bug #69599
 [2015-05-12 13:10 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon May 17 01:01:23 2021 UTC