[gobolinux-devel] libc update

Ricardo Nabinger Sanchez rnsanchez at wait4.org
Mon Feb 12 13:49:34 UTC 2007


On Sun, 11 Feb 2007 22:20:48 +0100
Jonatan Liljedahl <lijon at kymatica.com> wrote:

> > How frequent is this?  Usually with the same programs, or completelly
> > random?
> 
> Not very frequent, and with the same programs.

That's odd.  I'd expect it to fail frequently, if the libc is broken.  The
failing apps would be using threading libraries other than pthread, as
happens with firefox using whatever lib glib/gtk uses?

GNU Pth, IIRC, doesn't wrap pthread, and gpg can be configured to use it, and
then you can check if it fails.  I don't remember about other apps that use
Pth, and am not sure if gpg uses glibc's malloc()/free().  If gpg doesn't
fail, it doesn't mean anything, though.  On the other hand, if it fails then
your glibc may be indeed broken.

You can also set MALLOC_CHECK_=1 environment variable, to tell glibc to do
further checkings.  As you may have guessed already, verifying if glibc is
sane can get very tricky.  :)

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."


More information about the gobolinux-devel mailing list