Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 16:58:29 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        Michael Robinson <robinson@netrinsics.com>, hackers@freebsd.org, current@freebsd.org
Subject:   Re: _sigprocmask in malloc.c causes full file table?
Message-ID:  <20010812165829.A16568@salmon.maths.tcd.ie>
In-Reply-To: <Pine.SUN.3.91.1010812101250.25909A-100000@pcnet1.pcnet.com>; from eischen@vigrid.com on Sun, Aug 12, 2001 at 10:29:53AM -0400
References:  <20010812214608.A2701@elephant.netrinsics.com> <Pine.SUN.3.91.1010812101250.25909A-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 12, 2001 at 10:29:53AM -0400, Daniel Eischen wrote:
> sigprocmask() behaves the same as pthread_sigmask().  pthread_sigmask()
> needs to obtain the current thread.  In obtaining the current thread,
> the threads library must be initialized.  In initializing the threads
> library malloc() is called.  Wash, rinse, repeat.

Could this be the source of Mike's original problem with X? Maybe
something that X is calling from a signal handler is resulting in
the initialising of the threads library and then ends up calling
malloc?

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812165829.A16568>