#45546 [Opn->Fbk]: PCRE with utf8 kill apache childprocess
From: nlopess@php.net Date: Thu, 17 Jul 2008 17:53:51 +0000 Subject: #45546 [Opn->Fbk]: PCRE with utf8 kill apache childprocess References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-126904@lists.php.net to get a copy of this message
ID: 45546
Updated by: nlopess@php.net
Reported By: kaiser at macbureau dot de
-Status: Open
+Status: Feedback
-Bug Type: Apache2 related
+Bug Type: PCRE related
Operating System: FreeBSD 7
PHP Version: 5.2.6
New Comment:
the pasted code is incomplete (doesn't even run). Please provide a
complete, but short, reproducible script.
Previous Comments:
------------------------------------------------------------------------
[2008-07-17 16:31:50] kaiser at macbureau dot de
Description:
------------
PCRE with utf8 (Typo3 Mailform) kills apache childprocess. With the
following entry in apache errorlog on FreeBSD 7 with Apache 2.2.8:
[notice] child pid 6709 exit signal Illegal instruction (4)
Output of ulimit -a:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 33554432
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 11095
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 524288
cpu time (seconds, -t) unlimited
max user processes (-u) 5547
virtual memory (kbytes, -v) unlimite
Reproduce code:
---------------
#!/usr/local/bin/php
<?php
function is_utf8($str) {
return
(preg_match('/^([\x00-\x7f]|[\xc2-\xdf][\x80-\xbf]|\xe0[\
}
$i=0;
$str = '';
while ($i<5000) {
$str .= 'a';
$i++;
}
is_utf8($str);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45546&edit=1
Thread (26 messages)
- #45546 [Opn->Fbk]: PCRE with utf8 kill apache childprocess
- #45546 [Fbk->Opn]: PCRE with utf8 kill apache childprocess
- #45546 [Opn->Fbk]: PCRE with utf8 kill apache childprocess
- #45546 [Fbk]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [NoF]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [Com]: PCRE with utf8 kill apache childprocess
- Bug #45546 [NoF->Wfx]: PCRE with utf8 kill apache childprocess
| « previous | php.bugs (#126904) | next » |
|---|