#30818 [Fbk->NoF]: CLI Access Violation in XP

From: Date: Sat, 19 Feb 2005 00:00:21 +0000
Subject: #30818 [Fbk->NoF]: CLI Access Violation in XP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74285@lists.php.net to get a copy of this message
ID: 30818 Updated by: php-bugs@lists.php.net Reported By: neil dot r dot haslewood at web dot de -Status: Feedback +Status: No Feedback Bug Type: CGI related Operating System: Windows XP Pro (SP2 build 2600) PHP Version: 5.0.2 New Comment: 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". Previous Comments: ------------------------------------------------------------------------ [2005-02-11 23:38:45] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-11-17 21:43:08] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30818&edit=1

« previous php.bugs (#74285) next »