From unknown Mon Aug 18 08:56:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4555 <4555@debbugs.gnu.org> To: bug#4555 <4555@debbugs.gnu.org> Subject: Status: bootstrap non-fatal args-out-of-range error making autoloads Reply-To: bug#4555 <4555@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:56:33 +0000 retitle 4555 bootstrap non-fatal args-out-of-range error making autoloads reassign 4555 emacs submitter 4555 Glenn Morris severity 4555 normal thanks From rgm@gnu.org Thu Sep 24 15:38:56 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2009 22:38:57 +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=AWL,FOURLA,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8OMctme006530 for ; Thu, 24 Sep 2009 15:38:56 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqwxi-0005RQ-T8 for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 18:38:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqwxe-0005Pf-A0 for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 18:38:54 -0400 Received: from [199.232.76.173] (port=32847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqwxe-0005Pc-4m for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 18:38:50 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:42588) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mqwxd-0003pI-OU for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 18:38:49 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mqwxd-0001vx-HE; Thu, 24 Sep 2009 18:38:49 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org Subject: bootstrap non-fatal args-out-of-range error making autoloads X-Spook: White House UFO Bellcore Putin military electronic X-Ran: |C[@5o&oM*\)"[2w%PGJ?w7 User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) When bootstrapping the current trunk, I see the following non-fatal error during the build: Generating autoloads for dired-aux.el... Error: (args-out-of-range 0 0) Generating autoloads for dired-x.el... Turning on debug-on-error while making autoloads gives (after some randomness) the following backtrace. (I don't know why it is abbreviated, I am setting print-length and friends to nil). This is from the point of the find-file-noselect call in autoload-find-destination. It looks like something is messing up the match-data in vc-cvs-parse-entry. It's not obvious to me that requiring parse-time and calling parse-time-string isn't going to change the match-data in some way. buffer-substring(0 0) (if string (substring string (match-beginning num) (match-end num)) (buffer-substring (match-beginning num) (match-end num))) (if (match-beginning num) (if string (substring string ... ...) (buffer-substring ... ...))) match-string(2) (string-match "\\+" (match-string 2)) (not (string-match "\\+" (match-string 2))) (and (not (string-match "\\+" ...)) (car parsed-time) (equal mtime (apply ... parsed-time))) (cond ((and ... ... ...) (vc-file-setprop file ... mtime) (if set-state ...)) (t (vc-file-setprop file ... 0) (if set-state ...))) (let ((parsed-time ...)) (cond (... ... ...) (t ... ...))) (let ((mtime ...)) (require (quote parse-time)) (let (...) (cond ... ...))) (cond ((looking-at "/[^/]+/0/") (vc-file-setprop file ... 0) (vc-file-setprop file ... "0") (if set-state ...)) ((looking-at ...) (vc-file-setprop file ... ...) (vc-file-setprop file ... ...) (let ... ... ...))) vc-cvs-parse-entry("/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") (cond ((re-search-forward ... nil t) (beginning-of-line) (vc-cvs-parse-entry file) t) (t nil)) (progn (vc-cvs-get-entries dirname) (goto-char (point-min)) (cond (... ... ... t) (t nil))) (unwind-protect (progn (vc-cvs-get-entries dirname) (goto-char ...) (cond ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ... ...) (and ... ...))) (with-current-buffer temp-buffer (unwind-protect (progn ... ... ...) (and ... ...))) (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) (with-temp-buffer (vc-cvs-get-entries dirname) (goto-char (point-min)) (cond (... ... ... t) (t nil))) (or (string= basename "") (with-temp-buffer (vc-cvs-get-entries dirname) (goto-char ...) (cond ... ...))) (if (file-readable-p (expand-file-name "CVS/Entries" dirname)) (or (string= basename "") (with-temp-buffer ... ... ...)) nil) (let ((dirname ...) (basename ...) (case-fold-search nil)) (if (file-readable-p ...) (or ... ...) nil)) vc-cvs-registered("/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") apply(vc-cvs-registered "/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") (cond ((null f) (error "Sorry, %s is not implemented for %s" function-name backend)) ((consp f) (apply ... ... args)) (t (apply f args))) (let ((f ...)) (if f (setq f ...) (setq f ...) (push ... ...)) (cond (... ...) (... ...) (t ...))) vc-call-backend(CVS registered "/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") (and (vc-call-backend b (quote registered) file) (vc-file-setprop file (quote vc-backend) b) (throw (quote found) t)) (lambda (b) (and (vc-call-backend b ... file) (vc-file-setprop file ... b) (throw ... t)))(CVS) mapc((lambda (b) (and (vc-call-backend b ... file) (vc-file-setprop file ... b) (throw ... t))) (RCS CVS SVN SCCS Bzr Git Hg Mtn Arch)) (let ((backend ...)) (mapc (lambda ... ...) (if ... vc-handled-backends ...))) (catch (quote found) (let (...) (mapc ... ...)) (vc-file-setprop file (quote vc-backend) (quote none)) nil) (cond ((and ... ...) nil) ((and ... ...) (funcall handler ... file)) (t (catch ... ... ... nil))) (let (handler) (cond (... nil) (... ...) (t ...))) vc-registered("/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") (if (vc-registered file-or-list) (vc-file-getprop file-or-list (quote vc-backend)) nil) (cond ((eq property ...) nil) (property) (t (if ... ... nil))) (let ((property ...)) (cond (... nil) (property) (t ...))) (cond ((stringp file-or-list) (let ... ...)) ((and file-or-list ...) (vc-backend ...)) (t nil)) vc-backend("/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") (progn (vc-backend buffer-file-name)) (lambda nil (progn (vc-backend buffer-file-name)))() funcall((lambda nil (progn (vc-backend buffer-file-name)))) (if debug-on-error (funcall body) (condition-case err (funcall body) (error ... nil))) (let ((body ...)) (if debug-on-error (funcall body) (condition-case err ... ...))) (condition-case-no-debug err (progn (vc-backend buffer-file-name)) (error (message "Error: %s" err) nil)) (with-demoted-errors (vc-backend buffer-file-name)) (setq backend (with-demoted-errors (vc-backend buffer-file-name))) (cond ((setq backend ...) (vc-mode-line buffer-file-name backend) (unless vc-make-backup-files ...) (vc-call-backend backend ...)) ((let ... ...))) (let (backend) (cond (... ... ... ...) (...))) (progn (vc-file-clearprops buffer-file-name) (add-hook (quote mode-line-hook) (quote vc-mode-line) nil t) (let (backend) (cond ... ...))) (if buffer-file-name (progn (vc-file-clearprops buffer-file-name) (add-hook ... ... nil t) (let ... ...))) (when buffer-file-name (vc-file-clearprops buffer-file-name) (add-hook (quote mode-line-hook) (quote vc-mode-line) nil t) (let (backend) (cond ... ...))) vc-find-file-hook() run-hooks(find-file-hook) (if nomodes nil (when (and view-read-only view-mode) (view-mode-disable)) (normal-mode t) (and (memq require-final-newline ...) (> ... ...) (/= ... 10) (not ...) (save-excursion ... ...)) (when (and buffer-read-only view-read-only ...) (view-mode-enter)) (run-hooks (quote find-file-hook))) (unless nomodes (when (and view-read-only view-mode) (view-mode-disable)) (normal-mode t) (and (memq require-final-newline ...) (> ... ...) (/= ... 10) (not ...) (save-excursion ... ...)) (when (and buffer-read-only view-read-only ...) (view-mode-enter)) (run-hooks (quote find-file-hook))) after-find-file(nil t) (if rawfile (progn (set-buffer-multibyte nil) (setq buffer-file-coding-system ...) (set-buffer-major-mode buf) (make-local-variable ...) (setq find-file-literally t)) (after-find-file error (not nowarn))) (save-current-buffer (set-buffer buf) (kill-local-variable (quote find-file-literally)) (kill-local-variable (quote buffer-file-coding-system)) (kill-local-variable (quote cursor-type)) (let (...) (erase-buffer)) (and (default-value ...) (not rawfile) (set-buffer-multibyte t)) (if rawfile (condition-case nil ... ...) (condition-case nil ... ...)) (if (equal filename buffer-file-name) (setq buffer-file-truename truename) (setq buffer-file-truename ...)) (setq buffer-file-number number) (if find-file-visit-truename (setq buffer-file-name ...)) (setq default-directory (file-name-directory buffer-file-name)) (and backup-enable-predicate (not ...) (progn ... ...)) (if rawfile (progn ... ... ... ... ...) (after-find-file error ...)) (current-buffer)) (with-current-buffer buf (kill-local-variable (quote find-file-literally)) (kill-local-variable (quote buffer-file-coding-system)) (kill-local-variable (quote cursor-type)) (let (...) (erase-buffer)) (and (default-value ...) (not rawfile) (set-buffer-multibyte t)) (if rawfile (condition-case nil ... ...) (condition-case nil ... ...)) (if (equal filename buffer-file-name) (setq buffer-file-truename truename) (setq buffer-file-truename ...)) (setq buffer-file-number number) (if find-file-visit-truename (setq buffer-file-name ...)) (setq default-directory (file-name-directory buffer-file-name)) (and backup-enable-predicate (not ...) (progn ... ...)) (if rawfile (progn ... ... ... ... ...) (after-find-file error ...)) (current-buffer)) (let (error) (with-current-buffer buf (kill-local-variable ...) (kill-local-variable ...) (kill-local-variable ...) (let ... ...) (and ... ... ...) (if rawfile ... ...) (if ... ... ...) (setq buffer-file-number number) (if find-file-visit-truename ...) (setq default-directory ...) (and backup-enable-predicate ... ...) (if rawfile ... ...) (current-buffer))) find-file-noselect-1(# "/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el" nil nil "/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el" (28542623 2053)) (if buf (let (nonexistent) (or nowarn ... ...) (with-current-buffer buf ... ...) buf) (setq buf (create-file-buffer filename)) (find-file-noselect-1 buf filename nowarn rawfile truename number)) (let* ((buf ...) (truename ...) (attributes ...) (number ...) (other ...)) (if other (progn ... ...)) (when (not ...) (abort-if-file-too-large ... "open" filename)) (if buf (let ... ... ... buf) (setq buf ...) (find-file-noselect-1 buf filename nowarn rawfile truename number))) (if (and wildcards find-file-wildcards (not ...) (string-match "[[*?]" filename)) (let (... ...) (if ... ... ...)) (let* (... ... ... ... ...) (if other ...) (when ... ...) (if buf ... ... ...))) (if (file-directory-p filename) (or (and find-file-run-dired ...) (error "%s is a directory" filename)) (if (and wildcards find-file-wildcards ... ...) (let ... ...) (let* ... ... ... ...))) find-file-noselect("/scratch/gmorris/emacs/cvs/trunk-orig/lisp/dired.el") From rgm@gnu.org Wed Sep 30 19:23:53 2009 Received: (at 4555-done) by emacsbugs.donarmstrong.com; 1 Oct 2009 02:23:53 +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=-7.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK 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.14.3/8.14.3/Debian-5) with ESMTP id n912NqJa029428 for <4555-done@emacsbugs.donarmstrong.com>; Wed, 30 Sep 2009 19:23:53 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MtBKh-0002bE-G7; Wed, 30 Sep 2009 22:23:51 -0400 From: Glenn Morris To: 4555-done@debbugs.gnu.org Subject: Re: bug#4555: bootstrap non-fatal args-out-of-range error making autoloads References: X-Spook: ASIO JSOFC3IP colonel Ansar al-Islam South Africa Europol X-Ran: GvX-weIt(\:VS}WX-1@)olti!(Jrf/B=64kn,u>}&XdN>iD/U1`|[mS9r*>%6=u5olF=^{ X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 30 Sep 2009 22:23:51 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 24 Sep 2009 18:38:49 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the match-data. From unknown Mon Aug 18 08:56:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Oct 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long 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