php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32229 "CLI has encountered a problem" (ModName: php5ts.dll)
Submitted: 2005-03-08 07:29 UTC Modified: 2005-03-26 03:46 UTC
From: pk at iname dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.0.3 OS: Windows XP
Private report: No CVE-ID:
 [2005-03-08 07:29 UTC] pk at iname dot com
Description:
------------
The crash is easy to reproduce:

C:\php> php -a
Interactive mode enabled

<? echo ((1 == 1)? 2 : 3); ?>

A PHP window comes up with a message beginning:

"CLI has encountered a problem and needs to close.  We are sorry for the inconvenience."




Reproduce code:
---------------
echo ((1 == 1)? 2 : 3);

Expected result:
----------------
Anything but a core dump.

Actual result:
--------------
A PHP window comes up with a message beginning:

"CLI has encountered a problem and needs to close.  We are sorry for the inconvenience."

The error report includes this information:

AppName: php.exe         
AppVer: 5.0.3.3         
ModName: php5ts.dll
ModVer: 5.0.3.3  
Offset: 00015a24

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-09 00:44 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

#28839
 [2005-03-26 03:46 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 03:02:42 2014 UTC