From owner-freebsd-threads@FreeBSD.ORG Mon Mar 17 11:07:14 2008 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E8391065681 for ; Mon, 17 Mar 2008 11:07:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 844D38FC34 for ; Mon, 17 Mar 2008 11:07:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2HB7EbZ055270 for ; Mon, 17 Mar 2008 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2HB7Dtc055266 for freebsd-threads@FreeBSD.org; Mon, 17 Mar 2008 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Mar 2008 11:07:13 GMT Message-Id: <200803171107.m2HB7Dtc055266@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org 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 Mar 2008 11:07:14 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/76690 threads fork hang in child for -lc_r 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL s bin/32295 threads pthread dont dequeue signals s threa/34536 threads accept() blocks other threads s threa/39922 threads [threads] [patch] Threaded applications executed with s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under s threa/49087 threads Signals lost in programs linked with libc_r o threa/70975 threads unexpected and unreliable behaviour when using SYSV se o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag s threa/76694 threads fork cause hang in dup()/close() function in child (-l o threa/79683 threads svctcp_create() fails if multiple threads call at the o threa/80435 threads panic on high loads o threa/83914 threads [libc] popen() doesn't work in static threaded program s threa/84483 threads problems with devel/nspr and -lc_r on 4.x s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r o threa/101323 threads fork(2) in threaded programs broken. o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/110636 threads [request] gdb(1): using gdb with multi thread applicat o threa/118715 threads kse problem o threa/121336 threads lang/neko threading ok on UP, broken on SMP (FreeBSD 7 23 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/30464 threads pthread mutex attributes -- pshared s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra s threa/40671 threads pthread_cancel doesn't remove thread from condition qu s threa/69020 threads pthreads library leaks _gc_mutex o threa/79887 threads [patch] freopen() isn't thread-safe o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/116181 threads /dev/io-related io access permissions are not propagat o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP 10 problems total. From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 22:58:53 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F22F11065672 for ; Fri, 21 Mar 2008 22:58:53 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from longhorn.velocity-servers.net (longhorn.velocity-servers.net [65.99.246.30]) by mx1.freebsd.org (Postfix) with ESMTP id C44968FC24 for ; Fri, 21 Mar 2008 22:58:53 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from pool-70-106-59-217.hag.east.verizon.net ([70.106.59.217] helo=dragoon.velocity-servers.net) by longhorn.velocity-servers.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jcpof-0002dS-VS for freebsd-threads@FreeBSD.org; Fri, 21 Mar 2008 17:34:26 -0500 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 21 Mar 2008 18:34:22 -0400 To: freebsd-threads@FreeBSD.org From: Gary Stanley Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - longhorn.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net Message-Id: <20080321225853.C44968FC24@mx1.freebsd.org> Cc: Subject: Process stuck in STOP state 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 Mar 2008 22:58:54 -0000 Hello. Please CC me replies as I'm not subscribed to this list. I upgraded a machine from 6 to 7 recently, and I'm using libkse for mono 1.1.13.4. At least 1 time a day the process is stuck in the STOP state and is unkillable. procctl doesn't help, gdb won't attach to the process and ktrace/truss don't display any data. This only occurs on FreeBSD7 with libkse, I haven't tried libthr yet. From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:06:57 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77C0F1065671 for ; Fri, 21 Mar 2008 23:06:57 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 91A938FC2D; Fri, 21 Mar 2008 23:06:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47E43F95.1040608@FreeBSD.org> Date: Sat, 22 Mar 2008 00:07:01 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Gary Stanley References: <20080321225853.C44968FC24@mx1.freebsd.org> In-Reply-To: <20080321225853.C44968FC24@mx1.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:06:57 -0000 Gary Stanley wrote: > Hello. Please CC me replies as I'm not subscribed to this list. > > I upgraded a machine from 6 to 7 recently, and I'm using libkse for mono > 1.1.13.4. At least 1 time a day the process is stuck in > the STOP state and is unkillable. procctl doesn't help, gdb won't attach > to the process and ktrace/truss don't display any data. > > This only occurs on FreeBSD7 with libkse, I haven't tried libthr yet. You likely want to use libthr, it is the way forward for threading on FreeBSD. libkse support was already removed from FreeBSD 8. Use libmap.conf to switch your applications to libthr. Kris From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:35:11 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C4311065705; Fri, 21 Mar 2008 23:35:09 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from longhorn.velocity-servers.net (longhorn.velocity-servers.net [65.99.246.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0EB8FC1F; Fri, 21 Mar 2008 23:35:09 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from pool-70-106-59-217.hag.east.verizon.net ([70.106.59.217] helo=dragoon.velocity-servers.net) by longhorn.velocity-servers.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JcqlT-000ACY-EZ; Fri, 21 Mar 2008 18:35:11 -0500 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 21 Mar 2008 19:35:07 -0400 To: Alfred Perlstein From: Gary Stanley In-Reply-To: <20080321232938.GK67856@elvis.mu.org> References: <20080321225853.C44968FC24@mx1.freebsd.org> <20080321232938.GK67856@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - longhorn.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net Message-Id: <20080321233509.8B0EB8FC1F@mx1.freebsd.org> Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:35:11 -0000 At 07:29 PM 3/21/2008, Alfred Perlstein wrote: >* Gary Stanley [080321 15:59] wrote: > > Hello. Please CC me replies as I'm not subscribed to this list. > > > > I upgraded a machine from 6 to 7 recently, and I'm using libkse for > > mono 1.1.13.4. At least 1 time a day the process is stuck in > > the STOP state and is unkillable. procctl doesn't help, gdb won't > > attach to the process and ktrace/truss don't display any data. > > > > This only occurs on FreeBSD7 with libkse, I haven't tried libthr yet. > >1. Is this "FreeBSD-7-RELEASE" or FreeBSD-7-STABLE? >2. Are you using NFS? I'm using -stable and I'm not using nfs. I will try kris's suggestions about using libthr. From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:45:49 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06A1B1065673; Fri, 21 Mar 2008 23:45:49 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from longhorn.velocity-servers.net (longhorn.velocity-servers.net [65.99.246.30]) by mx1.freebsd.org (Postfix) with ESMTP id B81A18FC1D; Fri, 21 Mar 2008 23:45:48 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from pool-70-106-59-217.hag.east.verizon.net ([70.106.59.217] helo=dragoon.velocity-servers.net) by longhorn.velocity-servers.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jcqvm-000BYQ-OB; Fri, 21 Mar 2008 18:45:50 -0500 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 21 Mar 2008 19:45:47 -0400 To: Alfred Perlstein From: Gary Stanley In-Reply-To: <20080321233729.GM67856@elvis.mu.org> References: <20080321225853.C44968FC24@mx1.freebsd.org> <20080321232938.GK67856@elvis.mu.org> <20080321233509.8B0EB8FC1F@mx1.freebsd.org> <20080321233729.GM67856@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - longhorn.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net Message-Id: <20080321234548.B81A18FC1D@mx1.freebsd.org> Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:45:49 -0000 At 07:37 PM 3/21/2008, Alfred Perlstein wrote: >OK, if it still happens then please see if you can get into >ddb and give me a backtrace. I've fixed this before (for >both libkse and libthr) for another scenario. > >-Alfred What was the fix? :) I'll provide ddb backtrace as soon as it happens again. From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:45:49 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B27C2106566B for ; Fri, 21 Mar 2008 23:45:49 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 94D758FC27 for ; Fri, 21 Mar 2008 23:45:49 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 081B61A4D7E; Fri, 21 Mar 2008 16:29:39 -0700 (PDT) Date: Fri, 21 Mar 2008 16:29:38 -0700 From: Alfred Perlstein To: Gary Stanley Message-ID: <20080321232938.GK67856@elvis.mu.org> References: <20080321225853.C44968FC24@mx1.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080321225853.C44968FC24@mx1.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:45:49 -0000 * Gary Stanley [080321 15:59] wrote: > Hello. Please CC me replies as I'm not subscribed to this list. > > I upgraded a machine from 6 to 7 recently, and I'm using libkse for > mono 1.1.13.4. At least 1 time a day the process is stuck in > the STOP state and is unkillable. procctl doesn't help, gdb won't > attach to the process and ktrace/truss don't display any data. > > This only occurs on FreeBSD7 with libkse, I haven't tried libthr yet. 1. Is this "FreeBSD-7-RELEASE" or FreeBSD-7-STABLE? 2. Are you using NFS? -- - Alfred Perlstein From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:45:49 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B380B106566C for ; Fri, 21 Mar 2008 23:45:49 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 94C988FC22 for ; Fri, 21 Mar 2008 23:45:49 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 27C6F1A4D83; Fri, 21 Mar 2008 16:37:29 -0700 (PDT) Date: Fri, 21 Mar 2008 16:37:29 -0700 From: Alfred Perlstein To: Gary Stanley Message-ID: <20080321233729.GM67856@elvis.mu.org> References: <20080321225853.C44968FC24@mx1.freebsd.org> <20080321232938.GK67856@elvis.mu.org> <20080321233509.8B0EB8FC1F@mx1.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080321233509.8B0EB8FC1F@mx1.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:45:49 -0000 * Gary Stanley [080321 16:35] wrote: > At 07:29 PM 3/21/2008, Alfred Perlstein wrote: > >* Gary Stanley [080321 15:59] wrote: > >> Hello. Please CC me replies as I'm not subscribed to this list. > >> > >> I upgraded a machine from 6 to 7 recently, and I'm using libkse for > >> mono 1.1.13.4. At least 1 time a day the process is stuck in > >> the STOP state and is unkillable. procctl doesn't help, gdb won't > >> attach to the process and ktrace/truss don't display any data. > >> > >> This only occurs on FreeBSD7 with libkse, I haven't tried libthr yet. > > > >1. Is this "FreeBSD-7-RELEASE" or FreeBSD-7-STABLE? > >2. Are you using NFS? > > I'm using -stable and I'm not using nfs. > > I will try kris's suggestions about using libthr. OK, if it still happens then please see if you can get into ddb and give me a backtrace. I've fixed this before (for both libkse and libthr) for another scenario. -Alfred From owner-freebsd-threads@FreeBSD.ORG Fri Mar 21 23:50:44 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8A5106566C for ; Fri, 21 Mar 2008 23:50:44 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AF5538FC4D for ; Fri, 21 Mar 2008 23:50:44 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 98BA51A4D7E; Fri, 21 Mar 2008 16:50:44 -0700 (PDT) Date: Fri, 21 Mar 2008 16:50:44 -0700 From: Alfred Perlstein To: Gary Stanley Message-ID: <20080321235044.GN67856@elvis.mu.org> References: <20080321225853.C44968FC24@mx1.freebsd.org> <20080321232938.GK67856@elvis.mu.org> <20080321233509.8B0EB8FC1F@mx1.freebsd.org> <20080321233729.GM67856@elvis.mu.org> <20080321234548.B81A18FC1D@mx1.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080321234548.B81A18FC1D@mx1.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-threads@FreeBSD.org Subject: Re: Process stuck in STOP state 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 Mar 2008 23:50:44 -0000 * Gary Stanley [080321 16:45] wrote: > At 07:37 PM 3/21/2008, Alfred Perlstein wrote: > > >OK, if it still happens then please see if you can get into > >ddb and give me a backtrace. I've fixed this before (for > >both libkse and libthr) for another scenario. > > > >-Alfred > > What was the fix? :) I'll provide ddb backtrace as soon as it happens again. It's complicated... :) http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_fork.c?rev=1.284;content-type=text%2Fx-cvsweb-markup -Alfred