[Varnish] #1552: Panic Message - current master cache_session.c

Varnish varnish-bugs at varnish-cache.org
Wed Jul 23 11:35:53 CEST 2014


#1552: Panic Message - current master cache_session.c
------------------------+--------------------
 Reporter:  hjanuschka  |       Type:  defect
   Status:  new         |   Priority:  normal
Milestone:              |  Component:  build
  Version:  trunk       |   Severity:  normal
 Keywords:              |
------------------------+--------------------
 after upgrade to current master: ac4e79e5ec3d037bfe0c009dd53d266368d1108d

 varnish keeps on crashing - syslog messages show following

 Panic message:#012Assert error in SES_ReleaseReq(), cache/cache_session.c
 line 401:#012  Condition((req->vsl->wid) == 0) not true.#012thread =
 (cache-worker)#012ident =
 Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Backtrace:#012
 0x434c45: pan_ic+0xc5#012  0x43e648: SES_ReleaseReq+0x208#012  0x42e663:
 HTTP1_Session+0x663#012  0x43d188: ses_req_pool_task+0x68#012  0x43e1f9:
 SES_pool_accept_task+0x299#012  0x437b00: Pool_Work_Thread+0x370#012
 0x44a3be: wrk_thread_real+0xae#012  0x7ffe9fceeb50: /lib/x86_64-linux-
 gnu/libpthread.so.0(+0x6b50) [0x7ffe9fceeb50]#012  0x7ffe9fa390ed:
 /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ffe9fa390ed]#012req =
 0xda2500 {#012  sp = 0x7ffe90021410, vxid = 262152,  step =
 R_STP_RESTART,#012  req_body = R_BODY_INIT,#012  restarts = 0, esi_level =
 0#012  sp = 0x7ffe90021410 {#012    fd = 13, vxid = 262151,#012    client
 = 46.75.92.174 50048,#012    step = S_STP_NEWREQ,#012  },#012  ws =
 0xda2690 {#012    id = "req",#012    {s,f,r,e} =
 {0xda44e8,0xda44e8,+32768,+57368},#012  },#012  http[req] = {#012    ws =
 (nil)[]#012  },#012},#012

 before the upgrade i stopped varnish - and remove the vsm file.
 calling varnishlog often returned:
 "Log abandoned
 Log reacquired"

 varnishadm sometimes returned:
 "root at loki /opt/varnish/bin $ ./varnishadm
 Cannot open /opt/varnish/var/varnish/loki/_.vsm: No such file or directory
 "



 system: debian 7 - amd64 - all updates installed

 after downgrading back to my last-known-good commit - id everthing works

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



More information about the varnish-bugs mailing list