GNU bug report logs - #54248
29.0.50; Uninterned symbols malcompiling

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sat, 5 Mar 2022 01:25:02 UTC

Severity: normal

Found in version 29.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

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 54248 in the body.
You can then email your comments to 54248 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 bug-gnu-emacs <at> gnu.org:
bug#54248; Package emacs. (Sat, 05 Mar 2022 01:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Mar 2022 01:25:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: 29.0.50; Uninterned symbols malcompiling
Date: Sat, 05 Mar 2022 02:24:41 +0100
Hello,

this must be a few days old at maximum.  Random example:

Byte compile a file containing

  (set '#:my-toggle-invisible 3)

Load the compiled file ==> (wrong-type-argument symbolp (nil))

Interpreted code works.

CC'ing Alan because this might be related to his latest changes to the
compiler, I didn't investigate, sorry if not.


TIA,

Michael.


In GNU Emacs 29.0.50 (build 41, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2022-03-04 built on drachen
Repository revision: e46bb68ac27625e4bc466da842f74baea63e835a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-native-compilation --with-xwidgets'





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54248; Package emacs. (Sat, 05 Mar 2022 21:00:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 54248 <at> debbugs.gnu.org
Subject: Re: 29.0.50; Uninterned symbols malcompiling
Date: Sat, 5 Mar 2022 20:59:41 +0000
Hello, Michael.

On Sat, Mar 05, 2022 at 02:24:41 +0100, Michael Heerdegen wrote:

> Hello,

> this must be a few days old at maximum.  Random example:

> Byte compile a file containing

>   (set '#:my-toggle-invisible 3)

> Load the compiled file ==> (wrong-type-argument symbolp (nil))

> Interpreted code works.

> CC'ing Alan because this might be related to his latest changes to the
> compiler, I didn't investigate, sorry if not.

Thanks!  A bit of bisecting shows that the bug was introduced by the
following commit:

commit 6092ee1c3ff503fbe8087e13b7eae2f904c4af3b
Author: Alan Mackenzie <acm <at> muc.de>
Date:   Thu Feb 24 17:30:39 2022 +0000

    Amend byte-run-strip-symbol-positions so that an unexec build builds

..  I'll have a look at this and see if I can work out how this commit
causes the bug.

> TIA,

> Michael.


> In GNU Emacs 29.0.50 (build 41, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
>  of 2022-03-04 built on drachen
> Repository revision: e46bb68ac27625e4bc466da842f74baea63e835a
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
> System Description: Debian GNU/Linux 11 (bullseye)

> Configured using:
>  'configure --with-native-compilation --with-xwidgets'

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54248; Package emacs. (Sun, 06 Mar 2022 13:48:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 54248 <at> debbugs.gnu.org, acm <at> muc.de
Subject: Re: 29.0.50; Uninterned symbols malcompiling
Date: Sun, 6 Mar 2022 13:47:39 +0000
Hello, Michael.

On Sat, Mar 05, 2022 at 02:24:41 +0100, Michael Heerdegen wrote:

> Hello,

> this must be a few days old at maximum.  Random example:

> Byte compile a file containing

>   (set '#:my-toggle-invisible 3)

> Load the compiled file ==> (wrong-type-argument symbolp (nil))

> Interpreted code works.

> CC'ing Alan because this might be related to his latest changes to the
> compiler, I didn't investigate, sorry if not.

Yes, it was a bug in the byte compiler I introduced recently.  I've just
committed a fix.  Could you please update your repository, and let me
know whether this fix fixes the bug fully.  Thanks!

Could you also let me know whether this fix has any positive impact on
the other bug, #54079.  Thanks again!

> TIA,

> Michael.


> In GNU Emacs 29.0.50 (build 41, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
>  of 2022-03-04 built on drachen
> Repository revision: e46bb68ac27625e4bc466da842f74baea63e835a
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
> System Description: Debian GNU/Linux 11 (bullseye)

> Configured using:
>  'configure --with-native-compilation --with-xwidgets'

-- 
Alan Mackenzie (Nuremberg, Germany).




Reply sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
You have taken responsibility. (Sun, 06 Mar 2022 22:40:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
bug acknowledged by developer. (Sun, 06 Mar 2022 22:40:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 54248-done <at> debbugs.gnu.org
Subject: Re: 29.0.50; Uninterned symbols malcompiling
Date: Sun, 06 Mar 2022 23:39:34 +0100
Alan Mackenzie <acm <at> muc.de> writes:

> Yes, it was a bug in the byte compiler I introduced recently.  I've
> just committed a fix.  Could you please update your repository, and
> let me know whether this fix fixes the bug fully.  Thanks!

Looks good, I don't see this issue any more.

> Could you also let me know whether this fix has any positive impact on
> the other bug, #54079.  Thanks again!

I don't see any impact unfortunately, that issue looks unchanged.

Anyway, thanks for fixing this one, I'm just closing it...

Michael.




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

This bug report was last modified 3 years and 77 days ago.

Previous Next


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