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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
6 + 16 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sun May 19 03:01:33 2024 UTC