From owner-freebsd-threads@FreeBSD.ORG Wed May 11 11:50:03 2005 Return-Path: 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 130AD16A4CE for ; Wed, 11 May 2005 11:50:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B2343D76 for ; Wed, 11 May 2005 11:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4BBo2Mi061131 for ; Wed, 11 May 2005 11:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4BBo2CE061130; Wed, 11 May 2005 11:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 11 May 2005 11:50:02 GMT Resent-Message-Id: <200505111150.j4BBo2CE061130@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, Steven Jurczyk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9017816A4CE for ; Wed, 11 May 2005 11:49:48 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5DF43D66 for ; Wed, 11 May 2005 11:49:48 +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 j4BBnlH2046864 for ; Wed, 11 May 2005 11:49:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4BBnlG7046863; Wed, 11 May 2005 11:49:47 GMT (envelope-from nobody) Message-Id: <200505111149.j4BBnlG7046863@www.freebsd.org> Date: Wed, 11 May 2005 11:49:47 GMT From: Steven Jurczyk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: threads/80887: ULE with SMP broke libpthread/libthr on 5.4-RELEASE X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 11:50:03 -0000 >Number: 80887 >Category: threads >Synopsis: ULE with SMP broke libpthread/libthr on 5.4-RELEASE >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-threads >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 11 11:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Steven Jurczyk >Release: 5.4-RELEASE >Organization: >Environment: FreeBSD meritum2.home.net.pl 5.4-RELEASE FreeBSD 5.4-RELEASE #17: Wed May 11 11:11:01 CEST 2005 steve@meritum2.home.net.pl:/data/src/bsd/sys/i386/compile/HOME i386 >Description: Using ULE on SMP machine broke applications which use libpthread/libthr, probably at context switching between threads... The applications simply hang and they aren't killable (kill -9 don't work).. Usually this also break kernel shutdown (can't flush some inodes or blocks)... >How-To-Repeat: Compile kernel with options: options SMP options SCHED_ULE and try to start mysqld_server on dual dual processor (may be on Pentium IV with enabled HT) The problem also is repeatable at 50% success rate with simple /usr/bin/host util. Setting setenv LIBPTHREAD_SYSTEM_SCOPE usually helps to hang any pthreads application at their initialization. >Fix: sorry :) >Release-Note: >Audit-Trail: >Unformatted: