Bug #72205 [NEW]: try catch crash~
| From: | oksbsb at 126 dot com | Date: | Thu, 12 May 2016 08:06:40 +0000 |
| Subject: | Bug #72205 [NEW]: try catch crash~ | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-201027@lists.php.net to get a copy of this message | ||
From: oksbsb at 126 dot com
Operating system: WINDOWS
PHP version: master-Git-2016-05-12 (Git)
Package: *General Issues
Bug Type: Bug
Bug description:try catch crash~
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 bug report at https://bugs.php.net/bug.php?id=72205&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72205&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72205&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72205&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72205&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72205&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72205&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72205&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72205&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72205&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72205&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72205&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72205&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72205&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72205&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72205&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72205&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72205&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72205&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72205&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72205&r=mysqlcfg