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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andreimarchenko90 at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC