This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
IO deadlock
- To: libc-hacker@cygnus.com
- Subject: IO deadlock
- From: Thorsten Kukuk <kukuk@weber-eb.uni-paderborn.de>
- Date: Tue, 21 Jul 1998 10:52:29 +0200 (MET DST)
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.
libc-getpass.c