From owner-freebsd-threads@FreeBSD.ORG Mon Oct 27 11:01:53 2003 Return-Path: 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 C696716A4B3 for ; Mon, 27 Oct 2003 11:01:53 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C1F43FA3 for ; Mon, 27 Oct 2003 11:01:41 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9RJ1fFY056729 for ; Mon, 27 Oct 2003 11:01:41 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9RJ1f11056724 for freebsd-threads@freebsd.org; Mon, 27 Oct 2003 11:01:41 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Oct 2003 11:01:41 -0800 (PST) Message-Id: <200310271901.h9RJ1f11056724@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 Subject: Current problem reports assigned to you 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: Mon, 27 Oct 2003 19:01:53 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/13] kern/19247 threads uthread_sigaction.c does not do anything o [2002/01/16] kern/33951 threads pthread_cancel is ignored 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/07/18] kern/20016 threads pthreads: Cannot set scheduling timer/Can o [2000/08/26] misc/20861 threads libc_r does not honor socket timeouts o [2001/01/19] bin/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVT o [2001/01/25] bin/24632 threads libc_r delicate deviation from libc in ha o [2001/01/25] misc/24641 threads pthread_rwlock_rdlock can deadlock o [2001/04/02] bin/26307 threads libc_r aborts when using the KDE media pl o [2001/10/31] bin/31661 threads pthread_kill signal handler doesn't get s o [2001/11/26] bin/32295 threads pthread dont dequeue signals o [2002/02/01] i386/34536 threads accept() blocks other threads o [2002/03/07] bin/35622 threads sigaltstack is missing in libc_r o [2002/05/25] kern/38549 threads the procces compiled whith pthread stoppe o [2002/06/27] bin/39922 threads [PATCH?] Threaded applications executed w o [2002/08/04] misc/41331 threads Pthread library open sets O_NONBLOCK flag o [2002/10/10] kern/43887 threads abnormal CPU useage when use pthread_mute o [2003/03/02] bin/48856 threads Setting SIGCHLD to SIG_IGN still leaves z o [2003/03/10] bin/49087 threads Signals lost in programs linked with libc a [2003/04/08] bin/50733 threads buildworld won't build, because of linkin o [2003/05/07] bin/51949 threads thread in accept cannot be cancelled o [2003/05/30] kern/52817 threads top(1) shows garbage for threaded process 19 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/05/25] misc/18824 threads gethostbyname is not thread safe o [2000/10/21] misc/22190 threads A threaded read(2) from a socketpair(2) f o [2001/09/09] bin/30464 threads pthread mutex attributes -- pshared o [2002/05/02] bin/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwri o [2002/07/16] misc/40671 threads pthread_cancel doesn't remove thread from 5 problems total. From owner-freebsd-threads@FreeBSD.ORG Sat Nov 1 04:59:03 2003 Return-Path: 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 0413816A4CE for ; Sat, 1 Nov 2003 04:59:03 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5156543F93 for ; Sat, 1 Nov 2003 04:59:02 -0800 (PST) (envelope-from ipv6net@fastmail.fm) Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by mail.messagingengine.com (Postfix) with ESMTP id 967EA3A2667 for ; Sat, 1 Nov 2003 07:59:00 -0500 (EST) Received: by server2.messagingengine.com (Postfix, from userid 99) id 5B7776EF3B; Sat, 1 Nov 2003 07:59:00 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Glenn Gombert" To: freebsd-threads@freebsd.org Date: Sat, 01 Nov 2003 04:59:00 -0800 X-Sasl-Enc: oFz+Nn26NL8YrrFUJcQMxA 1067691540 Message-Id: <20031101125900.5B7776EF3B@server2.messagingengine.com> Subject: Adding Threads Support to GDB 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: Sat, 01 Nov 2003 12:59:03 -0000 I discussed to Robert Watson the Release 5.2 task of adding threads support to GDB. It does not appear that anyone is currently working on it yet. I would be interested in taking it on (if no one else has had time to get started on it yet). There appears to be several things that need to be done in general): * Making gdb understand all three libraries that threaded programs might be liked with: -- libc_r, libthr, and libpthread * Adding code to the kernel to attach to threads running in different KSE=92s to bring back and display the data for threads (which are attached to blocked). * For debugging N:M threads some logic could be added to the ULE scheduler (to enable the debugger to control the flow of execution while debugging a specific thread).=20 I would like to work on this task (if no one else had gotten started on it yet) Thanks :) --=20 Glenn Gombert ipv6net@fastmail.fm --=20 http://www.fastmail.fm - Choose from over 50 domains or use your own From owner-freebsd-threads@FreeBSD.ORG Sat Nov 1 07:39:21 2003 Return-Path: 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 8743116A4CE for ; Sat, 1 Nov 2003 07:39:21 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA66043FAF for ; Sat, 1 Nov 2003 07:39:20 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA1FdI1G012939; Sat, 1 Nov 2003 10:39:18 -0500 (EST) Date: Sat, 1 Nov 2003 10:39:18 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Glenn Gombert In-Reply-To: <20031101125900.5B7776EF3B@server2.messagingengine.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-threads@freebsd.org Subject: Re: Adding Threads Support to GDB 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: Sat, 01 Nov 2003 15:39:21 -0000 On Sat, 1 Nov 2003, Glenn Gombert wrote: > I discussed to Robert Watson the Release 5.2 task of adding threads > support to GDB. It does not appear that anyone is currently working on it > yet. I would be interested in taking it on (if no one else has had time > to get started on it yet). >=20 > =09There appears to be several things that need to be done in general): >=20 >=20 > * Making gdb understand all three libraries that threaded programs > might be liked with: > -- libc_r, libthr, and libpthread >=20 > * Adding code to the kernel to attach to threads running in > different KSE=92s to bring back and display the data for threads (which a= re > attached to blocked). >=20 > * For debugging N:M threads some logic could be added to the ULE > scheduler (to enable the debugger to control the flow of execution while > debugging a specific thread).=20 >=20 > I would like to work on this task (if no one else had gotten started on > it yet) I started but put it aside for the time being. Have a look at NetBSD's libpthread_dbg. --=20 Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Sat Nov 1 07:51:04 2003 Return-Path: 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 562AD16A4CE for ; Sat, 1 Nov 2003 07:51:04 -0800 (PST) Received: from imf19aec.mail.bellsouth.net (imf19aec.mail.bellsouth.net [205.152.59.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 069AF43FA3 for ; Sat, 1 Nov 2003 07:51:03 -0800 (PST) (envelope-from drhodus@catpa.com) Received: from catpa.com ([68.209.168.6]) by imf19aec.mail.bellsouth.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20031101155102.SFCC1849.imf19aec.mail.bellsouth.net@catpa.com>; Sat, 1 Nov 2003 10:51:02 -0500 Date: Sat, 1 Nov 2003 10:50:59 -0500 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Daniel Eischen From: David Rhodus In-Reply-To: Message-Id: <301A7B2D-0C83-11D8-A962-000A959B213E@catpa.com> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-threads@freebsd.org Subject: Re: Adding Threads Support to GDB 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: Sat, 01 Nov 2003 15:51:04 -0000 On Saturday, November 1, 2003, at 10:39 AM, Daniel Eischen wrote: > On Sat, 1 Nov 2003, Glenn Gombert wrote: > >> I discussed to Robert Watson the Release 5.2 task of adding threads >> support to GDB. It does not appear that anyone is currently working=20= >> on it >> yet. I would be interested in taking it on (if no one else has had=20 >> time >> to get started on it yet). >> >> There appears to be several things that need to be done in = general): >> >> >> * Making gdb understand all three libraries that threaded=20 >> programs >> might be liked with: >> -- libc_r, libthr, and libpthread >> >> * Adding code to the kernel to attach to threads running in >> different KSE=92s to bring back and display the data for threads = (which=20 >> are >> attached to blocked). >> >> * For debugging N:M threads some logic could be added to the = ULE >> scheduler (to enable the debugger to control the flow of execution=20= >> while >> debugging a specific thread). >> >> I would like to work on this task (if no one else had gotten started=20= >> on >> it yet) > > I started but put it aside for the time being. Have a look > at NetBSD's libpthread_dbg. How far off is GDB 6.0 from what FreeBSD needs ? -DR From owner-freebsd-threads@FreeBSD.ORG Sat Nov 1 09:39:04 2003 Return-Path: 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 0B8D016A4CE for ; Sat, 1 Nov 2003 09:39:04 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC4F843F75 for ; Sat, 1 Nov 2003 09:39:02 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA1Hcn1G004552; Sat, 1 Nov 2003 12:38:49 -0500 (EST) Date: Sat, 1 Nov 2003 12:38:49 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: David Rhodus In-Reply-To: <301A7B2D-0C83-11D8-A962-000A959B213E@catpa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: Adding Threads Support to GDB 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: Sat, 01 Nov 2003 17:39:04 -0000 On Sat, 1 Nov 2003, David Rhodus wrote: > > On Saturday, November 1, 2003, at 10:39 AM, Daniel Eischen wrote: > > > I started but put it aside for the time being. Have a look > > at NetBSD's libpthread_dbg. > > > How far off is GDB 6.0 from what FreeBSD needs ? I don't know that this matters. We need to look at innards of our thread libraries, getting some help from the kernel, so in this regard it doesn't really matter what hooks GDB wants. -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Sat Nov 1 11:02:10 2003 Return-Path: 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 85C1616A4CE for ; Sat, 1 Nov 2003 11:02:10 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 815E343F85 for ; Sat, 1 Nov 2003 11:02:09 -0800 (PST) (envelope-from ipv6net@fastmail.fm) Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by mail.messagingengine.com (Postfix) with ESMTP id 7D3C839B71C for ; Sat, 1 Nov 2003 14:02:07 -0500 (EST) Received: by server2.messagingengine.com (Postfix, from userid 99) id 1B7887D62F; Sat, 1 Nov 2003 14:02:07 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Glenn Gombert" To: freebsd-threads@freebsd.org Date: Sat, 01 Nov 2003 11:02:07 -0800 X-Sasl-Enc: FGT84en1FMI8vskPUU6KuQ 1067713327 References: In-Reply-To: Message-Id: <20031101190207.1B7887D62F@server2.messagingengine.com> Subject: Re: Adding Threads Support to GDB 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: Sat, 01 Nov 2003 19:02:10 -0000 Ok, will do... Thanks; > I started but put it aside for the time being. Have a look > at NetBSD's libpthread_dbg. > > -- > Dan Eischen > -- Glenn Gombert ipv6net@fastmail.fm -- http://www.fastmail.fm - Email service worth paying for. Try it for free