|  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
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
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:
Solve the problem:
40 - 18 = ?
Subscribe to this entry?

 [2004-11-17 21:43 UTC] neil dot r dot haslewood at web dot de
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
$s1 = 'ababab abab ab ab';
$s2 = "abbaaab bbaab aaba";
$r = "/^((ab)+\s)*(ab)+$/";
if(preg_match($r, $s1)){
        echo "$s1 valid";
        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


Add a Patch

Pull Requests

Add a Pull Request


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: Mon Jul 15 02:01:28 2024 UTC