From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.bugs Subject: bug#2388: 23.0.90; wrong-type-argument in vc-dir Date: Wed, 4 Mar 2009 23:14:51 +1300 Message-ID: <18862.21659.153250.510667@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> Reply-To: Nick Roberts , 2388@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236162265 7810 80.91.229.12 (4 Mar 2009 10:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2009 10:24:25 +0000 (UTC) To: robert marshall , 2388@emacsbugs.donarmstrong.com, Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 11:25:40 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LeoI7-0002lL-J2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2009 11:25:31 +0100 Original-Received: from localhost ([127.0.0.1]:38846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeoGl-0001Sp-J3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2009 05:24:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeoGP-0001JH-4Y for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2009 05:23:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeoGM-0001Ie-U1 for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2009 05:23:44 -0500 Original-Received: from [199.232.76.173] (port=38017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeoGM-0001IX-Lh for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2009 05:23:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47353) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeoGL-00087O-PJ for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2009 05:23:42 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24ANdhA007151; Wed, 4 Mar 2009 02:23:39 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n24AK3bY005981; Wed, 4 Mar 2009 02:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: nickrob@snap.net.nz (Nick Roberts) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 04 Mar 2009 10:20:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2388 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2388-submit@emacsbugs.donarmstrong.com id=B2388.12361617065016 (code B ref 2388); Wed, 04 Mar 2009 10:20:02 +0000 Original-Received: (at 2388) by emacsbugs.donarmstrong.com; 4 Mar 2009 10:15:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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) Original-Received: by totara (Postfix, from userid 1000) id EBDACC97B9; Wed, 4 Mar 2009 23:14:54 +1300 (NZDT) In-Reply-To: <18851.37147.636647.611430@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 04 Mar 2009 05:23:44 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25959 Archived-At: 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