[Varnish] #1043: Missing errorhandling code in FetchBody(), cache_fetch.c line 516: Condition((w->vfp->end(sp)) == 0) not true.errno = 12 (Cannot allocate memory)

Varnish varnish-bugs at varnish-cache.org
Wed Oct 26 15:14:51 CEST 2011


#1043: Missing errorhandling code in FetchBody(), cache_fetch.c line 516:
Condition((w->vfp->end(sp)) == 0) not true.errno = 12 (Cannot allocate
memory)
--------------------+-------------------------------------------------------
 Reporter:  martin  |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  build   |     Version:  3.0.1
 Severity:  normal  |    Keywords:       
--------------------+-------------------------------------------------------
 Tested on 3.0.2-rc1, with patch from #1036 applied.

 When having do_gzip and failing to free enough memory through LRU
 (exceeding nuke_limit), this assert sometimes is triggered. The error
 stems from vfp_gzip_end() returning -1 when VGZ_ObufStorage() is called
 and fails.

 See attached panic message.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1043>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list