From owner-freebsd-bugs Sun Jan 14 19:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 83ECB37B401 for ; Sun, 14 Jan 2001 19:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0F3U2k87704; Sun, 14 Jan 2001 19:30:02 -0800 (PST) (envelope-from gnats) Date: Sun, 14 Jan 2001 19:30:02 -0800 (PST) Message-Id: <200101150330.f0F3U2k87704@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Wemm Subject: Re: bin/15070: vfprintf/cvt/__dtoa race condition in threaded programs Reply-To: Peter Wemm Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15070; it has been noted by GNATS. From: Peter Wemm To: Tor.Egge@fast.no Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/15070: vfprintf/cvt/__dtoa race condition in threaded programs Date: Sun, 14 Jan 2001 19:26:04 -0800 Tor.Egge@fast.no wrote: > One workaround for the race is to serialize vfprintf() calls that use > floating point conversion specifications. Umm.. I wonder if this is the cause of the 'FreeBSD libc sprintf bug' that the MySQL folks see and mention on their web site? They use libc_r and see problems with sprintf... Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message