From: Sami Lahtinen <sami.lahtinen@gmail.com>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: Eli Zaretskii <eliz@gnu.org>, 62831@debbugs.gnu.org
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 [thread overview]
Message-ID: <CAK_WPLtqSso1uJHFeMQbjqTUYMXKvRwJebiNxQG=OpH3CNsBDw@mail.gmail.com> (raw)
In-Reply-To: <m1ttxfri2x.fsf_-_@yahoo.es>
[-- Attachment #1.1: Type: text/plain, Size: 1789 bytes --]
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ín (mardani29@yahoo.es) kirjoitti:
> tags 62831 + unreproducible
> quit
>
> Sami Lahtinen <sami.lahtinen@gmail.com> writes:
>
> > la 15. huhtik. 2023 klo 22.51 Daniel Martín (mardani29@yahoo.es)
> kirjoitti:
> >
> >> Sami Lahtinen <sami.lahtinen@gmail.com> 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 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 access to an
> >> 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, but
> > 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.
>
>
[-- Attachment #1.2: Type: text/html, Size: 2971 bytes --]
[-- Attachment #2: bug-only-init.el --]
[-- Type: application/octet-stream, Size: 837 bytes --]
;; This seems to be the minimum init file that I can use to replicate the bug discussed in "bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a three-finger tap."
;;
;; Running this init file with:
;; /Applications/Emacs29.app/Contents/MacOS/Emacs -Q --load="~/.emacs.d/bug-only-init.el"
;; seems to cause a crash in connection with the macOS three-finger-tap functionality, that can be enabled in:
;; System Preferences -> Trackpad -> Point & Click -> Look up & data detectors, Tap with three fingers.
;;
;; Version of Emacs I used to replicate the bug:
;;
;; GNU Emacs 29.0.90 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.1 (Build 21G217)) of 2023-04-11
(package-initialize)
(package-refresh-contents)
(package-install 'use-package)
(require 'use-package)
(use-package vterm)
next prev parent reply other threads:[~2023-04-16 17:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 8:16 bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a three-finger tap Sami Lahtinen
2023-04-14 12:26 ` Eli Zaretskii
[not found] ` <CAK_WPLuPi14nG9QB5z8J6guEwvx+ZGhoEws2rAUG7AKWYhitdw@mail.gmail.com>
2023-04-14 13:44 ` Eli Zaretskii
2023-04-14 14:06 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-15 16:49 ` Sami Lahtinen
2023-04-15 19:50 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-16 6:43 ` Sami Lahtinen
2023-04-16 14:56 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-16 17:07 ` Sami Lahtinen [this message]
2023-04-16 17:21 ` Eli Zaretskii
2023-04-16 17:29 ` Sami Lahtinen
2023-04-16 18:16 ` Sami Lahtinen
2023-09-11 23:24 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK_WPLtqSso1uJHFeMQbjqTUYMXKvRwJebiNxQG=OpH3CNsBDw@mail.gmail.com' \
--to=sami.lahtinen@gmail.com \
--cc=62831@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=mardani29@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).