[Varnish] #1846: varnishlog assert in vslc_vtx_next

Varnish varnish-bugs at varnish-cache.org
Wed Jan 20 17:04:33 CET 2016


#1846: varnishlog assert in vslc_vtx_next
------------------------+--------------------
 Reporter:  felipewd    |       Type:  defect
   Status:  new         |   Priority:  normal
Milestone:              |  Component:  build
  Version:  4.1.0       |   Severity:  normal
 Keywords:  varnishlog  |
------------------------+--------------------
 When using varnish with 20k/sec requests and a small log, varnishlog
 crashes after a few minutes.

 {{{
 (gdb) bt
 #0  0x00007ffff6c77f97 in raise () from /lib64/libc.so.6
 #1  0x00007ffff6c79bfa in abort () from /lib64/libc.so.6
 #2  0x00007ffff79ace0c in VAS_Fail_default (func=0x7ffff79cc577
 <__func__.4093> "vslc_vtx_next", file=0x7ffff79cbbaa "vsl_dispatch.c",
 line=285,
     cond=0x7ffff79cbc78 "c->offset <= c->vtx->len", kind=VAS_ASSERT) at
 ../libvarnish/vas.c:69
 #3  0x00007ffff79ba463 in vslc_vtx_next (cursor=0x60b738) at
 vsl_dispatch.c:285
 #4  0x00007ffff79b8ddb in VSL_Next (cursor=0x60b738) at vsl_cursor.c:479
 #5  0x00007ffff79c193d in VSL_PrintTransactions (vsl=0x60a030,
 pt=0x7fffffffdfd0, fo=0x7ffff7007740 <_IO_2_1_stdout_>) at vsl.c:382
 #6  0x000000000040253c in vut_dispatch (vsl=0x60a030,
 trans=0x7fffffffdfd0, priv=0x0) at ../../lib/libvarnishtools/vut.c:99
 #7  0x00007ffff79bd84d in vslq_callback (vslq=0x60a200, vtx=0x0,
 func=0x4024ca <vut_dispatch>, priv=0x0) at vsl_dispatch.c:980
 #8  0x00007ffff79bebe4 in vslq_process_ready (vslq=0x60a200, func=0x4024ca
 <vut_dispatch>, priv=0x0) at vsl_dispatch.c:1302
 #9  0x00007ffff79befa8 in VSLQ_Dispatch (vslq=0x60a200, func=0x4024ca
 <vut_dispatch>, priv=0x0) at vsl_dispatch.c:1368
 #10 0x00000000004035d0 in VUT_Main () at
 ../../lib/libvarnishtools/vut.c:386
 #11 0x0000000000402451 in main (argc=1, argv=0x7fffffffe2b8) at
 varnishlog.c:173
 (gdb) f 3
 #3  0x00007ffff79ba463 in vslc_vtx_next (cursor=0x60b738) at
 vsl_dispatch.c:285
 285     in vsl_dispatch.c
 (gdb) p c->offset
 $5 = 6951
 (gdb) p c->vtx->len
 $7 = 650
 }}}

 The full backtrace is:

 {{{
 (gdb) bt full
 #0  0x00007ffff6c77f97 in raise () from /lib64/libc.so.6
 No symbol table info available.
 #1  0x00007ffff6c79bfa in abort () from /lib64/libc.so.6
 No symbol table info available.
 #2  0x00007ffff79ace0c in VAS_Fail_default (func=0x7ffff79cc577
 <__func__.4093> "vslc_vtx_next", file=0x7ffff79cbbaa "vsl_dispatch.c",
 line=285,
     cond=0x7ffff79cbc78 "c->offset <= c->vtx->len", kind=VAS_ASSERT) at
 ../libvarnish/vas.c:69
         err = 0
 #3  0x00007ffff79ba463 in vslc_vtx_next (cursor=0x60b738) at
 vsl_dispatch.c:285
         c = 0x60b730
         ptr = 0x20f653d564
         __func__ = "vslc_vtx_next"
 #4  0x00007ffff79b8ddb in VSL_Next (cursor=0x60b738) at vsl_cursor.c:479
         tbl = 0x7ffff7bd4320 <vslc_vtx_tbl>
         __func__ = "VSL_Next"
 #5  0x00007ffff79c193d in VSL_PrintTransactions (vsl=0x60a030,
 pt=0x7fffffffdfd0, fo=0x7ffff7007740 <_IO_2_1_stdout_>) at vsl.c:382
         t = 0x7fffffffdff0
         i = 0
         delim = 1
         verbose = 0
         __func__ = "VSL_PrintTransactions"
 #6  0x000000000040253c in vut_dispatch (vsl=0x60a030,
 trans=0x7fffffffdfd0, priv=0x0) at ../../lib/libvarnishtools/vut.c:99
         i = 0
         __func__ = "vut_dispatch"
 #7  0x00007ffff79bd84d in vslq_callback (vslq=0x60a200, vtx=0x0,
 func=0x4024ca <vut_dispatch>, priv=0x0) at vsl_dispatch.c:980
         n = 1
         vtxs = 0x7fffffffe020
         trans = 0x7fffffffdff0
         ptrans = 0x7fffffffdfd0
         i = 1
         j = 1
         __func__ = "vslq_callback"
 #8  0x00007ffff79bebe4 in vslq_process_ready (vslq=0x60a200, func=0x4024ca
 <vut_dispatch>, priv=0x0) at vsl_dispatch.c:1302
 ---Type <return> to continue, or q <return> to quit---
         vtx = 0x60b590
         i = 0
         __func__ = "vslq_process_ready"
 #9  0x00007ffff79befa8 in VSLQ_Dispatch (vslq=0x60a200, func=0x4024ca
 <vut_dispatch>, priv=0x0) at vsl_dispatch.c:1368
         i = 1
         r = 0
         now = 2847820.978886629
         vtx = 0x60a310
         __func__ = "VSLQ_Dispatch"
 #10 0x00000000004035d0 in VUT_Main () at
 ../../lib/libvarnishtools/vut.c:386
         c = 0x0
         i = 1
         __func__ = "VUT_Main"
 #11 0x0000000000402451 in main (argc=1, argv=0x7fffffffe2b8) at
 varnishlog.c:173
         opt = -1
         __func__ = "main"
 }}}

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



More information about the varnish-bugs mailing list