php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72205 try catch crash~
Submitted: 2016-05-12 08:06 UTC Modified: 2016-08-07 04:22 UTC
From: oksbsb at 126 dot com Assigned: pierrick (profile)
Status: No Feedback Package: *General Issues
PHP Version: master-Git-2016-05-12 (Git) OS: WINDOWS
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oksbsb at 126 dot com
New email:
PHP Version: OS:

 

 [2016-05-12 08:06 UTC] oksbsb at 126 dot com
Description:
------------
after 2016/5/2 commit: 0aed2cc2 by Pierrick Charron

"Add catching multiple exception"

php.exe will crash when running below code 


crash at:

Zend\zend_compile.c

funtion zend_compile_try(...)
...

if (! zend_is_const_default_class_ref(class_ast) )

because class_ast is null!


Test script:
---------------
<?php

try{}catch( \Exception $e ) {}

?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-17 12:03 UTC] cmb@php.net
-Assigned To: +Assigned To: pierrick
 [2016-05-17 12:03 UTC] cmb@php.net
Pierrick, can you please have a look at this issue?
 [2016-07-27 17:18 UTC] pierrick@php.net
-Status: Assigned +Status: Feedback
 [2016-07-27 17:18 UTC] pierrick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2016-08-07 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC