php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30818 CLI Access Violation in XP
Submitted: 2004-11-17 21:43 UTC Modified: 2005-02-19 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: neil dot r dot haslewood at web dot de Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.0.2 OS: Windows XP Pro (SP2 build 2600)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: neil dot r dot haslewood at web dot de
New email:
PHP Version: OS:

 

 [2004-11-17 21:43 UTC] neil dot r dot haslewood at web dot de
Description:
------------
cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"

PHP API 	20031224
PHP Extension 	20040412

Tried enclosed from command line and encountered the following several times:

    Windows Error Report Popup states:
    'CLI has encountered a problem and needs to close'

Visual C++ debugger traps error:
'Unhandled exception in php.exe (PHP5TS.DLL): 0xC0000005: Access Violation'

Reproduce code:
---------------
C:\Documents and Settings\Me>php -a
Interactive mode enabled
<?php
$s1 = 'ababab abab ab ab';
$s2 = "abbaaab bbaab aaba";
$r = "/^((ab)+\s)*(ab)+$/";
if(preg_match($r, $s1)){
        echo "$s1 valid";
}
else{
        echo "$s2 invalid";
}
ababab abab ab ab valid

Windows Error Report Popup then reveals:
'CLI has encountered a problem and needs to close'

Visual C debugger traps error

Expected result:
----------------
$s1 valid


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC