Re: [pcre-dev] Win32 JIT Access Violation

Page principale
Supprimer ce message
Auteur: Ralf Junker
Date:  
À: pcre-dev@exim.org
Sujet: Re: [pcre-dev] Win32 JIT Access Violation
Hello Zoltan,

thanks for following up! I began bisecting and it turned out that
standard configuration does not trigger the AV.

The following changes are needed to config.h, a plain copy of
config.h.generic:

#define SUPPORT_JIT 1

While JIT support is obvious, the next one may be not:

#define NEWLINE_DEFAULT 3

As I am on Windows, I configure PCRE2 to use CRLF as the default line
break sequence. With this change, the AV triggers immediately.

This is for SVN 1184. I continue bisecting now ...

Ralf

On 19.11.2019 08:48, Zoltán Herczeg wrote:

> I suspect something is wrong with code generation. Maybe the total size
> of the buffer is incorrect. The four bytes after addr=:001DFFFE affects
> two pages, and I suspect something is wrong with the page starting from
> 001E0000 (not allocated or not writable).
>
> Anyway I suspect Philip wants to release PCRE2 as soon as possible, so
> if you don't mind we could track this down after the release.