Re: [pcre-dev] Win32 JIT Access Violation

Top Page

Reply to this message
Author: Zoltán Herczeg
To:, 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.

-------- Eredeti levél --------
Feladó: Ralf Junker < ralfjunker@??? (Link -> >
Dátum: 2019 november 13 18:52:42
Tárgy: [pcre-dev] Win32 JIT Access Violation
Címzett: pcre-dev@??? < pcre-dev@??? (Link -> >
I am receiving an access violation running pcre2test.exe (SVN 1184)
against testinput2 on Win32. It is caused by the pattern in the attached
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;
/* AV -> */ *code_ptr++ = JMP_i32; /* <- AV */
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,