<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1472164607;
        mso-list-type:hybrid;
        mso-list-template-ids:-791271430 1682330256 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-start-at:418;
        mso-level-text:%1;
        mso-level-tab-stop:42.75pt;
        mso-level-number-position:left;
        margin-left:42.75pt;
        text-indent:-42.75pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m not sure if I’m doing something wrong or
what. I know when I submitted my patch for --full-size-mode my rrdtool
calls were working fine. Since then, I’ve discovered an unintended
feature where --full-size-mode doesn’t act right with --no-legend. In
the course of trying to fix this, I updated my working copy to the repo’s
version of the patch, which apparently included some other changes then. Since
recompiling from then on it seems that none of my rrdtool cards are working
right. They segfault on any time I actually call an rrd (I’ve only
tried info and graph, but probably any subcommand). I recompiled with -g
-O0 and ran it through gdb, and I got this:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Starting program: /frogstar/usr/ppc/bin/rrdtool info
/var/lib/ganglia/rrds/__SummaryInfo__/swap_free.rrd<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Program received signal SIGSEGV, Segmentation fault.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>0x0ff6d1cc in rrd_close (rrd_file=0x0) at rrd_open.c:418<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:42.75pt;text-indent:-42.75pt;mso-list:
l0 level1 lfo1'><![if !supportLists]><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><span style='mso-list:Ignore'>418<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>ret =
munmap(rrd_file->file_start, rrd_file->file_len);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Now I’m sure I didn’t change anything in
rrd_open, so is this a new bug, or am I missing something? I just need to
make sure I’m not crazy.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Matt<o:p></o:p></span></font></p>
</div>
</body>
</html>