[rrd-users] rrdtool - 1.4.4 with wrong LANG environment

Steve Shipway s.shipway at auckland.ac.nz
Mon Jun 13 00:21:23 CEST 2011

>From the stacktrace (excellent posting of relevant information, BTW!) it looks like it is choking within the locale conversion routines in gconv.  Under RedHat, this is part of glibc -- so it depends on the version of that you're using.

On our system:
# rpm -q --whatprovides /usr/lib/gconv/ISO8859-1.so
# rpm -q --whatprovides /usr/lib64/gconv/ISO8859-1.so

I don't think there will be anything practical rrdtool can do to work around this since it is going to be highly OS and library version dependent. You might try coding some script before the rrdtool call to clean up the LANG env var?

The gconv seggy fault bug is known to RedHat:
...but they thing they fixed it years ago.  Looks like its back again.  There are many other reports of similar gconv seg faults in other applications dating back to 2006, so I think gconv has always been a bit flaky.

My only suggestion really is to try upgrading or downgrading glibc, which is a rather hairy proposition under RedHat


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487

More information about the rrd-users mailing list