From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 04:59:28 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 45CB99EF for ; Wed, 12 Jun 2013 04:59:28 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id 23D1B1E7E for ; Wed, 12 Jun 2013 04:59:27 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id C0ACA37B4A0; Tue, 11 Jun 2013 23:59:20 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3bVbTh0YQFzCls; Tue, 11 Jun 2013 23:59:20 -0500 (CDT) Date: Tue, 11 Jun 2013 23:59:20 -0500 From: "Matthew D. Fuller" To: David Wolfskill Subject: Re: Help debugging xfig lockup? Message-ID: <20130612045919.GA1940@over-yonder.net> References: <20130612031624.GS1369@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130612031624.GS1369@albert.catwhisker.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.21-fullermd.4 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 04:59:28 -0000 On Tue, Jun 11, 2013 at 08:16:24PM -0700 I heard the voice of David Wolfskill, and lo! it spake thus: > > A few days ago, I happened to want to use it .... and I find that it > starts OK, but once a Drawing mode or an Editing action is selected, > it locks up -- no other selection appears to have an effect, and > causing the application to exit requires some "external assistance" > (e.g., from another xterm, "pkill xfig"). As a data point (I also use xfig somewhat rarely but repeatedly over a decade+), I just fiddled with it a bit here without trouble, with ports up to date as of yesterday, and -CURRENT as of the weekend. I'd guess the difference is probably in details of X. I'm using the radeon driver on non-WITH_NEW_XORG. > But debugging an X11 application is something that leaves me rather > wondering how to go about it. Any clues? Well, xfig isn't using anything particularly new or exciting in X; I doubt it's even hitting any OpenGL paths or the like. I'd start by just slapping a gdb on it and see if I can get a hint of where in what library it's stuck; maybe that'll make the answer obvious... Going into draw/edit mode does involve changing the cursor; maybe that's the significant bit? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.