From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sami Lahtinen Newsgroups: gmane.emacs.bugs Subject: bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a three-finger tap. Date: Sun, 16 Apr 2023 20:07:11 +0300 Message-ID: References: <83leiufy57.fsf@gnu.org> <83h6tifuhy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000099f2cb05f9771be1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 62831@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 16 22:12:11 2023 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 1po8jL-0009oq-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Apr 2023 22:12:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1po8jF-0000zx-QO; Sun, 16 Apr 2023 16:12:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1po8jD-0000yx-Ey for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 16:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1po8jD-0000sG-7b for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 16:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1po8jD-0002Wo-39 for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 16:12:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sami Lahtinen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Apr 2023 20:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62831 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 62831-submit@debbugs.gnu.org id=B62831.16816759089654 (code B ref 62831); Sun, 16 Apr 2023 20:12:03 +0000 Original-Received: (at 62831) by debbugs.gnu.org; 16 Apr 2023 20:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:52580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1po8ix-0002Vc-9t for submit@debbugs.gnu.org; Sun, 16 Apr 2023 16:11:47 -0400 Original-Received: from mail-ua1-f43.google.com ([209.85.222.43]:47038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1po5qa-0003FJ-SD for 62831@debbugs.gnu.org; Sun, 16 Apr 2023 13:07:29 -0400 Original-Received: by mail-ua1-f43.google.com with SMTP id p12so2875342uak.13 for <62831@debbugs.gnu.org>; Sun, 16 Apr 2023 10:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681664843; x=1684256843; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xgfFWsLl4Gx047AyQSBHWzWLuoz/Sek3P9ZOWtH9JCo=; b=dcE0lllDIGnwLQPtD5hAcO7lNYOrBzaeoJuesYmtxIDpnBEbwp0I+1xS3teyDCmPNn 7F7bFnGfaCI7psr3Ty07zPxHIDntP4oWeQClvYS2SEUoYLEXiT6Oq+mbBY22UZ8YeAp4 h3J4RH8dio5uuKzse2cfYEnyELE2N57ZWIPK47Vjo9H9hJ4JbTD4HPDvoIOYCmPMeMr3 iq265k6cWfHfukHRgKoznY267rRo0WrzY1pAH2pO1390SHAwr9WBA5RouffdKLkmZiSL xWVYvfeF5L3t+fCBPm0J/+6QbEsegJuyczcsNz0Y9dwOXFLrykXE3KLipk9ifGK2goGr QUgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681664843; x=1684256843; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xgfFWsLl4Gx047AyQSBHWzWLuoz/Sek3P9ZOWtH9JCo=; b=AKjUykLPULV9MKJiLw83NEnjVPdvdBbb/AT5jzdhRTPhGBhGk3lMK3fzHC4hV3OVPS 9SFicYFU8pICC34sNJed4OKj5k72tKpkOxHscw92Uq2HxYjRPm4BpDh2adJZOEd/kIzY YB1NaSh00s4lGYE232+aeUQe6ZuUCO8YKzkfEGebkFO/51oi4M0RE2YfWb/GKHyHs+GC 5pZRUBt+5t00yvFrYg58RaTjy3qqXfuoTNnvgN8vAxDBHmiU9oSqsUU6WHWg/TgzP+SK jqdKhFD/DSyQ6TKN8591VsJIv3YofVafovGdKMH45URmU9Y4ofkmLyOLcT0vk5QYnM9i XMPw== X-Gm-Message-State: AAQBX9cqgJujp0GGx32/OKYVObktxijty4jhNzws8Qnihog9KEgBk6ma Ziw3RQlZt/1Nj0IRrsoyI70QmuxJLa9rnyiuOOY= X-Google-Smtp-Source: AKy350ZELJBFQcxgjpq41sZzV4rwvjFUBgTCxWYGn5VDLZKtFivjSqaX235B2fFsJbgiRrcUi9+PwLIv0RAy2u73XOY= X-Received: by 2002:a1f:2081:0:b0:43c:2acb:9a60 with SMTP id g123-20020a1f2081000000b0043c2acb9a60mr6935279vkg.3.1681664843024; Sun, 16 Apr 2023 10:07:23 -0700 (PDT) In-Reply-To: X-Mailman-Approved-At: Sun, 16 Apr 2023 16:11:42 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260154 Archived-At: --00000000000099f2cb05f9771be1 Content-Type: multipart/alternative; boundary="00000000000099f2c805f9771bdf" --00000000000099f2c805f9771bdf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think I pinpointed the problem. I was able to reproduce the bug with a minimal init configuration that only loads the vterm package. I'll attach the init file here, hope this helps! Sami su 16. huhtik. 2023 klo 17.56 Daniel Mart=C3=ADn (mardani29@yahoo.es) kirjo= itti: > tags 62831 + unreproducible > quit > > Sami Lahtinen writes: > > > la 15. huhtik. 2023 klo 22.51 Daniel Mart=C3=ADn (mardani29@yahoo.es) > kirjoitti: > > > >> Sami Lahtinen writes: > >> > >> > Unfortunately I am unable to run GDB, as it seems that GDB doesn't > run on > >> > aarch64. > >> > > >> > I tried to debug using LLDB, but since I have no experience with the= se > >> > things I was unable to do so. I can try to find some time to learn t= he > >> > process next week, but it might take a while, as I have never done a= ny > >> > debugging before. Maybe someone with more experience has access to a= n > >> Apple > >> > silicon machine and can replicate the bug? > >> > >> If you open Console.app, you should see the Emacs crash there, under > >> Crash Reports. Could you upload the report to this bug thread? > >> > >> I will attach it to this email. > > I have taken a look at the backtrace and it shows that the crash is in > Apple WebKit when it tries to initialize the JS VM (the dictionary popup > is apparently implemented using a web viewer). I've converted the > backtrace to plain text and attached it to this bug report. > > > > > I can try to pinpont the part of my init.el that is causing this bug, b= ut > > it will take a day or two. > > > > Yes, that'd be helpful. If anyone has a detailed recipe to reproduce > this bug, feel free to comment. For know, I've tagged the bug as > unreproducible. > > --00000000000099f2c805f9771bdf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think I pinpointed the problem.
I was able to reproduce= the bug with a minimal init configuration that only loads the vterm packag= e.

I'll attach the init file here, hope this helps!

<= /div>
Sami

su 16. huhtik. 2023 klo 17.56 Daniel Mart=C3=ADn (mardani29@yahoo.es) kirjoitti:
tags 62831 + unreproducible
quit

Sami Lahtinen <sami.lahtinen@gmail.com> writes:

> la 15. huhtik. 2023 klo 22.51 Daniel Mart=C3=ADn (mardani29@yahoo.es) kirjoitti:
>
>> Sami Lahtinen <sami.lahtinen@gmail.com> writes:
>>
>> > Unfortunately I am unable to run GDB, as it seems that GDB do= esn't run on
>> > aarch64.
>> >
>> > I tried to debug using LLDB, but since I have no experience w= ith these
>> > things I was unable to do so. I can try to find some time to = learn the
>> > process next week, but it might take a while, as I have never= done any
>> > debugging before. Maybe someone with more experience has acce= ss to an
>> Apple
>> > silicon machine and can replicate the bug?
>>
>> If you open Console.app, you should see the Emacs crash there, und= er
>> Crash Reports.=C2=A0 Could you upload the report to this bug threa= d?
>>
>> I will attach it to this email.

I have taken a look at the backtrace and it shows that the crash is in
Apple WebKit when it tries to initialize the JS VM (the dictionary popup is apparently implemented using a web viewer).=C2=A0 I've converted the=
backtrace to plain text and attached it to this bug report.

>
> I can try to pinpont the part of my init.el that is causing this bug, = but
> it will take a day or two.
>

Yes, that'd be helpful.=C2=A0 If anyone has a detailed recipe to reprod= uce
this bug, feel free to comment.=C2=A0 For know, I've tagged the bug as<= br> unreproducible.

--00000000000099f2c805f9771bdf-- --00000000000099f2cb05f9771be1 Content-Type: application/octet-stream; name="bug-only-init.el" Content-Disposition: attachment; filename="bug-only-init.el" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lgjnssi00 O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