[Varnish] #315: assertion in STP_LOOKUP

Varnish varnish-bugs at projects.linpro.no
Mon Sep 8 18:49:34 CEST 2008

#315: assertion in STP_LOOKUP
 Reporter:  sky       |        Owner:  phk      
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:  After 2.0
Component:  varnishd  |      Version:  trunk    
 Severity:  normal    |   Resolution:           
 Keywords:            |  
Changes (by phk):

  * milestone:  => After 2.0


 This looks patently impossible to me.

 Either the thread came out of cnt_recv() the only way to get to
 STP_LOOKUP, but that has an return(0) so it wouldn't break the loop in

 Alternatively it came out of cnt_lookup(), which is indeed possible if we
 encounter a busy object.
 But in that case we explicitly set sp->wrk->used to TIM_real() if it is
 still NAN.

 All other returns from cnt_lookup() have different STP_*.

 Until more data arrives, there's not much we can do.

Ticket URL: <http://varnish.projects.linpro.no/ticket/315#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list