From owner-freebsd-threads@FreeBSD.ORG Wed Jun 4 17:12:24 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 5A60937B401 for ; Wed, 4 Jun 2003 17:12:24 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id A30F343F85 for ; Wed, 4 Jun 2003 17:12:23 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by attbi.com (sccrmhc01) with ESMTP id <2003060500122200100hsk8ue>; Thu, 5 Jun 2003 00:12:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA05248; Wed, 4 Jun 2003 17:12:21 -0700 (PDT) Date: Wed, 4 Jun 2003 17:12:20 -0700 (PDT) From: Julian Elischer To: Khairil Yusof In-Reply-To: <1054770782.765.10.camel@daemon.home.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org Subject: Re: Guide for KSE testers? 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: Thu, 05 Jun 2003 00:12:24 -0000 Hi and thanks for trying it.. There are several things to keep in mind when debugging KSE. Firstly, the action is spread between the kernel and the library. Secondly, Only threads that are either running, or waiting on a kernel resource are visible to the kernel. If you have a "lockup" it is first important to distiguish between a program lockup and a system lockup. (you'd be surprised how many people don't give that information..) For a system problem we need to check the scope of the lockup.. 1/ can you ping the system? 2/ if X is not active, can you swith to other virtual consoles? 2A/ if yes, do you still get a 'password' prompt at the new console if you enter 'root' 3/ does work? If you can get to the kernel debugger with , what does 'ps' show for that process? depending on the answers we'll decide where to go next :-) On 5 Jun 2003, Khairil Yusof wrote: > With libmap.conf and kse much more stable now than before, I can finally > test it out running day to day apps. > > I don't however have much info on how to get debugging information that > would help the KSE team. > > Right now, there is a system lockup on my dual PIII system every few > hours (much better than a few seconds a few weeks back). > > How do I go about getting a stacktrace or something else, that could > help the KSE team? > > Just pointers to docs/faqs would be fine. > > At least these are working relatively stable right now. (I'm not sure > yet, what is causing the lockups) > > evolution > evolution-mail > evolution-addressbook > nautilus > metacity > mozilla-firebird > gkrellm2 > gnome-terminal > gnome-panel > openoffice That's pretty impressive.. As part of the debugging it is also probably worth seeing if you get lockups using the N:N threads (libthr) option. > > Keep up the great work.. KSE has made a big improvement in speed and > response time for evolution-mail. > > --