[Varnish] #1337: Bad assert causes panic on invalid http status codes

Varnish varnish-bugs at varnish-cache.org
Thu Sep 5 13:35:16 CEST 2013


#1337: Bad assert causes panic on invalid http status codes
----------------------+--------------------
 Reporter:  mha       |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  3.0.4
 Severity:  major     |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by mha):

 Some panic dump data:


 Last panic at: Sat, 24 Aug 2013 19:06:06 GMT
 Assert error in http_StatusMessage(), cache_http.c line 103:
   Condition(status >= 100 && status <= 999) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.32-358.11.1.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42f718: /usr/sbin/varnishd() [0x42f718]
   0x429d05: /usr/sbin/varnishd(http_StatusMessage+0x75) [0x429d05]
   0x42d892: /usr/sbin/varnishd(http_DissectResponse+0x152) [0x42d892]
   0x424a02: /usr/sbin/varnishd(FetchHdr+0x412) [0x424a02]
   0x41679c: /usr/sbin/varnishd() [0x41679c]
   0x4191ad: /usr/sbin/varnishd(CNT_Session+0x67d) [0x4191ad]
   0x431461: /usr/sbin/varnishd() [0x431461]
   0x3d37a07851: /lib64/libpthread.so.0() [0x3d37a07851]
   0x3d372e890d: /lib64/libc.so.6(clone+0x6d) [0x3d372e890d]
 sp = 0x7f61450a7008 {
   fd = 172, id = 172, xid = 1298842466,
   client = 127.0.6.1 24072,
   step = STP_FETCH,
   handling = pass,
   restarts = 0, esi_level = 0
   flags =
   bodystatus = 4
   ws = 0x7f61450a7080 {
     id = "sess",
     {s,f,r,e} = {0x7f61450a7c78,+1960,(nil),+65536},
   },

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




More information about the varnish-bugs mailing list