Hi all, i'm seeing rrdtool basically hanging in horizontal_grid() using --units-exponents, sometimes, not always. The problem is with the following bit of code: for(i=0;ylab[i].grid > 0;i++){ pixel = im->ysize / (scaledrange / ylab[i].grid); if (gridind == -1 && pixel > 5) { gridind = i; break; } } In some cases, pixel is never > 5, which leaves gridind to be -1. The attached diff seems to work, but i'm not sure it's entirely appropriate. -- Attached file removed by Ecartis and put at URL below -- -- Type: text/plain -- Size: 1k (1524 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/rrdtool-1.0.49.diff -- Unsubscribe mailto:rrd-developers-request@list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-developers-request@list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi