From owner-freebsd-i386@FreeBSD.ORG Wed Feb 9 20:00:42 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D5F16A576 for ; Wed, 9 Feb 2005 20:00:41 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CD143D48 for ; Wed, 9 Feb 2005 20:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j19K0fLT030345 for ; Wed, 9 Feb 2005 20:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j19K0fB0030332; Wed, 9 Feb 2005 20:00:41 GMT (envelope-from gnats) Resent-Date: Wed, 9 Feb 2005 20:00:41 GMT Resent-Message-Id: <200502092000.j19K0fB0030332@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Kirkwood Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3942816A4DF for ; Wed, 9 Feb 2005 19:53:27 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2161C43D48 for ; Wed, 9 Feb 2005 19:53:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j19JrQCw070875 for ; Wed, 9 Feb 2005 19:53:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j19JrQJ1070874; Wed, 9 Feb 2005 19:53:26 GMT (envelope-from nobody) Message-Id: <200502091953.j19JrQJ1070874@www.freebsd.org> Date: Wed, 9 Feb 2005 19:53:26 GMT From: Mark Kirkwood To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/77325: valgrind hangs at program completion, see warnings in messages about static ldt allocation X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 20:00:42 -0000 >Number: 77325 >Category: i386 >Synopsis: valgrind hangs at program completion, see warnings in messages about static ldt allocation >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 09 20:00:41 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mark Kirkwood >Release: 5.3 RELEASE >Organization: N?A >Environment: FreeBSD zmori.markir.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Thu Nov 25 15:48:11 NZDT 2004 markir@zmori.markir.net:/usr/obj/usr/src/sys/STANDARD i386 diff GENERIC STANDARD 22,23c22,23 < cpu I486_CPU < cpu I586_CPU --- > #cpu I486_CPU > #cpu I586_CPU 25c25 < ident GENERIC --- > ident STANDARD 108a109 > device atapicam # CAM Cooked SCSI device 272a274,277 > > # Sound card > device sound # Pnp PCI Sound Cards > device "snd_emu10k1" >Description: valgrind hangs at program completion, and has to be killed with 'kill -9' There are warnings in messages that read: Feb 10 08:37:57 zmori kernel: Warning: pid 14803 used static ldt allocation. Feb 10 08:37:57 zmori kernel: See the i386_set_ldt man page for more info >How-To-Repeat: create trivial c program : int main(int argc, char **argv) { return 0; } compile using gcc 3.4.2 and run using valgrind from ports (not valgrind-snapshot, tho I might see if I can reproduce with that) >Fix: >Release-Note: >Audit-Trail: >Unformatted: