[Varnish] #741: varnish{top, stat} crash ("Assert error") when output scrolls past shell window height

Varnish varnish-bugs at varnish-cache.org
Sun Jul 25 22:42:52 CEST 2010


#741: varnish{top,stat} crash ("Assert error") when output scrolls past shell
window height
-------------------------+--------------------------------------------------
 Reporter:  rb           |       Owner:  phk  
     Type:  defect       |      Status:  new  
 Priority:  normal       |   Milestone:       
Component:  varnishstat  |     Version:  trunk
 Severity:  critical     |    Keywords:       
-------------------------+--------------------------------------------------
 i've,

 varnishd -V
  varnishd (varnish-trunk SVN 5048)
  Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS

 uname -a
  Linux svr 2.6.34-12-xen #1 SMP 2010-06-29 02:39:08 +0200 i686 i686 i386
 GNU/Linux

 lsb_release -a
  LSB Version:
 core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch
  Distributor ID: SUSE LINUX
  Description:    openSUSE 11.3 (i586)
  Release:        11.3
  Codename:       n/a


 if i execute 'varnishtop' or 'varnishstat', and output scrolls past
 vertical height/extent of the shell window i'm in, it crashes with:

 ---------------------
 varnishstat -n alpha

 Assert error in do_curses(), varnishstat_curses.c line 216:
 Condition((mvprintw(line, 0, "%12ju %12.2f %12.2f %s\n", ju, (ju -
 (intmax_t)pt->ref)/lt, ju / up, pt->name)) != ERR) not true.
                                           Abort

 ---------------------
 varnishtop -n alpha
 Assert error in update(), varnishtop.c line 171:
 Condition((mvprintw(l, 0, "%9.2f %-*.*s %*.*s\n", tp->count, maxfieldlen,
 maxfieldlen, VSL_tags[tp->tag], len, len, tp->rec_data)) != ERR) not true.
                                           Abort

 ---------------------

 fully reproducible.

-- 
Ticket URL: <http://varnish-cache.org/ticket/741>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list