[rrd-users] rrdtool 1.3.2 segmentation fault on rrdgraph

Raimund Berger raimund.berger at gmail.com
Thu Sep 11 14:55:53 CEST 2008

René GARCIA <rene at margar.fr> writes:

> I've been using rrdtool 1.3.1 with no problem for a couple of monthes. I
> want tu upgrade to 1.3.2 to avoid the data corruption bug and to take
> advantage of speed improvements (I have a lot of graphs to generate every
> 5 minutes). I can compile 1.3.2 (and 1.3.2 svn snapshot) but I can't make
> any rrdgraph call, without a segfault error. rrdupdate and rrdcreate work
> fine.
> I've upgraded to latests versions of cairo/pango/glib libraries but the
> problem remains.
> I'm using perl 5.6.1 to invoke RRDs module. I have a lot of dependancies
> with this version of perl on other projects so I would like to keep it.
> I'm still using rrdtool 1.3.1.
> Is anyone having the same problem ?

I'm having the same problem. Tested it last week and from the core dump
I gathered it crashed it rrd_set_font_desc which apparently is a new

Specifically, the 'font' pointer passed as 2nd param to 
strncpy(im->text_prop[prop].font, font, sizeof(text_prop[prop].font) - 1);
apparently was a null pointer which went in there unchecked.

Switched back to 1.3.0 cause I had other issues on hand at the
time. Having a mixed cairo/pango library setup I couldn't convince
myself to report the problem, cause I'd have felt obliged to further

Maybe 1.3.2 wasn't a mere bugfix release?

Regards, R.

More information about the rrd-users mailing list