From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#34059: 27.0.50; Emacs hangs on typing quit (MS-Windows) Date: Mon, 14 Jan 2019 19:39:07 +0000 Message-ID: References: <83won8egdz.fsf@gnu.org> <83muo3dz8n.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000066260d057f703453" X-Trace: blaine.gmane.org 1547494698 6667 195.159.176.226 (14 Jan 2019 19:38:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2019 19:38:18 +0000 (UTC) Cc: 34059@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 14 20:38:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj83m-0001Yl-To for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2019 20:38:11 +0100 Original-Received: from localhost ([127.0.0.1]:33078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj85t-0007O8-Rp for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2019 14:40:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj85i-0007Mr-9J for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2019 14:40:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj85d-0001yw-2K for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2019 14:40:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj85a-0001wh-9c for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2019 14:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gj85Z-0004iv-Uw for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2019 14:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Jan 2019 19:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 34059-submit@debbugs.gnu.org id=B34059.154749478418129 (code B ref 34059); Mon, 14 Jan 2019 19:40:01 +0000 Original-Received: (at 34059) by debbugs.gnu.org; 14 Jan 2019 19:39:44 +0000 Original-Received: from localhost ([127.0.0.1]:59348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj85I-0004iL-2e for submit@debbugs.gnu.org; Mon, 14 Jan 2019 14:39:44 -0500 Original-Received: from mail-oi1-f169.google.com ([209.85.167.169]:37137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj85F-0004i7-Je for 34059@debbugs.gnu.org; Mon, 14 Jan 2019 14:39:42 -0500 Original-Received: by mail-oi1-f169.google.com with SMTP id y23so201474oia.4 for <34059@debbugs.gnu.org>; Mon, 14 Jan 2019 11:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/VBIpnZGvqQ6ptJmZYrrFWbogD2THBorl3At/+ynYNg=; b=V/cH/Kx1TSUJm2fnKJhXyzqy2VhvsD0hjnRCsv5iGXtcvXxg12qvbBCKYPB0L64JpC 0l6wPtdpqmuuurzY7e2aH/GFSqQNtY3MCk9B/OKvTe9N6GYzUmHQfJNonWxzoFXmAGVI iaqPKFA5Rf0AEgpP+y0GtKoNkJZiMI0+a0UtKUXGmxueOCOpa3p/HOpK/AG5t1XyFhA6 K+0jv49iCDmuUJPlTsmSapWj1YQq2sV26I03KguGIJ3uliKdiz+iFNHydXmzQ4zlCJFH vrteHU6xK8+glb0TLWcyoVdGG1QluthnQCcUU3lys1Thjj18YNl1S3dbkgaHKUuRHyiv qZkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/VBIpnZGvqQ6ptJmZYrrFWbogD2THBorl3At/+ynYNg=; b=H1Um+f9YXH7KcjyTCXIXwry/uFwKAVKeyPj5hAPS4dw63hFaMYXsptQFEFQ4Gq+aeG 6DVwlCNCVKh5dvUNRf318lWMyPxSLXW+9+IG9tcQ4GgM+RQ0SAs+WXAYjQzM/h0USU3s scfn87dRjqwaN1L6P5yvvo0gHxBgJ7PdKu7t7CfAlol7SbnOyX9KLD+efxYRLJuhQGPK 86U90VYpe7uTgczDAVB90MdTIIIkkoYmD8VpzkAKGeGg15CmboC9ZK1ICNKZ6hhu9KSu EJIbirU/3i+HMzLnZgNlL4utKgIZ7gnbfum/0g8k11F4Hcx6+B5CTxDVjevXBa4MNajd J/KQ== X-Gm-Message-State: AJcUukd8s2/4fPkKRLoUrSQn0AFrHIiHTxNnbl1vCi11Fc5s6ykUT+JG mh10AMacDUf06qrc9eOfh2lrlbzBCWWviJo5EhA= X-Google-Smtp-Source: ALg8bN5shFOUy/acJXdfWRjXQy1ukfqNvJNFY+0fz3noai/2qpEg6jJtZvlG+EBm5GvVsf8wSWCG52KRrZ/PeR+Xz8c= X-Received: by 2002:a05:6808:296:: with SMTP id z22mr18370oic.67.1547494775726; Mon, 14 Jan 2019 11:39:35 -0800 (PST) In-Reply-To: <83muo3dz8n.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154446 Archived-At: --00000000000066260d057f703453 Content-Type: text/plain; charset="UTF-8" On Mon, 14 Jan 2019, 15:40 Eli Zaretskii > From: Richard Copley > > Date: Sun, 13 Jan 2019 16:00:23 +0000 > > Cc: 34059@debbugs.gnu.org > > > > On Sun, 13 Jan 2019 at 15:17, Eli Zaretskii wrote: > > > > > > > From: Richard Copley > > > > Date: Sun, 13 Jan 2019 13:04:05 +0000 > > > > > > > > Emacs sometimes hangs on typing quit, on MS-Windows. > > > > > > Thanks, but if you can, please provide more details about what was > > > Emacs doing when this happens. > > > > I'm not sure exactly, sorry. I would have been reading console output > > from a process in a compilation-mode buffer, and using git via magit, > > around the time. > > Any chance you could recollect why did you type C-g while at that? > Not really. I had invoked M-x recompile, and didn't immediately see results in the compilation-mode buffer. That's not a compelling reason to type C-g so I suppose I had done something else too. The file I was editing/compiling wasn't saved (I recovered it from a stale autosave later). I don't remember whether I saw the "Save file %s? (...)" question, nor whether I had answered it if so. (I mention this in case it's a useful clue. Probably not.) > The message says "I'll send another report if and when I catch another hang". > > I've found one, possibly two more places where we could QUIT while > holding a critical section. I cannot know if they were part of your > hang, but I went ahead and fixed them on the emacs-26 branch. Let's > see if they stop these hangs from happening. > Great, thanks. Let's see. --00000000000066260d057f703453 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
<= div class=3D"gmail_quote">
On Mon, 14 Jan 2019, 15:40 Eli Z= aretskii <eliz@gnu.org= wrote:
>= From: Richard Copley <rcopley@gmail.com>
> Date: Sun, 13 Jan 2019 16:00:23 +0000
> Cc: 34059@debbugs.gnu.org
>
> On Sun, 13 Jan 2019 at 15:17, Eli Zaretskii <eliz@gnu.org> wrote:<= br> > >
> > > From: Richard Copley <rcopley@gmail.com>
> > > Date: Sun, 13 Jan 2019 13:04:05 +0000
> > >
> > > Emacs sometimes hangs on typing quit, on MS-Windows.
> >
> > Thanks, but if you can, please provide more details about what wa= s
> > Emacs doing when this happens.
>
> I'm not sure exactly, sorry. I would have been reading console out= put
> from a process in a compilation-mode buffer, and using git via magit,<= br> > around the time.

Any chance you could recollect why did you type C-g while at that?

Not really. I had invoked M-x recompile, and didn= 9;t immediately see
results in the compilation-mode buffer. That's n= ot a compelling reason
to type C-g so I suppose I had done something els= e too.

The file I was editing/compiling wasn't saved (I recovere= d it from a
stale autosave later). I don't remember whether I saw th= e "Save file
%s? (...)" question, nor whether I had answered i= t if so. (I mention
this in case it's a useful clue. Probably not.)<= br>

&g= t; The message says "I'll send another report if and when I catch = another hang".

I've found one, possibly two more places where we could QUIT while
holding a critical section.=C2=A0 I cannot know if they were part of your hang, but I went ahead and fixed them on the emacs-26 branch.=C2=A0 Let'= ;s
see if they stop these hangs from happening.

Great, thanks. Let's see.

--00000000000066260d057f703453--