From owner-freebsd-threads@FreeBSD.ORG Mon Jul 17 11:03:13 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F54116A509 for ; Mon, 17 Jul 2006 11:03:13 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D54F443D45 for ; Mon, 17 Jul 2006 11:03:12 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6HB3CsV071705 for ; Mon, 17 Jul 2006 11:03:12 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6HB3Bac071701 for freebsd-threads@freebsd.org; Mon, 17 Jul 2006 11:03:11 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 17 Jul 2006 11:03:11 GMT Message-Id: <200607171103.k6HB3Bac071701@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 17 Jul 2006 11:03:13 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2005/01/26] threads/76690threads fork hang in child for (-lc_r & -lthr) 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/07/18] kern/20016 threads pthreads: Cannot set scheduling timer/Can s [2001/01/20] threads/24472threads libc_r does not honor SO_SNDTIMEO/SO_RCVT s [2001/01/25] threads/24632threads libc_r delicate deviation from libc in ha s [2001/11/26] bin/32295 threads pthread dont dequeue signals s [2002/02/01] threads/34536threads accept() blocks other threads o [2002/05/25] kern/38549 threads the procces compiled whith pthread stoppe s [2002/06/27] threads/39922threads [threads] [patch] Threaded applications e s [2003/03/02] threads/48856threads Setting SIGCHLD to SIG_IGN still leaves z s [2003/03/10] threads/49087threads Signals lost in programs linked with libc s [2004/03/15] kern/64313 threads FreeBSD (OpenBSD) pthread implicit set/un o [2004/08/26] threads/70975threads unexpected and unreliable behaviour when o [2004/10/05] threads/72353threads Assertion fails in /usr/src/lib/libpthrea o [2004/10/07] threads/72429threads threads blocked in stdio (fgets, etc) are o [2004/10/21] threads/72953threads fork() unblocks blocked signals w/o PTHRE o [2004/12/19] threads/75273threads FBSD 5.3 libpthread (KSE) bug o [2004/12/21] threads/75374threads pthread_kill() ignores SA_SIGINFO flag s [2005/01/26] threads/76694threads fork cause hang in dup()/close() function o [2005/04/08] threads/79683threads svctcp_create() fails if multiple threads o [2005/04/28] threads/80435threads panic on high loads o [2005/05/19] threads/81258threads Thread specific data is sometimes assigne o [2005/07/22] threads/83914threads [libc] popen() doesn't work in static thr s [2005/08/02] threads/84483threads problems with devel/nspr and -lc_r on 4.x o [2005/08/20] threads/85160threads [libthr] [patch] libobjc + libpthread/lib p [2005/11/19] threads/89262threads [kernel] [patch] multi-threaded process h o [2005/12/12] threads/90278threads libthr, ULE and -current produces >100% W o [2006/01/03] kern/91266 threads [threads] Trying sleep, but thread marked s [2006/03/15] threads/94467threads send(), sendto() and sendmsg() are not co o [2006/06/01] threads/98256threads gnome-system-monitor core dumps from pthr 28 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2000/06/13] kern/19247 threads uthread_sigaction.c does not do anything s [2000/10/21] kern/22190 threads A threaded read(2) from a socketpair(2) f s [2001/09/09] threads/30464threads pthread mutex attributes -- pshared s [2002/05/02] threads/37676threads libc_r: msgsnd(), msgrcv(), pread(), pwri s [2002/07/16] threads/40671threads pthread_cancel doesn't remove thread from s [2004/07/13] threads/69020threads pthreads library leaks _gc_mutex o [2004/09/21] threads/71966threads Mlnet Core Dumped : Fatal error '_pq_inse o [2004/11/21] threads/74180threads KSE problem. Applications those riched ma o [2005/04/13] threads/79887threads [patch] freopen() isn't thread-safe o [2005/05/13] threads/80992threads abort() sometimes not caught by gdb depen o [2005/05/26] threads/81534threads [libc_r] [patch] libc_r close() will fail 11 problems total. From owner-freebsd-threads@FreeBSD.ORG Fri Jul 21 05:25:11 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7691016A4DE for ; Fri, 21 Jul 2006 05:25:11 +0000 (UTC) (envelope-from dharrini@yahoo-inc.com) Received: from mailsrv.bangalore.corp.yahoo.com (mailsrv.bangalore.corp.yahoo.com [202.46.19.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC0C43D49 for ; Fri, 21 Jul 2006 05:25:10 +0000 (GMT) (envelope-from dharrini@yahoo-inc.com) Received: from [10.80.35.191] (dharrini.bangalore.corp.yahoo.com [10.80.35.191]) by mailsrv.bangalore.corp.yahoo.com (8.13.6/8.13.6/pop-in) with ESMTP id k6L5P7gs098530 for ; Fri, 21 Jul 2006 10:55:08 +0530 (IST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:x-accept-language: mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=MrNpqb+AJ7pg4cZQx89F726l6V0RB0bGk69JG9VxeN199p/5BAOHAahVLd8kXxpv Message-ID: <44C06532.6070609@yahoo-inc.com> Date: Fri, 21 Jul 2006 10:55:06 +0530 From: Dharrini Balasubramanian User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050531) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-threads@freebsd.org References: <20060630120115.B19E416A83C@hub.freebsd.org> In-Reply-To: <20060630120115.B19E416A83C@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Indicating thread segments that are non reentrant 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: Fri, 21 Jul 2006 05:25:11 -0000 Hi, How do I modify the uthreads code in libc_r so the thread kernel scheduler doesn't call back a thread when it is running a non reentrant code segment? From owner-freebsd-threads@FreeBSD.ORG Sat Jul 22 04:10:17 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 364E216A4E2 for ; Sat, 22 Jul 2006 04:10:17 +0000 (UTC) (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 5809543D49 for ; Sat, 22 Jul 2006 04:10:16 +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 k6M4AG34016987 for ; Sat, 22 Jul 2006 04:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6M4AG7a016986; Sat, 22 Jul 2006 04:10:16 GMT (envelope-from gnats) Resent-Date: Sat, 22 Jul 2006 04:10:16 GMT Resent-Message-Id: <200607220410.k6M4AG7a016986@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, Michael Nottebrock Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9375216A4DA for ; Sat, 22 Jul 2006 04:03:51 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B02C43D45 for ; Sat, 22 Jul 2006 04:03:50 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 5995419E962 for ; Sat, 22 Jul 2006 06:03:49 +0200 (CEST) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id 4EBB655437 for ; Sat, 22 Jul 2006 06:03:49 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-132-249.pools.arcor-ip.net [84.61.132.249]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 0D825401365 for ; Sat, 22 Jul 2006 06:03:49 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.4]) by lofi.dyndns.org (8.13.4/8.13.3) with ESMTP id k6M43jHj021348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 22 Jul 2006 06:03:46 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id k6M43jjU045237 for ; Sat, 22 Jul 2006 06:03:45 +0200 (CEST) (envelope-from lofi@kiste.my.domain) Received: (from lofi@localhost) by kiste.my.domain (8.13.6/8.13.4/Submit) id k6M43i4D045236; Sat, 22 Jul 2006 06:03:44 +0200 (CEST) (envelope-from lofi) Message-Id: <200607220403.k6M43i4D045236@kiste.my.domain> Date: Sat, 22 Jul 2006 06:03:44 +0200 (CEST) From: Michael Nottebrock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: threads/100701: Wine triggers internal error in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Nottebrock List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 04:10:17 -0000 >Number: 100701 >Category: threads >Synopsis: Wine triggers internal error in libpthread >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 Jul 22 04:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michael Nottebrock >Release: FreeBSD 5.5-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD kiste 5.5-RELEASE-p1 FreeBSD 5.5-RELEASE-p1 #1: Sat Jul 22 02:57:55 CEST 2006 root@kiste:/usr/obj/usr/src/sys/KISTE-SMP i386 >Description: WINE (in win2k+ emulation mode) triggers an internal error in libpthread when trying to run various applications (such as Firefox). >How-To-Repeat: 1.) Install emulators/wine 2.) Run winecfg to generate basic configuration. Acknowledge configuration program with Ok without changing any settings. 3.) fetch 'http://sunsite.rediris.es/pub/mozilla.org/firefox/releases/.5.0.4/win32/en-US/Firefox Setup 1.5.0.4.exe' 4.) Run wine 'Firefox Setup 1.5.0.4.exe'. Complete the installer with default choices. 5.) Run wine ~/.wine/drive_c/Programme/Mozilla\ Firefox/firefox.exe >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-threads@FreeBSD.ORG Sat Jul 22 04:30:25 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 8769316A4E0 for ; Sat, 22 Jul 2006 04:30:25 +0000 (UTC) (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 2103143D6D for ; Sat, 22 Jul 2006 04:30:24 +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 k6M4UNwA018261 for ; Sat, 22 Jul 2006 04:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6M4UNuO018260; Sat, 22 Jul 2006 04:30:23 GMT (envelope-from gnats) Date: Sat, 22 Jul 2006 04:30:23 GMT Message-Id: <200607220430.k6M4UNuO018260@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Michael Nottebrock Cc: Subject: Re: threads/100701: Wine triggers internal error in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Nottebrock List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 04:30:25 -0000 The following reply was made to PR threads/100701; it has been noted by GNATS. From: Michael Nottebrock To: bug-followup@freebsd.org, lofi@freebsd.org Cc: Subject: Re: threads/100701: Wine triggers internal error in libpthread Date: Sat, 22 Jul 2006 06:25:15 +0200 Additional note: When running Firefox with 'wine-kthread' instead (also installed by the wine port), the error changes to Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 496 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2) From owner-freebsd-threads@FreeBSD.ORG Sat Jul 22 18:40:22 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 2F9FE16A503 for ; Sat, 22 Jul 2006 18:40:22 +0000 (UTC) (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 D917143D66 for ; Sat, 22 Jul 2006 18:40:21 +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 k6MIeL6l091947 for ; Sat, 22 Jul 2006 18:40:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6MIeLcY091946; Sat, 22 Jul 2006 18:40:21 GMT (envelope-from gnats) Date: Sat, 22 Jul 2006 18:40:21 GMT Message-Id: <200607221840.k6MIeLcY091946@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Michael Nottebrock Cc: Subject: Re: threads/100701: Wine triggers internal error in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Nottebrock List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 18:40:22 -0000 The following reply was made to PR threads/100701; it has been noted by GNATS. From: Michael Nottebrock To: bug-followup@freebsd.org, lofi@freebsd.org Cc: Subject: Re: threads/100701: Wine triggers internal error in libpthread Date: Sat, 22 Jul 2006 20:36:55 +0200 Forgot to include the original error message: Fatal error 'thr_resume_wrapper: thread has returned from _thread_switch' at line 1125 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22)