[rrd-users] Core dump on large step sizes

This is a discussion on [rrd-users] Core dump on large step sizes within the RRD Users forums, part of the Networking and Network Related category; I'm getting a core dump with rrdtool 1.2.19 when graphing data with large step sizes (1 year). ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2008
Mike Schilli
 
Posts: n/a
Default [rrd-users] Core dump on large step sizes

I'm getting a core dump with rrdtool 1.2.19 when graphing data with
large step sizes (1 year). Here's the commands to reproduce it:

rrdtool create myrrdfile.rrd --step 31536000 \
DS:money:GAUGE:63072000:U:U \
RRA:MAX:0.5:1:5000

rrdtool update myrrdfile.rrd 1311653013:100000

rrdtool graph mygraph.png --end 1369419413 --start 1211653003 \
DEF:draw1=myrrdfile.rrd:money:MAX "AREA:draw1#0000FF:Example"

Stacktrace:

======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7d70d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d74800]
/usr/lib/librrd.so.2(rrd_free+0x24)[0xb7ed5aa4]
/usr/lib/librrd.so.2(rrd_fetch_fn+0x607)[0xb7eb86c7]
/usr/lib/librrd.so.2(data_fetch+0x21b)[0xb7ebed8b]
/usr/lib/librrd.so.2(graph_paint+0x44)[0xb7ebffa4]
/usr/lib/librrd.so.2(rrd_graph+0x121)[0xb7ec2051]
/usr/lib/librrd.so.2(HandleInputLine+0x10db)[0xb7ed140b]
/usr/lib/librrd.so.2(main+0x92)[0xb7ed15e2]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7d1d050]
/usr/bin/rrdtool(main+0x3d)[0x8048401]

Is this something that has been fixed in later versions?

-- Mike

Mike Schilli
m@perlmeister.com

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply With Quote
  #2 (permalink)  
Old 05-27-2008
Tobias Oetiker
 
Posts: n/a
Default Re: [rrd-users] Core dump on large step sizes

Hi Mike,

you have setup an rrd file covering the next 5000 years ...
this may be triggering all sorts of interseting overflows ...

it me be that this particular problem is fixed in a later 1.2.x
release, but in general you can not relie on sensible behaviour
from rrdtool for times outside the 32bit unix time range ...

in 1.4.x I will address this problem together with the update of
the database format ...

cheers
tobi

Saturday Mike Schilli wrote:

> I'm getting a core dump with rrdtool 1.2.19 when graphing data with
> large step sizes (1 year). Here's the commands to reproduce it:
>
> rrdtool create myrrdfile.rrd --step 31536000 \
> DS:money:GAUGE:63072000:U:U \
> RRA:MAX:0.5:1:5000
>
> rrdtool update myrrdfile.rrd 1311653013:100000
>
> rrdtool graph mygraph.png --end 1369419413 --start 1211653003 \
> DEF:draw1=myrrdfile.rrd:money:MAX "AREA:draw1#0000FF:Example"
>
> Stacktrace:
>
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0xb7d70d65]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d74800]
> /usr/lib/librrd.so.2(rrd_free+0x24)[0xb7ed5aa4]
> /usr/lib/librrd.so.2(rrd_fetch_fn+0x607)[0xb7eb86c7]
> /usr/lib/librrd.so.2(data_fetch+0x21b)[0xb7ebed8b]
> /usr/lib/librrd.so.2(graph_paint+0x44)[0xb7ebffa4]
> /usr/lib/librrd.so.2(rrd_graph+0x121)[0xb7ec2051]
> /usr/lib/librrd.so.2(HandleInputLine+0x10db)[0xb7ed140b]
> /usr/lib/librrd.so.2(main+0x92)[0xb7ed15e2]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7d1d050]
> /usr/bin/rrdtool(main+0x3d)[0x8048401]
>
> Is this something that has been fixed in later versions?
>
> -- Mike
>
> Mike Schilli
> m@perlmeister.com
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>


--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi@oetiker.ch ++41 62 213 9902

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:02 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0