[Varnish] #1068: Restart in vcl_deliver on a hit will cause segfault

Varnish varnish-bugs at varnish-cache.org
Tue Dec 6 11:20:22 CET 2011

#1068: Restart in vcl_deliver on a hit will cause segfault
 Reporter:  martin  |        Owner:        
     Type:  defect  |       Status:  closed
 Priority:  normal  |    Milestone:        
Component:  build   |      Version:  trunk 
 Severity:  normal  |   Resolution:  fixed 
 Keywords:          |  
Changes (by Martin Blix Grydeland <martin@…>):

  * status:  new => closed
  * resolution:  => fixed


 (In [3d723fdab10f10c7f062e8350e1b81a341b28a21]) Rework the busyobj

 This patch reworks busyobj handling so that busyobjs are owned by the
 issuing worker, and the worker should explicitly release it when done with
 it. A busy objcore only lends a pointer to it. This is to fix the current
 situation where the owning party is murky, and the current code will leak
 busyobjs in at least one situation.

 BusyObj's are reference counted in preperation for the streaming code.

 Patch also adds several asserts to help make sure the busyobjs are sound.

 Fixes: #1068

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1068#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list