GNU bug report logs - #53678
29.0.50; Invalid read syntax: "#<" for package install in Windows

Previous Next

Package: emacs;

Reported by: Shuguang Sun <shuguang79 <at> qq.com>

Date: Tue, 1 Feb 2022 05:49:01 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.

Full log


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

From: Shuguang Sun <shuguang79 <at> qq.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 53678 <53678 <at> debbugs.gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#53678: 29.0.50; Invalid read syntax: "#<" for package
 install in Windows
Date: Sun, 06 Feb 2022 10:19:44 +0800
Alan Mackenzie <acm <at> muc.de> writes:

> Hello again, Shuguang.
>
> On Thu, Feb 03, 2022 at 10:55:02 +0800, Shuguang Sun wrote:
>> Thank you Stefan and Alan in another email.
>
>> With the hint, I find out the `async-bytecomp-package-mode` is turn on
>> by the package `helm-core`. So it is a bug of `async-bytecomp` maybe,
>> and I will report it the package author.
>
>> Sorry for the misleading information in the orignial email.
>
> A hypothesis for what is happening is that a symbol with position,
> looking like:
>
>     #<symbol foo at 666>
>
> , has somehow got into a .elc file.  The loader (contained within the
> file .../src/lread.c) chokes when it encounters such a symbol.
>
> If you have an idea which .elc file might be causing the trouble, could
> I suggest you visit this file within Emacs.  There is a mode for .elc
> files.  :-).  Then search the buffer for the string "#<symbol".  Or even
> just for the "#<" which the loader might have reported.

No "#<" in the elc.

A reproducible example is:
- Install package `async` which includes `async-bytecomp`
- M-x list-package
- M-x async-bytecomp-package-mode (make sure `async-bytecomp-package-mode` is enabled)
- M-x package-reinstall  <= `magit`

>
>
>
>> ------------------ Original --------------
>> Date: Wed,Feb 2,2022 11:32 AM
>
>
>> Eli Zaretskii [2022-02-01 17:00:34] wrote:
>> &gt;&gt; Date: Tue, 01 Feb 2022 13:32:11 +0800
>> &gt;&gt; From:&nbsp; Shuguang Sun via "Bug reports for GNU Emacs,
>> &gt;&gt;&nbsp; the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org&gt;
>> &gt;&gt; When I try to install packages from the Package Menu or the command of
>> &gt;&gt; package-install since about two weeks ago, it reports the error:
>> &gt;&gt; ```
>> &gt;&gt; error in process sentinel: async-when-done: Invalid read syntax: "#<"
>> &gt;&gt; error in process sentinel: Invalid read syntax: "#<"
>> &gt;&gt; ```
>> &gt; Stefan, any thoughts?
>
>> IIUC the above error involves some part of the `async` package.
>> Could you give a bit more information about how you hooked `async` with
>> `package`?
>
>
>> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stefan

-- 
Best Regards
Shuguang Sun




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

Previous Next


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