IO deadlock

Thorsten Kukuk kukuk@weber-eb.uni-paderborn.de
Tue Jul 21 01:53:00 GMT 1998


Hello,

I have a big problem with the current glibc snapshot, there is a
deadlock in the IO code. I have append an older version of the
getpass() function, which makes the problem reproduceable:
gcc -o libc-getpass libc-getpass.c works fine, but linking it with
gcc -o libc-getpass libc-getpass.c -lpthread causes a deadlock in
fflush (out). Very bad. It works fine on other platforms and with older
glibc versions. Any ideas ? I'm using egcs 1.0.3a, binutils 2.9.0.1.7.

I need a fix for it, because this bug causes nscd and NIS+ to stop working.

  Thorsten

-- 
Thorsten Kukuk  kukuk@vt.uni-paderborn.de
                http://www-vt.uni-paderborn.de/~kukuk/
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


More information about the Libc-hacker mailing list