From: dcahh at gmx dot de Operating system: W2K Prof PHP version: 4.3.4RC2 PHP Bug Type: Regexps related Bug description: s (PCRE_DOTALL) modifier makes Apache2 crash
Description: ------------ I tried to parse a .xml-file using the regular expression as below. Using the s modifier reproduces a crash, leaving it away the crash does not appear. System message: The exception "unkown software expection" (0xc00000fd) occured in the program at 0x00c3912d. OK / Cancel (translated from German error message) Reproduce code: --------------- preg_match_all('~<(\w+)/?>(.)*</(\1)>~sm', $this->sFile, $aTags); // havin s modifier reproduces the crash, leaving it away = no crash Expected result: ---------------- Regular Expression matches -- Edit bug report at http://bugs.php.net/?id=25932&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25932&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25932&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25932&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25932&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25932&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25932&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25932&r=support Expected behavior: http://bugs.php.net/fix.php?id=25932&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25932&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25932&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25932&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25932&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25932&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25932&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25932&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25932&r=float