Re: [pcre-dev] Win32 JIT Access Violation

Top Page

Reply to this message
Author: Zoltán Herczeg
Date:  
To: pcre-dev@exim.org, Ralf Junker
Subject: Re: [pcre-dev] Win32 JIT Access Violation
Hi Ralf,

thank you for the report. I don't have C++Builder, so I would need some help. The pattern is quite big, is it possible to simplify it? Also bisecting the change which broke it would be a great help as well.

Regards,
Zoltan
 
-------- Eredeti levél --------
Feladó: Ralf Junker < ralfjunker@??? (Link -> mailto:ralfjunker@gmx.de) >
Dátum: 2019 november 13 18:52:42
Tárgy: [pcre-dev] Win32 JIT Access Violation
Címzett: pcre-dev@??? < pcre-dev@??? (Link -> mailto:pcre-dev@exim.org) >
I am receiving an access violation running pcre2test.exe (SVN 1184)
against testinput2 on Win32. It is caused by the pattern in the attached
test.txt.
Command line:
pcre2test.exe -jit -q -8 test.txt
The AV triggers in sljitNativeX86_common.c, line 459:
if (type == SLJIT_JUMP) {<!-- -->
if (short_jump)
*code_ptr++ = JMP_i8;
else
/* AV -> */ *code_ptr++ = JMP_i32; /* <- AV */
jump->addr++;
}
Only Win32 JIT is affected. The compiler is C++Builder.
Win64 has no issues, neither does non-JIT mode.
Could anyone reproduce my findings?
Many thanks,
Ralf