Mac and regular expressions

Martin Aspeli optilude at
Thu Jul 5 14:03:38 CEST 2007


I think I'm being bitten by a bug related to Mac OS X (10.4) and regular

I've build Varnish using MacPorts, and also tried to build manually. To get it
to build manually, I've had to apply this patch:

The result is the same, though.

The default Varnish config works fine, but as soon as I use a regular expression
(e.g. if(req.url ~ "\.(css|js)$") { ...} or whatever) in a custom VCL file, I
get this error:

$ /usr/local/sbin/varnishd -a localhost:8080  -f /etc/varnish.conf 
Assert error in mgt_CallCc(), mgt_vcc.c line 214:
  Condition((dlclose(p)) == 0) not true.
  errno = 2 (No such file or directory)
Abort trap

That error is described in and I
added a note there, but I think the underlying issue may be different.

Is there something more I can do to debug this problem? Has anyone else seen it?


More information about the varnish-misc mailing list