[Varnish] #325: assert bug error - trunk r3102

Varnish varnish-bugs at projects.linpro.no
Fri Sep 19 18:29:39 CEST 2008


#325: assert bug error - trunk r3102
--------------------+-------------------------------------------------------
 Reporter:  alex    |        Owner:        
     Type:  defect  |       Status:  closed
 Priority:  normal  |    Milestone:        
Component:  build   |      Version:  trunk 
 Severity:  normal  |   Resolution:  fixed 
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => fixed

Old description:

> hello chaps,
>
> had a bug today with trunk r-3102, ive included the errors here:
>
> child (8803) Started
> Child (8803) said Closed fds: 4 6 10 11 13 14
> Child (8803) said Child starts
> Child (8803) said managed to mmap 169279488 bytes of 169279488
> Child (8803) said Ready
> Child (8803) died signal=6
> Child (8803) Panic message: Assert error in Tcheck(), cache.h line 671:
>   Condition((t.b) != 0) not true.  thread = (cache-worker)sp = 0x87e8b5c
> {
>   fd = 10, id = 10, xid = 1302308084,
>   client = 172.31.101.23:3184,
>   step = STP_FETCH,
>   handling = FETCH,
>   ws = 0x87e8ba4 {
>     id = "sess",
>     {s,f,r,e} = {0x87e9024,,+727,(nil),+8192},
>   },
>     worker = 0x9f7d0170 {
>     },
>     vcl = {
>       srcname = {
>         "/etc/varnish/mt.nvweb1.vcl.0001",
>         "Default",
>       },
>     },
>   obj = 0xa65dc000 {
>     refcnt = 1, xid = 1302308084,
>     ws = 0xa65dc018 {
>       id = "obj",
>       {s,f,r,e} = {0xa65dc1e4,,0xa65dc1e4,(nil),+7708},
>     },
>     http = {
>       ws = 0xa65dc018 {
>         id = "obj",
>         {s,f,r,e} = {0xa65dc1e4,,0xa65dc1e4,(nil),+7708},
>       },
>     },
>     len = 0,
>     store = {
>     },
>   },
> },
>

> ############ GDB crash: trace: http://pastebin.com/m21a25556
>

>
> my config:
>
> http://pastebin.com/m2b986796
>
> ###########################
>
> seems that if i were to goto a cgi regex match it would varnish would
> crash, however, going to the "/tag/" regex match it would _not_ assert
> crash.

New description:

 hello chaps,

 had a bug today with trunk r-3102, ive included the errors here:
 {{{
 child (8803) Started
 Child (8803) said Closed fds: 4 6 10 11 13 14
 Child (8803) said Child starts
 Child (8803) said managed to mmap 169279488 bytes of 169279488
 Child (8803) said Ready
 Child (8803) died signal=6
 Child (8803) Panic message: Assert error in Tcheck(), cache.h line 671:
   Condition((t.b) != 0) not true.  thread = (cache-worker)sp = 0x87e8b5c {
   fd = 10, id = 10, xid = 1302308084,
   client = 172.31.101.23:3184,
   step = STP_FETCH,
   handling = FETCH,
   ws = 0x87e8ba4 {
     id = "sess",
     {s,f,r,e} = {0x87e9024,,+727,(nil),+8192},
   },
     worker = 0x9f7d0170 {
     },
     vcl = {
       srcname = {
         "/etc/varnish/mt.nvweb1.vcl.0001",
         "Default",
       },
     },
   obj = 0xa65dc000 {
     refcnt = 1, xid = 1302308084,
     ws = 0xa65dc018 {
       id = "obj",
       {s,f,r,e} = {0xa65dc1e4,,0xa65dc1e4,(nil),+7708},
     },
     http = {
       ws = 0xa65dc018 {
         id = "obj",
         {s,f,r,e} = {0xa65dc1e4,,0xa65dc1e4,(nil),+7708},
       },
     },
     len = 0,
     store = {
     },
   },
 },


 ############ GDB crash: trace: http://pastebin.com/m21a25556



 my config:

 http://pastebin.com/m2b986796

 ###########################
 }}}
 seems that if i were to goto a cgi regex match it would varnish would
 crash, however, going to the "/tag/" regex match it would _not_ assert
 crash.

Comment:

 Fixed in r3203, the problem is the missing reason string from your backend
 which the code had degenerated to not handling.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/325#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list