From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#45541: 28.0.50; Frequent crashes on ARM macOS Date: Wed, 30 Dec 2020 15:49:11 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25225"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Philipp Stephani , 45541@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 30 15:50:42 2020 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 1kucoE-0006Sk-K1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Dec 2020 15:50:42 +0100 Original-Received: from localhost ([::1]:52186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kucoD-0006ie-7F for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Dec 2020 09:50:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kucna-0006iG-QH for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 09:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kucna-0001nA-Fu for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 09:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kucna-0004qP-E3 for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 09:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2020 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45541 X-GNU-PR-Package: emacs Original-Received: via spool by 45541-submit@debbugs.gnu.org id=B45541.160933977218572 (code B ref 45541); Wed, 30 Dec 2020 14:50:02 +0000 Original-Received: (at 45541) by debbugs.gnu.org; 30 Dec 2020 14:49:32 +0000 Original-Received: from localhost ([127.0.0.1]:48964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kucn5-0004pT-Mp for submit@debbugs.gnu.org; Wed, 30 Dec 2020 09:49:31 -0500 Original-Received: from mail-ot1-f52.google.com ([209.85.210.52]:39889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kucn3-0004ot-GN for 45541@debbugs.gnu.org; Wed, 30 Dec 2020 09:49:29 -0500 Original-Received: by mail-ot1-f52.google.com with SMTP id d8so15530889otq.6 for <45541@debbugs.gnu.org>; Wed, 30 Dec 2020 06:49:29 -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; bh=eHZ/agQNaaCJ/Y7xd7zJAA/CA52SuAkEwwZoEgG/Ca4=; b=qMPwHjGSAYpDz/wob1a0pF/VUq+fTHopll93K0/aJSyV1tfSGFcROu2b3MCHuvCRO6 Loy69QnmJ7tEC/4zXoKdzMtS6V3wK8JMc4z+ZiL3sw+b8yXrmp2ycv2yleiMB28GCK3Q DihgbHAV7IMz2kDgN3uWev+beZZ/lV/A6EY4vQOkuVp5Pz7areV5eniUQ7FnjnrYv51V oSE8imyRvkHXG+YGa3Gj30HrwaFeHoAyfJKvmDgYmwmmvLQD+/r0ARcoDROff+FNDgSS 5/GdJDdehqraDyxWFEMrMml8IEWa2O2o5lCQUveMBqSe6s5UuFENxW+J+61AaOxanTBc 4tlA== 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; bh=eHZ/agQNaaCJ/Y7xd7zJAA/CA52SuAkEwwZoEgG/Ca4=; b=jMiX8IeN4nwValPPyww+NwiLamCsjJDI9e5Td3rDvbT3o853u450f/DcFD+OnHUsPn wu9re7Vj2hBrYBQE1+B0bSrCoGvUGUSVYIgjAYXQ4DadGOTW3AiE76IJN/mnVIJzjYiB mDhb1VhDfEGfncjNFJCkLf4RJg6+DJ96VxqsCyjfETahmo/Rry+Goe9jFntoHOoBsnPe 7DMVQ7A77hXcmUHTnE3fv9t+Yskv6mRpHyG3Q1uS6ukTK/IwiWZR5HAB2GPRWZfFKdrY q4Zk3PD1YVmVkqawVZuBptLd02BQwhWlFineLpNWpXvu9yFWJxbdsvquqTxnOQh1+w9e 6kqw== X-Gm-Message-State: AOAM533CyJQVByM2aFXiWwuhRwkuFB08I3Y6mYT3nDi56mEVhTv84+ZC 6kpWfWbtaeSbmXt6tuNSb8eLkwxwVFyAiPajIHo= X-Google-Smtp-Source: ABdhPJzdmrBrRlwVMcx6uALYfkx/nmXlFiVgCAwpZq7E/Il3icN354futBeOJh9cPE1XLaIO4Qh0mzYGZKhre70A8VA= X-Received: by 2002:a9d:694a:: with SMTP id p10mr22054005oto.149.1609339762353; Wed, 30 Dec 2020 06:49:22 -0800 (PST) In-Reply-To: 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:197032 Archived-At: Am Mi., 30. Dez. 2020 um 15:42 Uhr schrieb Philipp Stephani : > > Am Mi., 30. Dez. 2020 um 15:05 Uhr schrieb Alan Third : > > > > On Wed, Dec 30, 2020 at 02:01:18PM +0100, Philipp Stephani wrote: > > > Am Mi., 30. Dez. 2020 um 01:10 Uhr schrieb Alan Third : > > > > > > > > On Tue, Dec 29, 2020 at 11:32:43PM +0100, Philipp wrote: > > > > > > > > > > With an Emacs built from the emacs-27 branch I get frequent crashes on > > > > > ARM64 macOS (Big Sur). I haven't managed to produce an Elisp stacktrace > > > > > yet, but here's the crash report: > > > > > > > > > Looks like a crash in ns_mouse_position. > > > > > > > > Can you check that the build includes this? > > > > > > > > 6aa9fe3e1b4052b2acde86404a90e35893ebfa00? > > > > Fix crash in ns_mouse_position (bug#44313) > > > > > > Yes, according to "git branch --contains" the commit is present. The > > > exception report makes me think that NSApp is null or invalid, but how > > > should that be possible? > > > > I have no idea... What's happening when the crash occurs? I take it > > the mouse is being moved, but are frames opening and closing or > > anything? > > I'm now able to reproduce this consistently. It happens when a tooltip > appears and you hover over that tooltip (try M-x locate and move the > mouse around). > The crash is in the line > if (f && FRAME_NS_P (f)) > in nsterm.m in ns_mouse_position, so apparently "f" is not NULL, but > also not valid. Looks like "f" isn't initialized to NULL in that function?