This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

IO deadlock



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]