GNU bug report logs - #35144
26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure

Previous Next

Packages: emacs, ada-mode;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Thu, 4 Apr 2019 15:16:02 UTC

Severity: minor

Found in version 26.1

Done: Stephen Leake <stephen_leake <at> stephe-leake.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35144 in the body.
You can then email your comments to 35144 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org:
bug#35144; Package emacs, ada-mode. (Thu, 04 Apr 2019 15:16:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
New bug report received and forwarded. Copy sent to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org. (Thu, 04 Apr 2019 15:16:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file
 containing only a procedure
Date: Thu, 04 Apr 2019 17:15:09 +0200
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Package: emacs, ada-mode
Version: 26.1
Severity: minor

This bug exists only when wisi-partial-parse-threshold is zero,
which happens when ~/.emacs contains:

(add-hook 'ada-mode-hook
          (lambda ()
            "For ada-mode 6.1, force partial parsing in all buffers."
            (if (version< "6.0" (ada-mode-version))
              (setq wisi-partial-parse-threshold 0))))

Visit a file foo.adb consisting of:

procedure Foo is
begin
end Foo;

This immediately triggers this in the *Messages* buffer:

Error running timer ‘which-func-update’: (error "Error in 
which-func-update: (error \"unhandled exception: CONSTRAINT_ERROR: 
emacs_wisi_common_parse.adb:320 index check failed\")")

-- 
Ludovic Brenta.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35144; Package emacs, ada-mode. (Fri, 24 May 2019 18:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 35144 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Cc: 35144 <at> debbugs.gnu.org, ada-mode-users <at> nongnu.org
Subject: Re: bug#35144: 26.1;
 ada-mode 6.1.0 Constraint_Error in which_func_update for file
 containing only a procedure
Date: Fri, 24 May 2019 09:31:26 -0800
Fixed in development branch.
-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35144; Package emacs, ada-mode. (Sun, 18 Aug 2019 16:56:01 GMT) Full text and rfc822 format available.

Message #11 received at 35144 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 35144 <at> debbugs.gnu.org
Subject: Fixed in ada-mode 6.1.1
Date: Sun, 18 Aug 2019 09:55:21 -0700
Fixed in ada-mode 6.1.1
-- 
-- Stephe




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Sun, 18 Aug 2019 16:56:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Sun, 18 Aug 2019 16:56:02 GMT) Full text and rfc822 format available.

Message #16 received at 35144-close <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 35144-close <at> debbugs.gnu.org
Subject: close
Date: Sun, 18 Aug 2019 09:55:36 -0700
-- 
-- Stephe




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Sep 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.