[Varnish] #1287: Varnish 3.0.3 - segfault in libvarnish.so.
Varnish
varnish-bugs at varnish-cache.org
Mon Jul 22 14:31:28 CEST 2013
#1287: Varnish 3.0.3 - segfault in libvarnish.so.
------------------------------------+---------------------
Reporter: robroy | Owner: martin
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: segfault libvarnish.so |
------------------------------------+---------------------
Comment (by martin):
This error is caused by passing an empty string to synthetic as the first
part of a string list. This happens because either the file read through
std.fileread is non-existant, or the file is too large to fit in the
workspace while dealing with the temporary header variable in the
vcl_error code. (Note that the synthetic function is able to accept the
result from std.fileread directly, making it unnecessary to pass it
through a temp header. Using the temp header will also result in a large
HTTP header being passed to the client, wasting bandwidth). Patch for this
issue has been sent to the dev list awaiting review.
Martin
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1287#comment:12>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list