[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

argp crashes because of CTYPE_B threadvar being 0

From: Marcus Brinkmann
Subject: argp crashes because of CTYPE_B threadvar being 0
Date: Mon, 18 Nov 2002 17:19:47 +0100
User-agent: Mutt/1.4i


the glibc 2.3 has another problem, which is exhibited by fsysopts on a
server.  The problem shows up because argp uses isprint, and the new
implementation of that uses ctype_b, which is a thread local variable.
However, this variable is only set for the main thread, all other thread
have this variable set to 0.  Thus isprint crashes.

Uh, I don't know where these thread local variables are set when creating a
new thread.  Or is it that __isctype should be robust enough to notice an
unitialized thread?


`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]