From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: transpose-regions Date: Thu, 22 Mar 2007 11:59:10 -0400 Message-ID: <87bqil5kxd.fsf@stupidchicken.com> References: <46026277.7060305@gmx.at> <87odml9v67.fsf@stupidchicken.com> <4602A015.2080403@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174579186 10918 80.91.229.12 (22 Mar 2007 15:59:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 15:59:46 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 16:59:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUPhK-0007pg-V2 for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 16:59:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUPj8-0006BU-AQ for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 11:01:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUPj6-0006BE-8M for emacs-devel@gnu.org; Thu, 22 Mar 2007 12:01:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUPj5-0006B1-Rq for emacs-devel@gnu.org; Thu, 22 Mar 2007 11:01:19 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HUPhH-0007HA-IK for emacs-devel@gnu.org; Thu, 22 Mar 2007 11:59:27 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l2MFxOkh016650; Thu, 22 Mar 2007 10:59:25 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id l2MFxFdR025484; Thu, 22 Mar 2007 11:59:15 -0400 (EDT) Original-Received: from localhost ([18.19.7.211]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l2MFxAfB015569; Thu, 22 Mar 2007 11:59:14 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HUPh0-0003mb-00; Thu, 22 Mar 2007 11:59:10 -0400 In-Reply-To: <4602A015.2080403@gmx.at> (martin rudalics's message of "Thu\, 22 Mar 2007 16\:26\:13 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68304 Archived-At: martin rudalics writes: > Breakpoint 3, Fsignal (error_symbol=23761593, data=33053189) at eval.c:1620 > (gdb) up 4 > #4 0x0107e521 in Flength (sequence=35211917) at fns.c:185 > (gdb) p sequence > $1 = 35211904 > (gdb) xtype > Lisp_Int > (gdb) xsymbol > $2 = (struct Lisp_Symbol *) 0x2194a80 > 0 That implies that in fns.c:607:concat, the value of args[0], which is the argument passed to Flength, is 35211917, a Lisp integer. However, this makes no sense, because just a few lines above that, we check the type of arg[0]: for (argnum = 0; argnum < nargs; argnum++) { this = args[argnum]; if (!(CONSP (this) || NILP (this) || VECTORP (this) || STRINGP (this) || COMPILEDP (this) || BOOL_VECTOR_P (this))) wrong_type_argument (Qsequencep, this); } So could you please check that in frame 5, argnum is indeed 0 and args[0] is 35211917, and check the xtype of args[0] in that frame?