From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#54433: 29.0.50; Invalid read syntax: "#<" with async-bytecomp Date: Thu, 17 Mar 2022 11:28:17 +0000 Message-ID: References: <87a6dpnv8g.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17371"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54433@debbugs.gnu.org, acm@muc.de To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 17 12:29:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUoJf-0004Mz-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 12:29:15 +0100 Original-Received: from localhost ([::1]:52988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUoJe-0005Tu-6i for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 07:29:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUoJS-0005SK-Fc for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 07:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUoJS-0000h2-6u for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 07:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUoJS-00030b-4H for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 07:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2022 11:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54433 X-GNU-PR-Package: emacs Original-Received: via spool by 54433-submit@debbugs.gnu.org id=B54433.164751650811503 (code B ref 54433); Thu, 17 Mar 2022 11:29:02 +0000 Original-Received: (at 54433) by debbugs.gnu.org; 17 Mar 2022 11:28:28 +0000 Original-Received: from localhost ([127.0.0.1]:53219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUoIt-0002zT-RY for submit@debbugs.gnu.org; Thu, 17 Mar 2022 07:28:28 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:52544 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nUoIr-0002zD-LY for 54433@debbugs.gnu.org; Thu, 17 Mar 2022 07:28:26 -0400 Original-Received: (qmail 893 invoked by uid 3782); 17 Mar 2022 11:28:18 -0000 Original-Received: from acm.muc.de (p4fe15a13.dip0.t-ipconnect.de [79.225.90.19]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 17 Mar 2022 12:28:18 +0100 Original-Received: (qmail 4577 invoked by uid 1000); 17 Mar 2022 11:28:17 -0000 Content-Disposition: inline In-Reply-To: <87a6dpnv8g.fsf@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228474 Archived-At: Hello, Michael. Thanks for the bug report. On Thu, Mar 17, 2022 at 03:55:27 +0100, Michael Heerdegen wrote: > Hello, > when updating packages with M-x package-list-packages, and using > async-bytecomp.el to compile, some users get an error like this one: > error in process sentinel: async-when-done: Invalid read syntax: "#<" > error in process sentinel: Invalid read syntax: "#<" Could you please give a recipe for this situation, preferably starting from emacs -Q? I don't know how to use async-bytecomp.el, for example. > This seems to be related to the recent addition of symbols with > positions. It sounds like something is storing a compiler intermediate form, and reading it again with the reader. > async uses `async-inject-variables' to collect variable bindings of > interest and deliver them to the other Emacs instance. The return value > contains symbols with positions in some scenarios. > The root of the trouble seems to be the value of > `byte-optimize--dynamic-vars'. As soon as I byte compile any file, I > see lots of symbols with positions in `byte-optimize--dynamic-vars'. Thanks, that should be useful information. > Is that expected? What has to be done? No, it is not expected. As for what needs doing, let's just say I wasn't aware of the existence of async-bytecomp.el a day or two ago. ;-( > TIA, > Michael. > In GNU Emacs 29.0.50 (build 55, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) > of 2022-03-17 built on drachen > Repository revision: 97e687006498490cca1e6dabc1ea7e692271c5ed > 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).