From owner-freebsd-questions@FreeBSD.ORG Sun May 29 23:50:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C35A16A41C for ; Sun, 29 May 2005 23:50:50 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B1943D1D for ; Sun, 29 May 2005 23:50:49 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id A339985653; Mon, 30 May 2005 09:20:47 +0930 (CST) Date: Mon, 30 May 2005 09:20:47 +0930 From: Greg 'groggy' Lehey To: Doug Hardie Message-ID: <20050529235047.GB25279@wantadilla.lemis.com> References: <5B06EDC7-B6BA-491C-B9D2-CA6308D6B9C1@lafn.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <5B06EDC7-B6BA-491C-B9D2-CA6308D6B9C1@lafn.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: FreeBSD Questions Subject: Re: Debugging Threaded Applications X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2005 23:50:50 -0000 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 28 May 2005 at 15:13:06 -0700, Doug Hardie wrote: > Are there any working tools available for debugging a threaded > application in 5.3/5.4? Ktrace works fine but doesn't identify the > threads so its almost impossible to figure out whats going on in a > complex threaded application. Strace doesn't show threads either. > Pstack causes all sorts of problems with the running application - > usually creating multiple copies of it none of which work anymore. Are you having problems with gdb? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --xXmbgvnjoT4axfJE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCmlVXIubykFB6QiMRAqiHAKCtCIyKO23SWyAEh/KHdNIoi0tkoQCeNt7U O9cEUB5p48tEzgBdrKcHcpM= =xo3N -----END PGP SIGNATURE----- --xXmbgvnjoT4axfJE--