On Oct 12, 2013, at 12:38 AM, Willy Tarreau <[email protected]> wrote:
> 
> So everything is normal but it crashes. At this time, I'm inclined to
> believe the following causes in order of most to least likely :
> 
>  - bug in libpcre 8.33
> 
>  - bug in how haproxy uses libpcre which is revealed by 8.33
> 
>  - general bug in haproxy that is revealed on your platform when pcre
>    is used
> 
> For last point, you could attempt something, run haproxy with the -dM
> argument. It enables memory poisonning which consists in filling all
> structures with a byte before using them. This immediately catches
> pointers that are dereferenced before being initialized. You may want
> to test with and without libpcre. Maybe it will crash from the very
> first request when using libpcre now, proving there is something wrong
> in our code.


I couldn’t notice any difference running it with -dM.

- Kevin

Reply via email to