[Varnish] #551: Varnish Crash: Missing errorhandling code in HSH_Prepare(), cache_hash.c line 188

Varnish varnish-bugs at projects.linpro.no
Wed Sep 16 18:30:16 CEST 2009


#551: Varnish Crash: Missing errorhandling code in HSH_Prepare(), cache_hash.c
line 188
----------------------+-----------------------------------------------------
 Reporter:  cheerios  |        Owner:  phk    
     Type:  defect    |       Status:  closed 
 Priority:  normal    |    Milestone:         
Component:  varnishd  |      Version:  2.0    
 Severity:  normal    |   Resolution:  invalid
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by kristian):

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

Comment:

 Cheerios: I'm going to close this for now, since this sounds exactly like
 a sess_workspace issue. Feel free to re-open this if you can confirm that
 this is unaffected by sess_workspace. Further discussion should go on the
 mail list though.

 ... and:

 Replying to [comment:4 kb]:
 > Possibly unrelated, but modifying obj in vcl_fetch() will cause crashes
 (see #310); I found out the hard way.

 You mean vcl_hit. The object is safely locked in vcl_fetch, and can be
 modified.

 > Odd though that setting obj.ttl specifically seems to be safe.

 Nah, not really that odd. Setting a ttl fairly atomic, while manipulating
 strings usually means copying and replacing. But this discussion doesn't
 belong here.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/551#comment:5>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list