Open cmock opened 12 years ago
Interesting. Give me a couple of days to build and test 3.2.27 and let's see if it still occurs in that one.
One more thing - does cricket reliably trigger this bug? If I install it on my RPi should I be able to replicate this easily?
And lastly, I notice cricket hasn't been updated since 2004. You may want to give Munin or Cacti a look if you want something newer - not that this is in any way a fix to your problem.
I have a simple and reproducible test case now:
rrdtool create /tmp/test.rrd --start 1344258765 --step 300 DS:ds0:GAUGE:1800:0:U DS:ds1:GAUGE:1800:0:U DS:ds2:GAUGE:1800:0:U DS:ds3:GAUGE:1800:0:U DS:ds4:DERIVE:1800:0:U DS:ds5:DERIVE:1800:0:U DS:ds6:DERIVE:1800:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:600 RRA:AVERAGE:0.5:24:600 RRA:MAX:0.5:24:600 RRA:AVERAGE:0.5:288:600 RRA:MAX:0.5:288:600
You need to apt-get install rrdtool, obviously, and it can be run as an ordinary user.
Note that I'm using raspian, so this is armhf -- no idea if that is relevant.
Package versions:
ii rrdtool 1.4.7-1 time-series data storage and display system
ii libc6:armhf 2.13-33 Embedded GNU C Library: Shared libraries
ii libcairo2:armh 1.12.2-2 The Cairo 2D vector graphics library
ii libdbi1 0.8.4-6 DB Independent Abstraction Layer for C -- sh
ii libglib2.0-0:a 2.32.3-1 GLib library of C routines
ii libpango1.0-0: 1.30.0-1 Layout and rendering of internationalized te
ii libpng12-0:arm 1.2.49-1 PNG library - runtime
ii librrd4 1.4.7-1 time-series data storage and display system
ii libxml2:armhf 2.8.0+dfsg1-5 GNOME XML library
There's a reproducible kernel bug in 3.2.23-rpi1+ -- whenever cricket (http://cricket.sourceforge.net/) tries to create an RRD file, this occurs; it does not happen on other file creations...