Is it possible for you to link this with a debugging enabled iconv, so
that we can see where in the iconv code this is segfaulting? The line
51 reference is useless, since that doesn't refer to anything interesting
in iconv.c files I have seen.