Bug #72205 [Asn->Fbk]: try catch crash~
| From: | pierrick@php.net | Date: | Wed, 27 Jul 2016 17:18:51 +0000 |
| Subject: | Bug #72205 [Asn->Fbk]: try catch crash~ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202645@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72205&edit=1
ID: 72205
Updated by: pierrick@php.net
Reported by: oksbsb at 126 dot com
Summary: try catch crash~
-Status: Assigned
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: WINDOWS
PHP Version: master-Git-2016-05-12 (Git)
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2016-05-17 12:03:58] cmb@php.net
Pierrick, can you please have a look at this issue?
------------------------------------------------------------------------
[2016-05-12 08:06:37] 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 ) {}
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72205&edit=1