|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71118 Segmentation Fault in "Finally" block
Submitted: 2015-12-14 15:32 UTC Modified: 2015-12-15 12:52 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: andreimarchenko90 at gmail dot com Assigned:
Status: Wont fix Package: SPL related
PHP Version: 5.5.30 OS: Linux, centos 7.1
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: andreimarchenko90 at gmail dot com
New email:
PHP Version: OS:


 [2015-12-14 15:32 UTC] andreimarchenko90 at gmail dot com
I'll get "Segmentation Fault" when I tried to create new unknown instance "Foo" in "finally" block.

Test script:
try {
    throw new \RuntimeException('Some Error');
} finally {
    $foo = new \Foo();

Expected result:
Fatal error: Class 'Foo' not found in /in/RrblM on line 5

Process exited with code 255.

Actual result:
Process exited with code 139.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-14 15:48 UTC]
-Status: Open +Status: Feedback
 [2015-12-14 15:48 UTC]
I can not reproduce this, can you show me the backtrace of the segfault?
 [2015-12-14 15:48 UTC]
-Status: Feedback +Status: Wont fix
 [2015-12-14 15:48 UTC]
ah, 5.5.30, I see, but 5.5 is in security fix only...

so.. won't fix here.

 [2015-12-15 12:52 UTC] andreimarchenko90 at gmail dot com
I see, thanks for answer
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 10 09:01:27 2023 UTC