Package: rrdtool
Version: 1.2.11-0.4
Severity: important
Attempting to use rrdcgi as per the documentation, requests to
a written CGI give 500 Internal Server Error (from /var/log/apache/error.log):
[Mon Jan 9 14:09:22 2006] [error] [client 192.168.0.2] Premature end of
script headers: /usr/lib/cgi-bin/temps.cgi
*** attempt to put segment in horiz list twice
*** glibc detected *** double free or corruption (out): 0x081469c8 ***
Sample script (/usr/lib/cgi-bin/fanspeed.cgi):
#!/usr/bin/rrdcgi
<HTML>
<HEAD> <TITLE>Temp / Fan Charts using RRDCGI</TITLE> </HEAD>
<BODY>
<RRD::GRAPH /var/www/sysinfo/rrdcgi-fan.png
--imginfo '<IMG SRC=/sysinfo/%s WIDTH=%lu HEIGHT=%lu >'
--start -7d
--title="CPU Fan Speed"
-w 800 -h 150
--vertical-label "RPM"
DEF:FAN=/var/local/rrd/mce_sensors.rrd:CPU_Fan:AVERAGE
LINE2:FAN#ff0044:"CPU Fan">
</BODY>
</HTML>
..This is repeatable for any given graph or parameters I've been able to
generate thus far, and only started happening after I upgraded my box
this morning (although no DEPENDed software was upgraded; complete list
available on request)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (200, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2006010301
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages rrdtool depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii librrd2 1.2.11-0.4 Time-series data storage and displ
ii zlib1g 1:1.2.3-9 compression library - runtime
rrdtool recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]