From owner-freebsd-stable@FreeBSD.ORG Fri Jun 13 08:08:43 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7178D37B401; Fri, 13 Jun 2003 08:08:43 -0700 (PDT) Received: from nero.fastlane.net.au (nero.fastlane.net.au [202.148.65.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A164743F93; Fri, 13 Jun 2003 08:08:41 -0700 (PDT) (envelope-from paul@fastlane.net.au) Received: from localhost.fastlane.net.au (paul@localhost.fastlane.net.au [127.0.0.1]) by nero.fastlane.net.au (8.12.9/8.12.9) with ESMTP id h5DF8cOb028579; Fri, 13 Jun 2003 23:08:39 +0800 (WST) (envelope-from paul@fastlane.net.au) Date: Fri, 13 Jun 2003 23:08:38 +0800 (WST) From: Paul Reece To: freebsd-stable@freebsd.org Message-ID: <20030613225435.X28265@nero.fastlane.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: problem with libc_r (uthread_close.c) in 4.8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 15:08:43 -0000 Unsure what exactly the problem is, but when using 4.8-STABLE I was unable to compile MySQL (it failed during configure phase).. On further investigation, the following code segment when compiled with phtreads, results in a segmentation fault: #include typedef long long longlong; main() { longlong ll=1; float f; FILE *file=fopen("conftestval", "w"); f = (float) ll; fprintf(file,"%g\n",f); close(file); exit (0); } If I roll back uthread_close.c to Revision 1.10.2.3, the above code segment works ok so I would assume that there is a bug somewhere in the latest revision of uthread_close.c? Regards, Paul. NB: I'm not on the -stable list.