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

Varnish varnish-bugs at varnish-cache.org
Wed Jul 23 14:25:44 CEST 2014


#1552: Panic Message - current master cache_session.c
------------------------+--------------------
 Reporter:  hjanuschka  |       Owner:
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:
Component:  build       |     Version:  trunk
 Severity:  normal      |  Resolution:
 Keywords:              |
------------------------+--------------------
Description changed by lkarsten:

Old description:

> 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

New description:

 after upgrade to current master: ac4e79e5ec3d037bfe0c009dd53d266368d1108d

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

 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#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list