From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Build hangs in lisp/gnus. Date: Sun, 5 Apr 2015 10:54:11 +0000 Message-ID: <20150405105411.GA28913@acm.fritz.box> References: <20150404141655.GB4362@acm.fritz.box> <83zj6onevd.fsf@gnu.org> <20150404153529.GD4362@acm.fritz.box> <83pp7joq4j.fsf@gnu.org> <20150404164215.GE4362@acm.fritz.box> <83lhi7omra.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1428231296 28354 80.91.229.3 (5 Apr 2015 10:54:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2015 10:54:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 05 12:54:48 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YeiCV-0007SP-28 for ged-emacs-devel@m.gmane.org; Sun, 05 Apr 2015 12:54:47 +0200 Original-Received: from localhost ([::1]:35846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeiCT-0005AV-Qh for ged-emacs-devel@m.gmane.org; Sun, 05 Apr 2015 06:54:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeiCG-0005AB-L6 for emacs-devel@gnu.org; Sun, 05 Apr 2015 06:54:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeiCC-0008ST-Th for emacs-devel@gnu.org; Sun, 05 Apr 2015 06:54:32 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:36121 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeiCC-0008RC-Jm for emacs-devel@gnu.org; Sun, 05 Apr 2015 06:54:28 -0400 Original-Received: (qmail 9407 invoked by uid 3782); 5 Apr 2015 10:54:25 -0000 Original-Received: from acm.muc.de (pD9518044.dip0.t-ipconnect.de [217.81.128.68]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 05 Apr 2015 12:54:18 +0200 Original-Received: (qmail 29017 invoked by uid 1000); 5 Apr 2015 10:54:11 -0000 Content-Disposition: inline In-Reply-To: <83lhi7omra.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184912 Archived-At: Hello, Eli. On Sat, Apr 04, 2015 at 07:56:41PM +0300, Eli Zaretskii wrote: > > Date: Sat, 4 Apr 2015 16:42:15 +0000 > > Cc: emacs-devel@gnu.org > > From: Alan Mackenzie > > Run till exit from #4 0x00000000005f5e5d in Ffuncall (nargs=3, args=0x7fff0f1dc3a8) at eval.c:2721 > > . Does that give any useful information? > Yes, it now becomes important to understand what was that frame > doing. Can you reproduce the same hang and backtrace at will? If so, > after you attach GDB, and assuming the frame that calls Ffuncall is > again frame #4, type these commands: > (gdb) frame 4 > (gdb) p args[0] > (gdb) xtype > (gdb) p args[1] > (gdb) xtype > (gdb) p args[2] > (gdb) xtype > For each Lisp type that "xtype" reports, there's a corresponding > command to display the Lisp object in human-readable form: "xsymbol" > for a symbol, "xstring" for a string, "xvectorr" for a vector, etc. > So after each "xtype" command invoke the corresponding command to > display the object, and let's take it from there. I've found the problem. I'd created a new (defalias 'cl-caddr 'caddr) whilst overlooking the existing (defalias 'caddr 'cl-caddr) in cl.el. So I got an alias loop. I've written down all the gdb tips for future use. Thanks! -- Alan Mackenzie (Nuremberg, Germany).