php.net |  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
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: 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
Have you experienced this issue?
Rate the importance of this bug to you:

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

Test script:
---------------
<?php
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

so.. won't fix here.

thanks
 [2015-12-15 12:52 UTC] andreimarchenko90 at gmail dot com
I see, thanks for answer
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC