|  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
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:
1 + 16 = ?
Subscribe to this entry?

 [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: Sat May 15 21:01:25 2021 UTC