------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=616
--- Comment #3 from Philip Hazel <ph10@???> 2007-10-14 17:32:16 ---
On Sat, 13 Oct 2007, Felipe Nascimento S. Pena wrote:
> > > preg_match_all('/<((?:(?!>).)+)>/s', $str, $matches);
>
> String: http://ecl.zoone.com.br/etc/test.txt
Testing with pcretest on a Linux box, this fails (segmentation fault)
for PCRE 7.3, but gives "no match" for PCRE 7.4. I don't know why that
is - there is nothing in the ChangeLog for 7.4 that looks as though it
is relevant. However, I can make it fail in 7.4 by running
pcretest -S 6 /test/file
That is, it fails when the stack size is reduced to 6 megabytes. It's OK
with 7 Mb or greater. So I guess 7.4 must somehow be using just a bit
less stack than 7.3. This does confirm my first guess that this was a
stack problem.
> I'm using PHP with 128M of memory limit.
It is how much memory is allocated to the system stack that matters, not
the overall memory limit. There is a command for changing the default; I
thought it was "ulimit" but I can't seem to find a specification just at
the moment, and I have to go now.
Regards,
Philip
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email