From owner-freebsd-threads@FreeBSD.ORG Sat Jan 14 02:10:04 2006 Return-Path: X-Original-To: freebsd-threads@hub.freebsd.org Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4867116A420 for ; Sat, 14 Jan 2006 02:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB63E43D48 for ; Sat, 14 Jan 2006 02:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0E2A33g067182 for ; Sat, 14 Jan 2006 02:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0E2A3L6067181; Sat, 14 Jan 2006 02:10:03 GMT (envelope-from gnats) Resent-Date: Sat, 14 Jan 2006 02:10:03 GMT Resent-Message-Id: <200601140210.k0E2A3L6067181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joseph Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5451916A41F for ; Sat, 14 Jan 2006 02:00:46 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A8BD43D45 for ; Sat, 14 Jan 2006 02:00:46 +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 k0E20jBW098943 for ; Sat, 14 Jan 2006 02:00:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0E20jG0098941; Sat, 14 Jan 2006 02:00:45 GMT (envelope-from nobody) Message-Id: <200601140200.k0E20jG0098941@www.freebsd.org> Date: Sat, 14 Jan 2006 02:00:45 GMT From: Joseph Lee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: threads/91779: threaded perl-5.8's io/pipe test and IPC::Run::start() stalls in umtx with libthr X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 02:10:04 -0000 >Number: 91779 >Category: threads >Synopsis: threaded perl-5.8's io/pipe test and IPC::Run::start() stalls in umtx with libthr >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-threads >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 14 02:10:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Joseph Lee >Release: FreeBSD 6-STABLE >Organization: Walt Disney Internet Group >Environment: FreeBSD npubby.online.disney.com 6.0-STABLE FreeBSD 6.0-STABLE #6: Fri Jan 13 12:29:15 PST 2006 root@npubby.online.disney.com:/usr/obj/usr/src/sys/PUBBY i386 >Description: Threaded perl5.8 libmapped to libthr will hang indefinitely in umtx when performing any external pipe operations such as the t/io/pipe test. It works fine if mappings stay with the default libpthread. Kernel is running the 4BSD scheduler. >How-To-Repeat: Build /usr/ports/lang/perl5.8 with /etc/make.conf as: WITH_THREADS=yes and set /etc/libmap.conf as: libpthread.so.2 libthr.so.2 libpthread.so libthr.so In /usr/ports/lang/perl5.8/work/perl-5.8.7 do 'make test' and the t/io/pipe will stall in umtx: 49375 root 1 102 0 3360K 2880K umtx 0:00 0.00% perl 48899 root 1 -8 0 3688K 3172K piperd 0:00 0.00% perl Using cvsweb3 where any code calls start_proc() such as "download" or "annotate", perl will hang in umtx condition indefinitely as well. >Fix: Restore /etc/libmap.conf to NOT remap libpthread to libthr, or build perl5.8 unthreaded. >Release-Note: >Audit-Trail: >Unformatted: