From unknown Sat Aug 16 00:32:16 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#21402 <21402@debbugs.gnu.org> To: bug#21402 <21402@debbugs.gnu.org> Subject: Status: race condition with compile mode line number parser Reply-To: bug#21402 <21402@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:32:16 +0000 retitle 21402 race condition with compile mode line number parser reassign 21402 emacs submitter 21402 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson severity 21402 minor tag 21402 moreinfo unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 02 14:06:55 2015 Received: (at submit) by debbugs.gnu.org; 2 Sep 2015 18:06:55 +0000 Received: from localhost ([127.0.0.1]:46701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXCQw-0001h4-IR for submit@debbugs.gnu.org; Wed, 02 Sep 2015 14:06:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49572) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXCQu-0001gw-6R for submit@debbugs.gnu.org; Wed, 02 Sep 2015 14:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXCQt-00078u-2t for submit@debbugs.gnu.org; Wed, 02 Sep 2015 14:06:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,DATE_IN_PAST_12_24, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXCQs-00078q-W7 for submit@debbugs.gnu.org; Wed, 02 Sep 2015 14:06:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXCQr-0002ZU-PY for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 14:06:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXCQo-00076z-Kf for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 14:06:49 -0400 Received: from homie.mail.dreamhost.com ([208.97.132.208]:57795 helo=homiemail-a60.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXCQo-00074A-EH for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 14:06:46 -0400 Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id 4421A3BC073 for ; Wed, 2 Sep 2015 11:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=CLav8s7lcsJDc3Mzdpnwq6+FAHE=; b=a/j1MbwMVfOVx4ts RNmt17BBS4h7iikyI2Mq9qNPi3vPADTlQG58/Bw3Qq+I1kAVGbXKrWteG+8WEL54 iiHEzZhZbzsFftgUsEuvSozxrl3/xgQdzvAQ8Okc7gcIL3cJ7ScZ2fLC2xKQxlyU 0pvOOhisUnr3q267KYkWV7cmWNg= Received: from jidanni.org (114-41-10-22.dynamic.hinet.net [114.41.10.22]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id C47EB3BC078 for ; Wed, 2 Sep 2015 11:06:34 -0700 (PDT) From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs Subject: race condition with compile mode line number parser Date: Wed, 02 Sep 2015 08:54:18 +0800 Message-ID: <87vbbtbq0a.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.2 (----) There is a race condition, whereas for me of (compile "seq 99|perl -nwle 'print \"XX:$.:$_\"'" nil) (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil) (compile "seq 9999|perl -nwle 'print \"XX:$.:$_\"'" nil) the first and third ones complete with no problems, whereas the middle one always stops at XX:392:392 XX:393 Compilation finished at Wed Sep 2 08:46:23 (compile "perl -wle 'for(1..999){print \"XX:$_:$_\"}'" nil) however finishes fine, as does plain (compile "seq 999" nil) and (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'; sleep 1" nil) When I try it as root all finish fine. Further notes: I was able to reproduce this on another machine via doing C-x ESC ESC and pasting (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil) at the Redo: prompt. If one just puts the cursor at the end of that line in this message and hits C-x C-e that will not reproduce the problem. Nor if one does ESC : and pastes it in there either. Note also there is two messages piling themselves on top of each other, Compilation finished, and Find this error in (default XX): ... My .emacs is in http://jidanni.org/comp/configuration/ emacs-version "24.5.1", Debian emacs24 24.5+1-1. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 15:32:48 2019 Received: (at 21402) by debbugs.gnu.org; 14 Oct 2019 19:32:48 +0000 Received: from localhost ([127.0.0.1]:41694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65I-0006nJ-8L for submit@debbugs.gnu.org; Mon, 14 Oct 2019 15:32:48 -0400 Received: from [80.91.231.51] (port=38006 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65G-0006n9-Pl for 21402@debbugs.gnu.org; Mon, 14 Oct 2019 15:32:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK65D-0003DI-8i; Mon, 14 Oct 2019 21:32:45 +0200 From: Lars Ingebrigtsen To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#21402: race condition with compile mode line number parser References: <87vbbtbq0a.fsf@jidanni.org> Date: Mon, 14 Oct 2019 21:32:42 +0200 In-Reply-To: <87vbbtbq0a.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Wed, 02 Sep 2015 08:54:18 +0800") Message-ID: <87v9srgm1x.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 積丹尼 Dan Jacobson writes: > There is a race condition, whereas for me of > (compile "seq 99|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 9999|perl -nwle 'print [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 積丹尼 Dan Jacobson writes: > There is a race condition, whereas for me of > (compile "seq 99|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 9999|perl -nwle 'print [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: jidanni.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 21402 Cc: 21402@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > There is a race condition, whereas for me of > (compile "seq 99|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 999|perl -nwle 'print \"XX:$.:$_\"'" nil) > (compile "seq 9999|perl -nwle 'print \"XX:$.:$_\"'" nil) > the first and third ones complete with no problems, > whereas the middle one always stops at > > XX:392:392 > XX:393 > Compilation finished at Wed Sep 2 08:46:23 I'm unable to reproduce this bug in Emacs 27. Are you still seeing this? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 15:32:57 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 19:32:57 +0000 Received: from localhost ([127.0.0.1]:41697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65R-0006nk-Hs for submit@debbugs.gnu.org; Mon, 14 Oct 2019 15:32:57 -0400 Received: from [80.91.231.51] (port=38022 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65Q-0006nc-CB for control@debbugs.gnu.org; Mon, 14 Oct 2019 15:32:56 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK65N-0003DR-G8 for control@debbugs.gnu.org; Mon, 14 Oct 2019 21:32:55 +0200 Date: Mon, 14 Oct 2019 21:32:53 +0200 Message-Id: <87tv8bgm1m.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21402 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21402 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 21402 + moreinfo quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) tags 21402 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 15:33:03 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 19:33:03 +0000 Received: from localhost ([127.0.0.1]:41700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65W-0006oB-TX for submit@debbugs.gnu.org; Mon, 14 Oct 2019 15:33:03 -0400 Received: from [80.91.231.51] (port=38034 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK65T-0006ns-TX for control@debbugs.gnu.org; Mon, 14 Oct 2019 15:33:00 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK65R-0003DW-3A for control@debbugs.gnu.org; Mon, 14 Oct 2019 21:32:59 +0200 Date: Mon, 14 Oct 2019 21:32:56 +0200 Message-Id: <87sgnvgm1j.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21402 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21402 + unreproducible quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 21402 + unreproducible quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) tags 21402 + unreproducible quit From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 18 04:11:46 2019 Received: (at 21402-done) by debbugs.gnu.org; 18 Oct 2019 08:11:46 +0000 Received: from localhost ([127.0.0.1]:49253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNMP-0001lt-Om for submit@debbugs.gnu.org; Fri, 18 Oct 2019 04:11:46 -0400 Received: from azure.elm.relay.mailchannels.net ([23.83.212.7]:30603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNMO-0001le-7N for 21402-done@debbugs.gnu.org; Fri, 18 Oct 2019 04:11:44 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B4E442191D for <21402-done@debbugs.gnu.org>; Fri, 18 Oct 2019 08:11:42 +0000 (UTC) Received: from pdx1-sub0-mail-a34.g.dreamhost.com (100-96-6-135.trex.outbound.svc.cluster.local [100.96.6.135]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 52D1321A28 for <21402-done@debbugs.gnu.org>; Fri, 18 Oct 2019 08:11:42 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a34.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 18 Oct 2019 08:11:42 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Oafish-Lyrical: 3af18c0f15e73e7b_1571386302524_2586025227 X-MC-Loop-Signature: 1571386302524:4225235403 X-MC-Ingress-Time: 1571386302524 Received: from pdx1-sub0-mail-a34.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTP id E509199C2B for <21402-done@debbugs.gnu.org>; Fri, 18 Oct 2019 01:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=D6EeX4KEupQS/ClTa+PR0I0wKhY=; b=D8+p0iN3PyUfX T+G3QNLDeFzrVYBXFj1VVySZeqaX+gtyu0d4i7f5pJVh74sjhQIv2x8DT3C+q7Fd qaSZHf7JvhQwGXPh9i4F+vCp0l91MWxpEFPO2NWyiH6wWclNui/NhMHVq4f8fT9E tdrcAJW/F7sQeu6hCy5L17h8P+XbsM= Received: from jidanni.org (39-10-37-167.adsl.fetnet.net [39.10.37.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 8BF8099C29 for <21402-done@debbugs.gnu.org>; Fri, 18 Oct 2019 01:11:36 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a34 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: 21402-done@debbugs.gnu.org Subject: Re: bug#21402: race condition with compile mode line number parser References: <87vbbtbq0a.fsf@jidanni.org> <87v9srgm1x.fsf@gnus.org> Date: Fri, 18 Oct 2019 16:11:27 +0800 Message-ID: <87imomlbgw.7.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21402-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Seems OK now. From unknown Sat Aug 16 00:32:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 15 Nov 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator