Hi Martin,

Thanks for your follow-up!

On Wed, Dec 09, 2009 at 10:28:18AM +1100, Martin Schwenke wrote:
> I'm seeing something very similar in rrdcgi on armel:
> 
>   *** glibc detected *** /usr/bin/rrdcgi: free(): invalid pointer: 0x000b9838 
> ***
>   [Wed Dec 09 09:54:52 2009] [error] [client 192.168.20.31] Premature end of 
> script headers: temperature.cgi

Well, this is a very generic error message from glibc, basically saying
that something is wrong with your heap and memory management meta info
is corrupted. So, this might be related but it might as well be another
issue -- which would not surprise me a bit :-/

> OK, I see.  My filesystem is full.  So librrd deals very poorly with a
> full filesystem. 

This is quite likely the problem in your case. Unfortunately, RRDtool
does not handle error conditions sanely in a lot of places :-/

Anyway, segfaults / memory corruptions resulting from full filesystems
should be fairly easy to track given some time and lots of debugging
sessions. I'm hoping to find some time for that soonish. Help would be
very appreciated, though, since my time is fairly limited at the moment.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to