Find attached an ebuild including the patch from upstream-trac to fix the segmentation-fault which occurs on usage of RRD::TIME::LAST See http://oss.oetiker.ch/rrdtool-trac/ticket/251 for reference. Reproducible: Always Steps to Reproduce: 1. use RRD::TIME::LAST in a rrdcgi template 2. 3. Actual Results: segfault Expected Results: creation of output
Created attachment 217943 [details, diff] Patch to fix the problem This is the patch supplied from upstream, slightly modified to match the epatch pathes.
Created attachment 217944 [details] Ebuild applying the patch Ebuild applying patch from attachment 217943 [details, diff]
Upstream patch differs from the one attached here: http://oss.oetiker.ch/rrdtool-trac/changeset/2013 Have you tried this ^^ patch?
Fixed in 1.4.3. <http://oss.oetiker.ch/rrdtool/pub/CHANGES>: RRDtool 1.4.3 - 2010-03-22 ========================== [...] * rrd_cgi: make sure that (argv-1)[0] points to something sensible ... hack to undo the damage caused by a senseless optimization. see bug #251 -- tobi oetiker