| Summary: | rrdtool-1.2.8 - rrd_create_r segfault | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | TAKAHASHI, Hideaki <hide-t> |
| Component: | [OLD] Library | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | amd64, rockoo |
| Priority: | High | Keywords: | Inclusion |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
This patch will fixed rrdtool-1.2.8/src/rrd_create.c
minimal sample code |
||
|
Description
TAKAHASHI, Hideaki
2005-05-30 08:14:32 UTC
Created attachment 60195 [details, diff]
This patch will fixed rrdtool-1.2.8/src/rrd_create.c
Can someone from amd64 test please and confirm this? Created attachment 60222 [details]
minimal sample code
To test.
% gcc zzz.c -l rrd
% ./a.out /tmp/z.rrd --step 300 DS:in0:GAUGE:1500:-25:25 \
RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \
RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400
and, next failes too.
% rrdtool create --step 300 DS:in0:GAUGE:1500:-25:25 \
RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \
RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400
> and, next failes too.
> % rrdtool create --step 300 DS:in0:GAUGE:1500:-25:25 \
> RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \
> RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400
oops. It needs target filename.
% rrdtool create /tmp/test.rrd --step ....
I found rrdtools-1.2.9 fixed this problem.
can we close this one? a tcl issue was fixed 18-may-05 says changelog and there is no prob w/ 1.2.9 ok. rrdtool-1.2.9 seems good. I took 1.2.8 out for a different bug, so it should be good for this one too. I see the patch suggested by Takahashi is included in 1.2.10, so I think we are done with this issue. Thanks for reporting. |