Mailing List Archive

#1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(), cache/cache_esi_deliver.c (rev 15773a9)
#1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(),
cache/cache_esi_deliver.c (rev 15773a9)
-------------------+----------------------
Reporter: geoff | Type: defect
Status: new | Priority: normal
Milestone: Later | Component: varnishd
Version: trunk | Severity: normal
Keywords: |
-------------------+----------------------
Testing a trunk build, rev 15773a9 built on Friday May 29th, this
assertion failure is reproducible:

{{{
#2 0x000000000043cb24 in pan_ic (func=0x4826c0 "ved_stripgzip",
file=0x48238e "cache/cache_esi_deliver.c", line=466,
cond=0x4825af "start > 0 && start < olen * 8", err=0, kind=VAS_ASSERT)
at cache/cache_panic.c:574
#3 0x000000000041db86 in ved_stripgzip (req=0x2b56cc60a020)
at cache/cache_esi_deliver.c:466
#4 0x000000000041e4bc in ESI_DeliverChild (req=0x2b56cc60a020, bo=0x0)
at cache/cache_esi_deliver.c:631
}}}

From the panic messages and varnishlogs we've seen so far, it seems to
have been an ESI-included 204 No content response in every case.

I'll attach a full stack trace. We can't post the panic message publicly,
but I can send one separately if needed.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(), cache/cache_esi_deliver.c (rev 15773a9) [ In reply to ]
#1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(),
cache/cache_esi_deliver.c (rev 15773a9)
----------------------+--------------------
Reporter: geoff | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Later
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+--------------------

Comment (by geoff):

I've gone through about 10 coredumps, and it was the same situation in
each case -- the assertion failure as shown above, after receiving a 204
No content response in ESI delivery.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(), cache/cache_esi_deliver.c (rev 15773a9) [ In reply to ]
#1746: Assertion failure "start > 0 && start < olen * 8" in ved_stripgzip(),
cache/cache_esi_deliver.c (rev 15773a9)
----------------------+----------------------------------------
Reporter: geoff | Owner: Poul-Henning Kamp <phk@…>
Type: defect | Status: closed
Priority: normal | Milestone: Later
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+----------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* status: new => closed
* owner: => Poul-Henning Kamp <phk@…>
* resolution: => fixed


Comment:

In [9b4080814677ae45cb858b97900046d96226c7d9]:
{{{
#!CommitTicketReference repository=""
revision="9b4080814677ae45cb858b97900046d96226c7d9"
Only bother/do g[un]zip if there actually is a beresp.body.

Fixes: #1746
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs