[Varnish] #1522: Assert error in cnt_lookup(), cache/cache_req_fsm.c line 416: Condition((oc->exp_flags & (1<<7)) == 0) not true

Varnish varnish-bugs at varnish-cache.org
Tue Jun 10 13:18:38 CEST 2014


#1522: Assert error in cnt_lookup(), cache/cache_req_fsm.c line 416:
Condition((oc->exp_flags & (1<<7)) == 0) not true
----------------------+----------------------------------
 Reporter:  Jay       |       Owner:
     Type:  defect    |      Status:  new
 Priority:  high      |   Milestone:  Varnish 4.0 release
Component:  varnishd  |     Version:  4.0.0
 Severity:  major     |  Resolution:
 Keywords:            |
----------------------+----------------------------------
Description changed by lkarsten:

Old description:

> I found an existing and solved ticket regarding line 417, but not line
> 416
>

> Panic message: Assert error in cnt_lookup(), cache/cache_req_fsm.c line
> 416:   Condition((oc->exp_flags & (1<<7)) == 0) not true. errno = 104
> (Connection reset by peer)
> thread = (cache-worker)
> ident = Linux,3.10.40,x86_64,-smalloc,-smalloc,-hcritbit,epoll
> Backtrace:
>    0x4321f5: pan_ic+0xc5
>    0x4352ae: cnt_lookup+0x94e
>    0x435ba1: CNT_Request+0x831
>    0x42cccb: HTTP1_Session+0x7cb
>    0x439aa8: ses_req_pool_task+0x68
>    0x434679: Pool_Work_Thread+0xa9
>    0x44725e: wrk_thread_real+0xae
>    0x7fbbbd05b1db: /usr/app/glibc/current/lib/libpthread.so.0(+0x81db)
> [0x7fbbbd05b1db]
>    0x7fbbbcd90d4d: /usr/app/glibc/current/lib/libc.so.6(clone+0x6d)
> [0x7fbbbcd90d4d]
> req = 0x7fbba6597520 {
>    sp = 0x7fbbac558c50, vxid = 1077334200,
>    step = R_STP_LOOKUP,
>    req_body = R_BODY_NONE,
>    restarts = 0, esi_level = 0
>    sp = 0x7fbbac558c50 {
>      fd = 3312, vxid = 3592375,
>      client = x.x.x.x 42129,
>      step = S_STP_WORKING,
>    },
>    worker = 0x7fbb74864c70 {
>      ws = 0x7fbb74864e80 {
> }}}

New description:

 I found an existing and solved ticket regarding line 417, but not line 416

 {{{
 Panic message: Assert error in cnt_lookup(), cache/cache_req_fsm.c line
 416:   Condition((oc->exp_flags & (1<<7)) == 0) not true. errno = 104
 (Connection reset by peer)
 thread = (cache-worker)
 ident = Linux,3.10.40,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
    0x4321f5: pan_ic+0xc5
    0x4352ae: cnt_lookup+0x94e
    0x435ba1: CNT_Request+0x831
    0x42cccb: HTTP1_Session+0x7cb
    0x439aa8: ses_req_pool_task+0x68
    0x434679: Pool_Work_Thread+0xa9
    0x44725e: wrk_thread_real+0xae
    0x7fbbbd05b1db: /usr/app/glibc/current/lib/libpthread.so.0(+0x81db)
 [0x7fbbbd05b1db]
    0x7fbbbcd90d4d: /usr/app/glibc/current/lib/libc.so.6(clone+0x6d)
 [0x7fbbbcd90d4d]
 req = 0x7fbba6597520 {
    sp = 0x7fbbac558c50, vxid = 1077334200,
    step = R_STP_LOOKUP,
    req_body = R_BODY_NONE,
    restarts = 0, esi_level = 0
    sp = 0x7fbbac558c50 {
      fd = 3312, vxid = 3592375,
      client = x.x.x.x 42129,
      step = S_STP_WORKING,
    },
    worker = 0x7fbb74864c70 {
      ws = 0x7fbb74864e80 {
 }}}

--

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



More information about the varnish-bugs mailing list