------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1162
--- Comment #9 from Zoltan Herczeg <hzmester@???> 2011-10-05 22:08:00 ---
As I suspected it is simply a stack overflow. I have converted the regex and
the input to a text file which is accepted by pcretest.
On a 64 bit x86 machine with -O2:
./pcretest -S 20 crashtest
- crashes
./pcretest -S 21 crashtest
- does not crash
So the test requires about 20MByte of stack now.
I did the same test with 8.12
./pcretest -S 1 crashtest
- crashes
./pcretest -S 2 crashtest
- does not crash
It was only 2 MByte before.
Just for curiousity I run the test with JIT (-s+). In that case the test only
requires 17Kbyte memory and produces the same output as the original.
I know Philip has changed the atomic block handling not so long ago. For
example now we have unique opcode for possessive quantifiers. He probably knows
more why the memory consumption is increased that much.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email