GNU bug report logs - #45658
Infinite loop in run loop on macOS

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Alan Third <alan@HIDDEN>; dated Mon, 4 Jan 2021 17:32:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug reassigned from package 'debbugs.gnu.org' to 'emacs'. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jan 2021 17:31:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 04 12:31:19 2021
Received: from localhost ([127.0.0.1]:60163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwThO-0004B5-Qm
	for submit <at> debbugs.gnu.org; Mon, 04 Jan 2021 12:31:19 -0500
Received: from lists.gnu.org ([209.51.188.17]:38582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1kwThM-0004Ax-UL
 for submit <at> debbugs.gnu.org; Mon, 04 Jan 2021 12:31:17 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34260)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alan@HIDDEN>) id 1kwThM-0002ZM-Lv
 for bug-gnu-emacs@HIDDEN; Mon, 04 Jan 2021 12:31:16 -0500
Received: from outbound.soverin.net ([116.202.65.218]:39203)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alan@HIDDEN>) id 1kwThJ-0005U3-Gv
 for bug-gnu-emacs@HIDDEN; Mon, 04 Jan 2021 12:31:16 -0500
Received: from smtp.soverin.net (unknown [10.10.3.24])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by outbound.soverin.net (Postfix) with ESMTPS id DF3716057A
 for <bug-gnu-emacs@HIDDEN>; Mon,  4 Jan 2021 17:31:08 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by
 soverin.net
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1609781468; bh=PJayV6N7y6dRYEpOdTOitPYrP1g+Xncr7gtEk6WfEyc=;
 h=Date:From:To:Subject:References:In-Reply-To:From;
 b=gROfR/OcZLbAD8YWS5ChSsfl8rtWyrB7ZJzpqAAPHrGyLkU7whHzfaaSJB04Ip0CH
 VMnSutRx4yFTOJ6PE/22Is1Q1xzXiUaSL3Ws/QiZVH86GgSSoXut3gp90fDfG7AFqK
 a9bb77DpScPWn7GTr88zDs0gKRNRvecTZHtw0GV3sa7FXBqEdTs+VFkIZmXV1wH/PD
 89VN1wJzX9Lk4t6s5JFleVg+SIWOHVaKnxhnCtzlvrCf5ew+dZwVFsdpwiI5Ysz+qr
 ig+PFSVaamzSg0dlFqZVsSaMzy6RR8K3DZii2ivLVm33TCVcUUmATcBegeY1sGIhqo
 +T1ZghETEGEnw==
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id 2E5C7202999B95; Mon,  4 Jan 2021 17:31:06 +0000 (GMT)
Date: Mon, 4 Jan 2021 17:31:06 +0000
From: Alan Third <alan@HIDDEN>
To: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Subject: Infinite loop in run loop on macOS
Message-ID: <X/NQ2mjwBp0+Ex+c@HIDDEN>
References: <e73a23d1-46b8-1542-5996-ca1afb5b0d30@HIDDEN>
 <X+78YNyHEa36fYsp@HIDDEN>
 <CAKDRQS5eF0S2nk70mcW20yz_A8J36M=qtMwsTaV_wKWgTUZOwQ@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKDRQS5eF0S2nk70mcW20yz_A8J36M=qtMwsTaV_wKWgTUZOwQ@HIDDEN>
Received-SPF: pass client-ip=116.202.65.218; envelope-from=alan@HIDDEN;
 helo=outbound.soverin.net
X-Spam_score_int: -26
X-Spam_score: -2.7
X-Spam_bar: --
X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.6 (-)

On Mon, Jan 04, 2021 at 02:51:31AM +0000, Jimmy Yuen Ho Wong wrote:
> On Fri, Jan 1, 2021 at 10:41 AM Alan Third <alan@HIDDEN> wrote:
> >
> > On Fri, Jan 01, 2021 at 03:26:46AM +0000, Jimmy Yuen Ho Wong wrote:
> > > I've just seen show up on the emacs-27 branch. I'm seeing the exact same
> > > stack trace. However, I'm unable to confirm the two funcalls actually
> > > correspond to "mouse-fixup-help-message" and "mouse-pixel-position", as I
> > > don't know which commands in LLDB to type. Any help with this will be
> > > appreciated.
> > >
> > > I don't know how to reproduce this consistently, but it seems to happen most
> > > often after I cmd-tab to a different app's window from Emacs.
> >
> > Hi, it's probably bug#45541 which I've just pushed a fix for to the
> > emacs-27 branch.
> 
> Hi Alan,
> 
> So instead of crashing at `ns_mouse_position`, it now freezes at
> `ns_select`. Although I was able to send a USR2, I wasn't able to
> debug on the LISP side since my entire Emacs froze with a spinning
> beach ball. Please let me know if there's anyway I can debug this
> further as I'm not too familiar with LLDB.

Is this still mostly when you switch away from Emacs?

Can you do "bt all" and send the whole output?
-- 
Alan Third




Acknowledgement sent to Alan Third <alan@HIDDEN>:
New bug report received and forwarded. Copy sent to help-debbugs@HIDDEN. Full text available.
Report forwarded to help-debbugs@HIDDEN:
bug#45658; Package debbugs.gnu.org. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Jan 2021 19:45:02 UTC

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