reliable varnish crash using pcre

Jason Price japrice at
Wed Aug 5 03:07:42 CEST 2015

Given the following vcl:

vcl 4.0;
import std;
backend localhost {
    .host = "";
    .port = "8080";
sub vcl_recv {
    if (req.url ~ "^((?!_product).)*$") {
        std.log("made it");

The following request causes the crash:

curl "

This ticket discusses the issue:   It's closed, however the
remedies mentioned don't help ("-p thread_pool_stack=64k").  The ticket did
mention a request for minimal VCL to replicate.

Version is 4.0.3.  Rpm's come from EPEL.  I tried to get the repo from to work, but they blew up on dependencies around (despite pcre and pcre-devel being installed).

OS is CentOS 7.1
PCRE version is pcre-8.32-14

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list