From robert.marshall@tnei.co.uk Thu Feb 19 06:21:35 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Feb 2009 14:21:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JELVO1003428 for ; Thu, 19 Feb 2009 06:21:33 -0800 Received: from mx10.gnu.org ([199.232.76.166]:38854) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1La9kI-0006XE-KE for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:19:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1La9mH-0006Xw-Tl for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:21:30 -0500 Received: from tnei.co.uk ([83.170.102.119]:37840 helo=mail.tnei-mail.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1La9mH-0006Xa-J6 for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:21:25 -0500 Received: from mangw.ipsa-power.com ([83.138.33.114] helo=robert-laptop.tnei.co.uk) by mail.tnei-mail.com with esmtp (Exim 4.63) (envelope-from ) id 1La9ob-0000xp-UV for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 14:23:50 +0000 Date: Thu, 19 Feb 2009 14:21:16 +0000 Message-Id: <87zlgi1p9f.fsf@tnei.co.uk> From: robert To: emacs-pretest-bug@gnu.org X-SA-Exim-Connect-IP: 83.138.33.114 X-SA-Exim-Mail-From: robert.marshall@tnei.co.uk Subject: 23.0.90; wrong-type-argument in vc-dir X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) If I run vc-dir in a svn controlled directory called 'Test Networks' (with the internal space but not the quotes!), I get a wrong-type-argument error, with the following traceback - Debugger entered--Lisp error: (wrong-type-argument arrayp nil) ewoc-data(nil) vc-dir-node-directory(nil) when I don't have debug-on-error set to t the *vc-dir* process never completes. In GNU Emacs 23.0.90.4 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-02-16 on robert-laptop Windowing system distributor `The X.Org Foundation', version 11.0.10502000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: VC dir Minor modes in effect: diff-auto-refine-mode: t desktop-save-mode: t shell-dirtrack-mode: t recentf-mode: t show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t From dann@rodan.ics.uci.edu Fri Feb 20 08:12:29 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 20 Feb 2009 16:12:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGCQmP003656 for <2388@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 08:12:27 -0800 Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id n1KGCGVV025052; Fri, 20 Feb 2009 08:12:16 -0800 (PST) Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n1KGCFvg006453; Fri, 20 Feb 2009 08:12:15 -0800 (PST) Date: Fri, 20 Feb 2009 08:12:15 -0800 (PST) Message-Id: <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> From: Dan Nicolaescu To: robert Cc: 2388@debbugs.gnu.org Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir References: <87zlgi1p9f.fsf@tnei.co.uk> X-Debbugs-No-Ack: yes In-Reply-To: <87zlgi1p9f.fsf@tnei.co.uk> (robert's message of "Thu, 19 Feb 2009 14:21:16 +0000") Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n1KGCGVV025052 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu robert writes: > If I run vc-dir in a svn controlled directory called 'Test Networks' > (with the internal space but not the quotes!), I get a wrong-type-argument > error, with the following traceback - > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > ewoc-data(nil) > vc-dir-node-directory(nil) > > when I don't have debug-on-error set to t the *vc-dir* process never > completes. I can't reproduce this. Can you please post step by step recipe of how you get this, starting with emacs -Q. The output of svn -u status in that directory might be helpful too. From robert.marshall@tnei.co.uk Mon Feb 23 06:36:15 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 23 Feb 2009 14:36:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.tnei-mail.com (Debian-exim@tnei.co.uk [83.170.102.119]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NEaCsh005271 for <2388@emacsbugs.donarmstrong.com>; Mon, 23 Feb 2009 06:36:13 -0800 Received: from mangw.ipsa-power.com ([83.138.33.114] helo=[130.88.108.20]) by mail.tnei-mail.com with esmtp (Exim 4.63) (envelope-from ) id 1Lbbwj-0006pB-E4; Mon, 23 Feb 2009 14:38:46 +0000 Message-ID: <49A2B431.6030302@tnei.co.uk> Date: Mon, 23 Feb 2009 14:35:29 +0000 From: robert marshall User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Dan Nicolaescu CC: 2388@debbugs.gnu.org References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> In-Reply-To: <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 83.138.33.114 X-SA-Exim-Mail-From: robert.marshall@tnei.co.uk Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com) Dan Nicolaescu wrote: > robert writes: > > > If I run vc-dir in a svn controlled directory called 'Test Networks' > > (with the internal space but not the quotes!), I get a wrong-type-argument > > error, with the following traceback - > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > ewoc-data(nil) > > vc-dir-node-directory(nil) > > > > when I don't have debug-on-error set to t the *vc-dir* process never > > completes. > > I can't reproduce this. > Can you please post step by step recipe of how you get this, starting > with emacs -Q. > The output of > svn -u status > in that directory might be helpful too. > I can't reproduce this either now :-( I've done some checkins in that location and added a couple of files between when I reported the problem (which was very reproducible) and now. I will keep an eye on things and give a detailed recipe (and svn status) if it recurs. Robert -- Robert A J Marshall, TNEI Services Ltd, 86-90 London Road, Manchester, M1 2PW Registered in England & Wales No. 03891836, Registered office: Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 web: http://IPSA-Power.com From nickrob@snap.net.nz Mon Feb 23 22:18:16 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 24 Feb 2009 06:18:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1O6IBR0017180 for <2388@emacsbugs.donarmstrong.com>; Mon, 23 Feb 2009 22:18:13 -0800 Received: from kahikatea.snap.net.nz (115.61.255.123.dynamic.snap.net.nz [123.255.61.115]) by viper.snap.net.nz (Postfix) with ESMTP id 350BF3DB070; Tue, 24 Feb 2009 19:18:06 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 5C09E8FC6D; Tue, 24 Feb 2009 19:18:03 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18851.37147.636647.611430@kahikatea.snap.net.nz> Date: Tue, 24 Feb 2009 19:18:03 +1300 To: robert marshall , 2388@debbugs.gnu.org Cc: Dan Nicolaescu Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir In-Reply-To: <49A2B431.6030302@tnei.co.uk> References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> X-Mailer: VM 7.19 under Emacs 22.3.1 robert marshall writes: > > > If I run vc-dir in a svn controlled directory called 'Test Networks' > > > (with the internal space but not the quotes!), I get a wrong-type-argument > > > error, with the following traceback - > > > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > > ewoc-data(nil) > > > vc-dir-node-directory(nil) > > > > > > when I don't have debug-on-error set to t the *vc-dir* process never > > > completes. > > > > I can't reproduce this. > > Can you please post step by step recipe of how you get this, starting > > with emacs -Q. > > The output of > > svn -u status > > in that directory might be helpful too. > > > I can't reproduce this either now :-( I have seen this sometimes when files have needed merging/updating. I don't think it happened earlier because with SVN emacs didn't consult the remote repository by default: 2009-01-30 Nick Roberts * vc-svn.el (vc-svn-dir-status): Correct logic for remote connection. (Bug#2093) -- Nick http://www.inet.net.nz/~nickrob From dann@rodan.ics.uci.edu Tue Feb 24 19:57:30 2009 Received: (at 2388-done) by emacsbugs.donarmstrong.com; 25 Feb 2009 03:57:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P3vOfh024783 for <2388-done@emacsbugs.donarmstrong.com>; Tue, 24 Feb 2009 19:57:25 -0800 Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id n1P3vDjX005059; Tue, 24 Feb 2009 19:57:13 -0800 (PST) Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n1P3vDjI000779; Tue, 24 Feb 2009 19:57:13 -0800 (PST) Date: Tue, 24 Feb 2009 19:57:13 -0800 (PST) Message-Id: <200902250357.n1P3vDjI000779@rodan.ics.uci.edu> From: Dan Nicolaescu To: robert marshall Cc: 2388-done@debbugs.gnu.org Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> X-Debbugs-No-Ack: yes In-Reply-To: <49A2B431.6030302@tnei.co.uk> (robert marshall's message of "Mon, 23 Feb 2009 14:35:29 +0000") Lines: 5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n1P3vDjX005059 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu robert marshall writes: > I can't reproduce this either now :-( Then the bug is closed. From nickrob@snap.net.nz Wed Mar 4 02:15:06 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 4 Mar 2009 10:15:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24AF2Z5004684 for <2388@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 02:15:03 -0800 Received: from totara (226.60.255.123.dynamic.snap.net.nz [123.255.60.226]) by viper.snap.net.nz (Postfix) with ESMTP id 45A963D9C9D; Wed, 4 Mar 2009 23:14:56 +1300 (NZDT) Received: by totara (Postfix, from userid 1000) id EBDACC97B9; Wed, 4 Mar 2009 23:14:54 +1300 (NZDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18862.21659.153250.510667@snap.net.nz> Date: Wed, 4 Mar 2009 23:14:51 +1300 To: robert marshall , 2388@debbugs.gnu.org, Dan Nicolaescu Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir In-Reply-To: <18851.37147.636647.611430@kahikatea.snap.net.nz> References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) Nick Roberts writes: > > > I can't reproduce this. > > > Can you please post step by step recipe of how you get this, starting > > > with emacs -Q. > > > The output of > > > svn -u status > > > in that directory might be helpful too. > > > > > I can't reproduce this either now :-( > > I have seen this sometimes when files have needed merging/updating. I don't > think it happened earlier because with SVN emacs didn't consult the remote > repository by default: I still see this. Here's a recent backtrace: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) ewoc-data(nil) (let ((data ...)) (or (vc-dir-fileinfo->directory data) (file-name-directory ...))) vc-dir-node-directory(nil) (let* ((rd ...) (prev-node ...) (prev-dir ...)) (unless (string-equal entrydir prev-dir) (ewoc-enter-before vc-ewoc node ...))) (cond ((string-lessp nodedir entrydir) (setq node ...)) ((string-equal nodedir entrydir) (let ... ...)) (t (let* ... ...) (ewoc-enter-before vc-ewoc node ...) (setq entries ... entry ...))) (let* ((entryfile ...) (entrydir ...) (nodedir ...)) (cond (... ...) (... ...) (t ... ... ...))) (while (and entry node) (let* (... ... ...) (cond ... ... ...))) (let ((entry ...) (node ...) (dotname ...)) (unless node (ewoc-enter-last vc-ewoc ...) (setq node ...)) (while (and entry node) (let* ... ...)) (unless (or node noinsert) (let ... ...))) (save-current-buffer (set-buffer buffer) (setq entries (sort entries ...)) (let (... ... ...) (unless node ... ...) (while ... ...) (unless ... ...))) (with-current-buffer buffer (setq entries (sort entries ...)) (let (... ... ...) (unless node ... ...) (while ... ...) (unless ... ...))) vc-dir-update((("." needs-update) ("mydir" needs-update) ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ... which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. -- Nick http://www.inet.net.nz/~nickrob From rgm@gnu.org Wed Mar 4 12:19:24 2009 Received: (at control) by emacsbugs.donarmstrong.com; 4 Mar 2009 20:19:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24KJL1M002351 for ; Wed, 4 Mar 2009 12:19:22 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LexYm-0003sV-8X; Wed, 04 Mar 2009 15:19:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18862.57928.193764.165955@fencepost.gnu.org> Date: Wed, 4 Mar 2009 15:19:20 -0500 From: Glenn Morris To: control Subject: control message reopen 2388 reassign 2388 emacs,vc-dir merge 2388 2566 severity 2554 minor severity 2555 minor From robert.marshall@tnei.co.uk Tue Mar 10 02:43:24 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 10 Mar 2009 09:43:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.tnei-mail.com (Debian-exim@tnei.co.uk [83.170.102.119]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2A9hKg3027293 for <2388@emacsbugs.donarmstrong.com>; Tue, 10 Mar 2009 02:43:21 -0700 Received: from mangw.ipsa-power.com ([83.138.33.114] helo=[130.88.108.10]) by mail.tnei-mail.com with esmtp (Exim 4.63) (envelope-from ) id 1LgyXf-0005Tj-LF; Tue, 10 Mar 2009 09:46:32 +0000 Message-ID: <49B6361C.8050702@tnei.co.uk> Date: Tue, 10 Mar 2009 09:42:52 +0000 From: robert marshall User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Nick Roberts CC: 2388@debbugs.gnu.org, Dan Nicolaescu References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> <18862.21659.153250.510667@snap.net.nz> In-Reply-To: <18862.21659.153250.510667@snap.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 83.138.33.114 X-SA-Exim-Mail-From: robert.marshall@tnei.co.uk Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com) Nick Roberts wrote: > Nick Roberts writes: > > > > I can't reproduce this. > > > > Can you please post step by step recipe of how you get this, starting > > > > with emacs -Q. > > > > The output of > > > > svn -u status > > > > in that directory might be helpful too. > > > > > > > I can't reproduce this either now :-( > > > > I have seen this sometimes when files have needed merging/updating. I don't > > think it happened earlier because with SVN emacs didn't consult the remote > > repository by default: > > I still see this. Here's a recent backtrace: > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > ewoc-data(nil) > (let ((data ...)) (or (vc-dir-fileinfo->directory data) > (file-name-directory ...))) > vc-dir-node-directory(nil) > (let* ((rd ...) (prev-node ...) (prev-dir ...)) (unless (string-equal > entrydir prev-dir) (ewoc-enter-before vc-ewoc node ...))) > (cond ((string-lessp nodedir entrydir) (setq node ...)) ((string-equal > nodedir entrydir) (let ... ...)) (t (let* ... ...) (ewoc-enter-before > vc-ewoc node ...) (setq entries ... entry ...))) > (let* ((entryfile ...) (entrydir ...) (nodedir ...)) (cond (... ...) > (... ...) (t ... ... ...))) > (while (and entry node) (let* (... ... ...) (cond ... ... ...))) > (let ((entry ...) (node ...) (dotname ...)) (unless node > (ewoc-enter-last vc-ewoc ...) (setq node ...)) (while (and entry node) > (let* ... ...)) (unless (or node noinsert) (let ... ...))) > (save-current-buffer (set-buffer buffer) (setq entries (sort entries > ...)) (let (... ... ...) (unless node ... ...) (while ... ...) (unless > ... ...))) > (with-current-buffer buffer (setq entries (sort entries ...)) (let > (... ... ...) (unless node ... ...) (while ... ...) (unless ... ...))) > vc-dir-update((("." needs-update) ("mydir" needs-update) > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) > ... > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. > > I'm seeing this, today, the status gives me svn -u status * 7243 tests/compare.py * 7243 tests/harm.py * 7243 tests/setup-win.py * 7243 ipsa.i * 7243 Makefile * 7243 IscNetComponent.cpp * 7243 IscNetComparator.h * 7243 IpsaComparator.cpp * 7243 IscNetComponent.h * 7243 IscNetComparator.cpp * IscCompareData.h ? ipsa_wrap.cpp M * 7243 IscInterface.cpp ? ipsa.py * IscCompareData.cpp * 7243 Scripting.vcproj * 7243 . Status against revision: 7248 I run emacs -Q and immediately (vc-dir "/home/robert/IPSA/IPSA+1.6/Scripting/" nil) and i get the following traceback ewoc-data(nil) vc-dir-node-directory(nil) vc-dir-update((("." needs-update) ("IpsaComparator.cpp" needs-update) ("IscCompareData.cpp" needs-update) ("IscCompareData.h" needs-update) ("IscInterface.cpp" needs-merge) ("IscNetComparator.cpp" needs-update) ("IscNetComparator.h" needs-update) ("IscNetComponent.cpp" needs-update) ("IscNetComponent.h" needs-update) ("Makefile" needs-update) ("Scripting.vcproj" needs-update) ("ipsa.i" needs-update) ("ipsa.py" unregistered) ("ipsa_wrap.cpp" unregistered) ("tests/compare.py" needs-update) ("tests/harm.py" needs-update) ("tests/setup-win.py" needs-update)) #) #[(G93901 entries &optional more-to-come) "rJqÆ J\"\n?' Robert -- Robert A J Marshall, TNEI Services Ltd, 86-90 London Road, Manchester, M1 2PW Registered in England & Wales No. 03891836, Registered office: Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 web: http://IPSA-Power.com From dann@godzilla.ics.uci.edu Tue Mar 10 14:11:18 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 10 Mar 2009 21:11:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2ALBFIR010936 for <2388@emacsbugs.donarmstrong.com>; Tue, 10 Mar 2009 14:11:17 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n2ALB2uA019830; Tue, 10 Mar 2009 14:11:02 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n2ALB1OM029132; Tue, 10 Mar 2009 14:11:01 -0700 (PDT) Date: Tue, 10 Mar 2009 14:11:01 -0700 (PDT) Message-Id: <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> From: Dan Nicolaescu To: robert marshall Cc: Nick Roberts , 2388@debbugs.gnu.org Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> <18862.21659.153250.510667@snap.net.nz> <49B6361C.8050702@tnei.co.uk> X-Debbugs-No-Ack: yes In-Reply-To: <49B6361C.8050702@tnei.co.uk> (robert marshall's message of "Tue, 10 Mar 2009 09:42:52 +0000") Lines: 85 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n2ALB2uA019830 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu robert marshall writes: > Nick Roberts wrote: > > Nick Roberts writes: > > > > > I can't reproduce this. > > > > > Can you please post step by step recipe of how you get this, starting > > > > > with emacs -Q. > > > The output of > > > svn -u status > > > > > in that directory might be helpful too. > > > > > > > I can't reproduce this either now :-( > > > > I have seen this sometimes when files have needed > > merging/updating. I don't > > > think it happened earlier because with SVN emacs didn't consult the remote > > > repository by default: > > > > I still see this. Here's a recent backtrace: > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > ewoc-data(nil) > > (let ((data ...)) (or (vc-dir-fileinfo->directory data) > > (file-name-directory ...))) > > vc-dir-node-directory(nil) > > (let* ((rd ...) (prev-node ...) (prev-dir ...)) (unless > > (string-equal entrydir prev-dir) (ewoc-enter-before vc-ewoc node > > ...))) > > (cond ((string-lessp nodedir entrydir) (setq node ...)) > > ((string-equal nodedir entrydir) (let ... ...)) (t (let* ... ...) > > (ewoc-enter-before vc-ewoc node ...) (setq entries ... entry ...))) > > (let* ((entryfile ...) (entrydir ...) (nodedir ...)) (cond > > (... ...) (... ...) (t ... ... ...))) > > (while (and entry node) (let* (... ... ...) (cond ... ... ...))) > > (let ((entry ...) (node ...) (dotname ...)) (unless node > > (ewoc-enter-last vc-ewoc ...) (setq node ...)) (while (and entry > > node) (let* ... ...)) (unless (or node noinsert) (let ... ...))) > > (save-current-buffer (set-buffer buffer) (setq entries (sort > > entries ...)) (let (... ... ...) (unless node ... ...) (while > > ... ...) (unless ... ...))) > > (with-current-buffer buffer (setq entries (sort entries ...)) (let > > (... ... ...) (unless node ... ...) (while ... ...) (unless > > ... ...))) > > vc-dir-update((("." needs-update) ("mydir" needs-update) > > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ... > > > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. > > > > > I'm seeing this, today, the status gives me > > svn -u status > * 7243 tests/compare.py > * 7243 tests/harm.py > * 7243 tests/setup-win.py > * 7243 ipsa.i > * 7243 Makefile > * 7243 IscNetComponent.cpp > * 7243 IscNetComparator.h > * 7243 IpsaComparator.cpp > * 7243 IscNetComponent.h > * 7243 IscNetComparator.cpp > * IscCompareData.h > ? ipsa_wrap.cpp > M * 7243 IscInterface.cpp > ? ipsa.py > * IscCompareData.cpp > * 7243 Scripting.vcproj > * 7243 . ^^^^^^^^^^^^^^^^^^^^^^^^ This might be the cause of the problem. Can you please try thing patch: Index: vc-svn.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/vc-svn.el,v retrieving revision 1.112 diff -u -3 -p -u -p -r1.112 vc-svn.el --- vc-svn.el 10 Feb 2009 05:59:14 -0000 1.112 +++ vc-svn.el 10 Mar 2009 20:49:23 -0000 @@ -176,7 +176,7 @@ want to force an empty list of arguments ;; FIXME are there other possible combinations? (cond ((eq state 'edited) (setq state 'needs-merge)) ((not state) (setq state 'needs-update)))) - (when state + (when (and state (not (string= "." filename))) (setq result (cons (list filename state) result))))) (funcall callback result))) From robert.marshall@tnei.co.uk Wed Mar 11 01:45:05 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 11 Mar 2009 08:45:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.tnei-mail.com (Debian-exim@tnei.co.uk [83.170.102.119]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2B8ixIO024122 for <2388@emacsbugs.donarmstrong.com>; Wed, 11 Mar 2009 01:45:01 -0700 Received: from mangw.ipsa-power.com ([83.138.33.114] helo=[130.88.108.10]) by mail.tnei-mail.com with esmtp (Exim 4.63) (envelope-from ) id 1LhK6l-0000wh-KV; Wed, 11 Mar 2009 08:48:12 +0000 Message-ID: <49B779ED.5000000@tnei.co.uk> Date: Wed, 11 Mar 2009 08:44:29 +0000 From: robert marshall User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Dan Nicolaescu CC: Nick Roberts , 2388@debbugs.gnu.org References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> <18862.21659.153250.510667@snap.net.nz> <49B6361C.8050702@tnei.co.uk> <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> In-Reply-To: <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 83.138.33.114 X-SA-Exim-Mail-From: robert.marshall@tnei.co.uk Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com) Dan Nicolaescu wrote: > robert marshall writes: > > > Nick Roberts wrote: > > > Nick Roberts writes: > > > > > > I can't reproduce this. > > > > > > Can you please post step by step recipe of how you get this, starting > > > > > > with emacs -Q. > > > The output of > > > svn -u status > > > > > > in that directory might be helpful too. > > > > > > > > I can't reproduce this either now :-( > > > > > I have seen this sometimes when files have needed > > > merging/updating. I don't > > > > think it happened earlier because with SVN emacs didn't consult the remote > > > > repository by default: > > > > > > I still see this. Here's a recent backtrace: > > > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > > ewoc-data(nil) > .. > > > vc-dir-update((("." needs-update) ("mydir" needs-update) > > > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ... > > > > > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. > > > > > > > > I'm seeing this, today, the status gives me > > > > svn -u status > > * 7243 tests/compare.py > > * 7243 tests/harm.py > > * 7243 tests/setup-win.py > > * 7243 ipsa.i > > * 7243 Makefile > > * 7243 IscNetComponent.cpp > > * 7243 IscNetComparator.h > > * 7243 IpsaComparator.cpp > > * 7243 IscNetComponent.h > > * 7243 IscNetComparator.cpp > > * IscCompareData.h > > ? ipsa_wrap.cpp > > M * 7243 IscInterface.cpp > > ? ipsa.py > > * IscCompareData.cpp > > * 7243 Scripting.vcproj > > * 7243 . > ^^^^^^^^^^^^^^^^^^^^^^^^ > This might be the cause of the problem. Can you please try thing > patch: > > > Index: vc-svn.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/vc-svn.el,v > retrieving revision 1.112 > diff -u -3 -p -u -p -r1.112 vc-svn.el > --- vc-svn.el 10 Feb 2009 05:59:14 -0000 1.112 > +++ vc-svn.el 10 Mar 2009 20:49:23 -0000 > @@ -176,7 +176,7 @@ want to force an empty list of arguments > ;; FIXME are there other possible combinations? > (cond ((eq state 'edited) (setq state 'needs-merge)) > ((not state) (setq state 'needs-update)))) > - (when state > + (when (and state (not (string= "." filename))) > (setq result (cons (list filename state) result))))) > (funcall callback result))) > Thanks for this, I've installed it and will persuade my colleagues to do a few checkins :-) Not sure why svn should list '.' as needing an update. Unfortunately my svn is now up to date so I can't, currently, replicate this issue. Robert -- Robert A J Marshall, TNEI Services Ltd, 86-90 London Road, Manchester, M1 2PW Registered in England & Wales No. 03891836, Registered office: Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 web: http://IPSA-Power.com From dann@godzilla.ics.uci.edu Wed Mar 11 17:48:41 2009 Received: (at 2388) by emacsbugs.donarmstrong.com; 12 Mar 2009 00:48:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2C0mdHJ010725 for <2388@emacsbugs.donarmstrong.com>; Wed, 11 Mar 2009 17:48:40 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n2C0mMqc011475; Wed, 11 Mar 2009 17:48:22 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n2C0mMkj009754; Wed, 11 Mar 2009 17:48:22 -0700 (PDT) Date: Wed, 11 Mar 2009 17:48:22 -0700 (PDT) Message-Id: <200903120048.n2C0mMkj009754@godzilla.ics.uci.edu> From: Dan Nicolaescu To: robert marshall Cc: 2388@debbugs.gnu.org Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> <18862.21659.153250.510667@snap.net.nz> <49B6361C.8050702@tnei.co.uk> <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> <49B779ED.5000000@tnei.co.uk> X-Debbugs-No-Ack: yes In-Reply-To: <49B779ED.5000000@tnei.co.uk> (robert marshall's message of "Wed, 11 Mar 2009 08:44:29 +0000") Lines: 77 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n2C0mMqc011475 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu robert marshall writes: > Dan Nicolaescu wrote: > > robert marshall writes: > > > > > Nick Roberts wrote: > > > > Nick Roberts writes: > > > > > > > I can't reproduce this. > > > > > > > Can you please post step by step recipe of how you get this, starting > > > > > > > with emacs -Q. > > > The output of > > > svn -u status > > > > > > > in that directory might be helpful too. > > > > > > > > > I can't reproduce this either now :-( > > > > > > I have seen this sometimes when files have needed > > > > merging/updating. I don't > > > > > think it happened earlier because with SVN emacs didn't consult the remote > > > > > repository by default: > > > > > > > > I still see this. Here's a recent backtrace: > > > > > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > > > ewoc-data(nil) > > .. > > > > vc-dir-update((("." needs-update) ("mydir" needs-update) > > > > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ... > > > > > > > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. > > > > > > > > > I'm seeing this, today, the status gives me > > > > svn -u status > > > * 7243 tests/compare.py > > > * 7243 tests/harm.py > > > * 7243 tests/setup-win.py > > > * 7243 ipsa.i > > > * 7243 Makefile > > > * 7243 IscNetComponent.cpp > > > * 7243 IscNetComparator.h > > > * 7243 IpsaComparator.cpp > > > * 7243 IscNetComponent.h > > > * 7243 IscNetComparator.cpp > > > * IscCompareData.h > > > ? ipsa_wrap.cpp > > > M * 7243 IscInterface.cpp > > > ? ipsa.py > > > * IscCompareData.cpp > > > * 7243 Scripting.vcproj > > > * 7243 . > > ^^^^^^^^^^^^^^^^^^^^^^^^ This might be the cause of the > > problem. Can you please try thing > > patch: > > > > > > Index: vc-svn.el > > =================================================================== > > RCS file: /cvsroot/emacs/emacs/lisp/vc-svn.el,v > > retrieving revision 1.112 > > diff -u -3 -p -u -p -r1.112 vc-svn.el > > --- vc-svn.el 10 Feb 2009 05:59:14 -0000 1.112 > > +++ vc-svn.el 10 Mar 2009 20:49:23 -0000 > > @@ -176,7 +176,7 @@ want to force an empty list of arguments > > ;; FIXME are there other possible combinations? > > (cond ((eq state 'edited) (setq state 'needs-merge)) > > ((not state) (setq state 'needs-update)))) > > - (when state > > + (when (and state (not (string= "." filename))) > > (setq result (cons (list filename state) result))))) > > (funcall callback result))) > > > Thanks for this, I've installed it and will persuade my colleagues to > do a few checkins :-) > Not sure why svn should list '.' as needing an update. Unfortunately > my svn is now > up to date so I can't, currently, replicate this issue. I would say it would be better to not install the above patch. You can install it whenever you hit the problem again and see if it help. In case it doesn't saving the tree that generates the problem would help testing a different fix. From dann@godzilla.ics.uci.edu Tue Apr 14 17:30:39 2009 Received: (at 2388-done) by emacsbugs.donarmstrong.com; 15 Apr 2009 00:30:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3F0UaD0015672 for <2388-done@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 17:30:37 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3F0UHn2014971; Tue, 14 Apr 2009 17:30:17 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3F0UGFT009182; Tue, 14 Apr 2009 17:30:16 -0700 (PDT) Date: Tue, 14 Apr 2009 17:30:16 -0700 (PDT) Message-Id: <200904150030.n3F0UGFT009182@godzilla.ics.uci.edu> From: Dan Nicolaescu To: 2388-done@debbugs.gnu.org Cc: robert marshall Subject: Re: bug#2388: 23.0.90; wrong-type-argument in vc-dir References: <87zlgi1p9f.fsf@tnei.co.uk> <200902201612.n1KGCFvg006453@rodan.ics.uci.edu> <49A2B431.6030302@tnei.co.uk> <18851.37147.636647.611430@kahikatea.snap.net.nz> <18862.21659.153250.510667@snap.net.nz> <49B6361C.8050702@tnei.co.uk> <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 10 Mar 2009 14:11:01 -0700 (PDT)") Lines: 90 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3F0UHn2014971 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Dan Nicolaescu writes: > robert marshall writes: > > > Nick Roberts wrote: > > > Nick Roberts writes: > > > > > > I can't reproduce this. > > > > > > Can you please post step by step recipe of how you get this, starting > > > > > > with emacs -Q. > > > The output of > > > svn -u status > > > > > > in that directory might be helpful too. > > > > > > > > I can't reproduce this either now :-( > > > > > I have seen this sometimes when files have needed > > > merging/updating. I don't > > > > think it happened earlier because with SVN emacs didn't consult the remote > > > > repository by default: > > > > > > I still see this. Here's a recent backtrace: > > > > > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > > > ewoc-data(nil) > > > (let ((data ...)) (or (vc-dir-fileinfo->directory data) > > > (file-name-directory ...))) > > > vc-dir-node-directory(nil) > > > (let* ((rd ...) (prev-node ...) (prev-dir ...)) (unless > > > (string-equal entrydir prev-dir) (ewoc-enter-before vc-ewoc node > > > ...))) > > > (cond ((string-lessp nodedir entrydir) (setq node ...)) > > > ((string-equal nodedir entrydir) (let ... ...)) (t (let* ... ...) > > > (ewoc-enter-before vc-ewoc node ...) (setq entries ... entry ...))) > > > (let* ((entryfile ...) (entrydir ...) (nodedir ...)) (cond > > > (... ...) (... ...) (t ... ... ...))) > > > (while (and entry node) (let* (... ... ...) (cond ... ... ...))) > > > (let ((entry ...) (node ...) (dotname ...)) (unless node > > > (ewoc-enter-last vc-ewoc ...) (setq node ...)) (while (and entry > > > node) (let* ... ...)) (unless (or node noinsert) (let ... ...))) > > > (save-current-buffer (set-buffer buffer) (setq entries (sort > > > entries ...)) (let (... ... ...) (unless node ... ...) (while > > > ... ...) (unless ... ...))) > > > (with-current-buffer buffer (setq entries (sort entries ...)) (let > > > (... ... ...) (unless node ... ...) (while ... ...) (unless > > > ... ...))) > > > vc-dir-update((("." needs-update) ("mydir" needs-update) > > > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ... > > > > > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil. > > > > > > > > I'm seeing this, today, the status gives me > > > > svn -u status > > * 7243 tests/compare.py > > * 7243 tests/harm.py > > * 7243 tests/setup-win.py > > * 7243 ipsa.i > > * 7243 Makefile > > * 7243 IscNetComponent.cpp > > * 7243 IscNetComparator.h > > * 7243 IpsaComparator.cpp > > * 7243 IscNetComponent.h > > * 7243 IscNetComparator.cpp > > * IscCompareData.h > > ? ipsa_wrap.cpp > > M * 7243 IscInterface.cpp > > ? ipsa.py > > * IscCompareData.cpp > > * 7243 Scripting.vcproj > > * 7243 . > ^^^^^^^^^^^^^^^^^^^^^^^^ > This might be the cause of the problem. Can you please try thing > patch: > > > Index: vc-svn.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/vc-svn.el,v > retrieving revision 1.112 > diff -u -3 -p -u -p -r1.112 vc-svn.el > --- vc-svn.el 10 Feb 2009 05:59:14 -0000 1.112 > +++ vc-svn.el 10 Mar 2009 20:49:23 -0000 > @@ -176,7 +176,7 @@ want to force an empty list of arguments > ;; FIXME are there other possible combinations? > (cond ((eq state 'edited) (setq state 'needs-merge)) > ((not state) (setq state 'needs-update)))) > - (when state > + (when (and state (not (string= "." filename))) > (setq result (cons (list filename state) result))))) > (funcall callback result))) After doing "svn update -rSOME_OLDER_VERSION" it seems that "." can appear in the "svn status" output. So I applied this patch. From unknown Sat Aug 16 21:23:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 May 2009 14:24:08 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator