Ticket #160 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

Wrong PNG output

Reported by: human Owned by: oetiker
Priority: major Milestone:
Component: rrd_graph Version:
Keywords: Cc: wferi@…

Description

On a Debian Lenny system (RRDtool 1.2.27) I can reliably generate wrong PNG output Download out of the files attachment:delay.rrd Download and attachment:jitter.rrd Download with the following command:

sudo date -s @1213373417
rrdtool graph ntp.png --start -30h --end 1213367339 \
	--height 175 \
	"DEF:goffset=offset.rrd:42:AVERAGE" \
	"LINE2:goffset#0022ff:Offset " \
	"DEF:gjitter=jitter.rrd:42:AVERAGE" \
	"LINE2:gjitter#ff0000:Jitter "

Setting the system date at first is essential, the good and bad results have an almost 15-minute periodic pattern as described by attachment:graph.log.gz Download (the first column is the Unix date, the second is 1 for bad and 2 for good output).

Attachments

delay.rrd Download (49.4 KB) - added by human 4 years ago.
graph.log.gz Download (165.4 KB) - added by human 4 years ago.
jitter.rrd Download (49.4 KB) - added by human 4 years ago.
ntp.png Download (16.5 KB) - added by human 4 years ago.

Change History

Changed 4 years ago by human

Changed 4 years ago by human

Changed 4 years ago by human

Changed 4 years ago by human

comment:1 Changed 4 years ago by oetiker

  • Status changed from new to assigned

I can reproduce the problem with

 rrdtool graph ntp.png --start 1213373417-30h --end 1213367339 --height 175 "DEF:goffset=delay.rrd:42:AVERAGE" "LINE2:goffset#0022ff:Offset " "DEF:gjitter=jitter.rrd:42:AVERAGE" "LINE2:gjitter#ff0000:Jitter "

even without changing the system time ...

interestingly enough it disapers when calling

rrdtool graph ntp.png --start 1213373417-30h --end 1213367339 --height 180 "DEF:goffset=delay.rrd:42:AVERAGE" "LINE2:goffset#0022ff:Offset " "DEF:gjitter=jitter.rrd:42:AVERAGE" "LINE2:gjitter#ff0000:Jitter "

this was one of the reasons for switching to a different graphing library with rrdtool 1.3. I think we are just hitting jet another instability point in cairo here ...

is upgrading to rrdtool 1.3 an option for you ?

cheers tobi

comment:2 Changed 4 years ago by oetiker

oops wanted to say libart ... not cairo!

comment:3 Changed 4 years ago by human

If the rrdtool transition happens before the Debian Lenny release, then yes. :) Otherwise, I'll probably have to live with it. Not too serious, and self-curing, fortunately.

Cheers, Feri.

comment:4 Changed 4 years ago by oetiker

  • Status changed from assigned to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.