GNU bug report logs - #62831
29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a three-finger tap.

Previous Next

Package: emacs;

Reported by: Sami Lahtinen <sami.lahtinen <at> gmail.com>

Date: Fri, 14 Apr 2023 11:56:02 UTC

Severity: normal

Tags: notabug, unreproducible

Found in version 29.0.90

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62831 in the body.
You can then email your comments to 62831 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Fri, 14 Apr 2023 11:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sami Lahtinen <sami.lahtinen <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 14 Apr 2023 11:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS crashes when 
 receiving a three-finger tap.
Date: Fri, 14 Apr 2023 11:16:13 +0300

A three-finger tap in any Emacs frame crashes Emacs.

I use the pretest version from https://emacsformacosx.com on a M1
MacBook Pro.


In 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 built on
builder-m1-12.lan
Windowing system distributor 'Apple', version 10.3.2299
System Description:  macOS 13.3.1

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules --with-x-toolkit=no'

Configured features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
  locale-coding-system: utf-8-unix

Major mode: Dashboard

Minor modes in effect:
  which-key-mode: t
  global-sl-mode: t
  nyan-mode: t
  minions-mode: t
  recentf-mode: t
  page-break-lines-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  electric-pair-mode: t
  ivy-prescient-mode: t
  counsel-mode: t
  ivy-rich-mode: t
  ivy-mode: t
  delete-selection-mode: t
  global-auto-revert-mode: t
  savehist-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/Users/sami/.emacs.d/elpa/lispy-20230314.1738/elpa hides /Users/sami/.emacs.d/elpa/ivy-20220926.1250/elpa
/Users/sami/.emacs.d/elpa/transient-20230315.1520/transient hides /Applications/Emacs29.app/Contents/Resources/lisp/transient
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-jump hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-jump
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-ensure hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-ensure
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-core hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-core
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-delight hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-delight
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-diminish hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-diminish
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-bind-key hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-bind-key
/Users/sami/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/bind-key
/Users/sami/.emacs.d/elpa/use-package-20230203.2004/use-package-lint hides /Applications/Emacs29.app/Contents/Resources/lisp/use-package/use-package-lint

Features:
(shadow sort mail-extr emacsbug which-key org-indent oc-basic ol-eww eww
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview
doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi org-agenda outshine outshine-org-cmds outorg
rainbow-delimiters time chatgpt-shell let-alist view ielm goto-addr
eshell esh-mode esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg
esh-module esh-groups esh-util power-mode nyan-mode minions jazz-theme
color-theme-sanityinc-tomorrow gruvbox-theme gruvbox autothemer lisp-mnt
ef-themes doom-themes doom-themes-base dashboard dashboard-widgets
recentf tree-widget wid-edit ffap page-break-lines magit-bookmark
magit-submodule magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
smerge-mode diff diff-mode git-commit log-edit message sendmail
yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor magit-mode transient magit-git
magit-base magit-section crm all-the-icons all-the-icons-faces
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons vterm bookmark pp term ehelp vterm-module
term/xterm xterm auto-dim-other-buffers face-remap restart-emacs desktop
frameset server ob-python python-el-fgallina-expansions python treesit
org-mouse rainbow-mode multiple-cursors mc-separate-operations
rectangular-region-mode mc-mark-pop mc-edit-lines
mc-hide-unmatched-lines-mode mc-mark-more mc-cycle-cursors
multiple-cursors-core rect expand-region text-mode-expansions
the-org-mode-expansions org-element org-persist org-id org-refile
avl-tree er-basic-expansions expand-region-core expand-region-custom
writeroom-mode visual-fill-column olivetti lorem-ipsum lispy hydra
advice lv lispy-inline thingatpt avy etags fileloop generator edebug
debug backtrace help-fns radix-tree lispy-tags mode-local zoutline org
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint
org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys
oc org-loaddefs find-func org-version org-compat org-macs paredit
disp-table noutline outline icons sudo-edit tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat rx shell pcomplete
parse-time iso8601 ls-lisp format-spec elec-pair hl-line
display-line-numbers ivy-prescient prescient char-fold counsel xdg xref
project dired dired-loaddefs compile text-property-search comint
ansi-osc ansi-color swiper ivy-rich ivy delsel ring ivy-faces
ivy-overlay colir color edmacro kmacro no-littering compat compat-29
autorevert filenotify savehist diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs time-date auto-package-update dash cl-extra
help-mode use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core finder-inf zenburn-theme pcase gruvbox-theme-autoloads
autothemer-autoloads color-theme-sanityinc-tomorrow-autoloads
jazz-theme-autoloads zenburn-theme-autoloads info package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 638637 307781)
(symbols 48 46851 6)
(strings 32 206694 43476)
(string-bytes 1 5824205)
(vectors 16 88871)
(vector-slots 8 1802685 582609)
(floats 8 1384 1741)
(intervals 56 1215 529)
(buffers 984 17))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Fri, 14 Apr 2023 12:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: 62831 <at> debbugs.gnu.org
Subject: Re: bug#62831: 29.0.90;
 Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a
 three-finger tap.
Date: Fri, 14 Apr 2023 15:26:12 +0300
> From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
> Date: Fri, 14 Apr 2023 11:16:13 +0300
> 
> 
> A three-finger tap in any Emacs frame crashes Emacs.

Please show a backtrace from the crash.

> I use the pretest version from https://emacsformacosx.com on a M1
> MacBook Pro.

Is this the upstream version, or does it include any local changes?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Fri, 14 Apr 2023 13:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: 62831 <at> debbugs.gnu.org
Subject: Re: bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS
 crashes when receiving a three-finger tap.
Date: Fri, 14 Apr 2023 16:44:57 +0300
> From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
> Date: Fri, 14 Apr 2023 15:46:28 +0300
> 
> I will attach an .ips file from ~/Library/Logs/DiagnosticReports/ I hope this is what you are looking for,
> if not, can you please specify?

I meant the backtrace reported by a debugger.  Run Emacs under a
debugger, either GDB (preferred) or LLDB, and when Emacs crashes
produce the backtrace and post it.  In GDB, the command to display a
backtrace is "backtrace", or "bt" in short.  I don't know what is the
command in LLDB, sorry.

> My Emacs is the binary from emacsformacosx.com as-is. As far as I know, it is compiled without
> changes.

Does that site say anywhere if there are some changes?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Fri, 14 Apr 2023 14:08:01 GMT) Full text and rfc822 format available.

Message #14 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Sami Lahtinen <sami.lahtinen <at> gmail.com>, 62831 <at> debbugs.gnu.org
Subject: Re: bug#62831: 29.0.90;
 Emacs-pretest-29.0.90 aarch64 on macOS crashes when receiving a
 three-finger tap.
Date: Fri, 14 Apr 2023 22:06:43 +0800
[Message part 1 (text/plain, inline)]
> On Apr 14, 2023, at 21:46, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> 
>> 
>> From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
>> Date: Fri, 14 Apr 2023 15:46:28 +0300
> 

> […]
> 
>> My Emacs is the binary from emacsformacosx.com as-is. As far as I know, it is compiled without
>> changes.
> 
> Does that site say anywhere if there are some changes?

According to https://emacsformacosx.com/about, there are no changes from emacs.git. 

--
Best,


RY
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sat, 15 Apr 2023 18:31:04 GMT) Full text and rfc822 format available.

Message #17 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 62831 <at> debbugs.gnu.org
Subject: Re: bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS
 crashes when receiving a three-finger tap.
Date: Sat, 15 Apr 2023 19:49:02 +0300
[Message part 1 (text/plain, inline)]
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?

ps. Maybe I should explain, that the three-finger tap is a macOS feature
that can search for a dictionary definition, web search etc. on a
highlighted word as well as display info about files in the file browser
etc. I'm just explaining this as it is a os-specific utility that some
people might not be aware of. I have no idea how it works "under the hood".

pe 14. huhtik. 2023 klo 16.44 Eli Zaretskii (eliz <at> gnu.org) kirjoitti:

> > From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
> > Date: Fri, 14 Apr 2023 15:46:28 +0300
> >
> > I will attach an .ips file from ~/Library/Logs/DiagnosticReports/ I hope
> this is what you are looking for,
> > if not, can you please specify?
>
> I meant the backtrace reported by a debugger.  Run Emacs under a
> debugger, either GDB (preferred) or LLDB, and when Emacs crashes
> produce the backtrace and post it.  In GDB, the command to display a
> backtrace is "backtrace", or "bt" in short.  I don't know what is the
> command in LLDB, sorry.
>
> > My Emacs is the binary from emacsformacosx.com as-is. As far as I know,
> it is compiled without
> > changes.
>
> Does that site say anywhere if there are some changes?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sat, 15 Apr 2023 19:52:02 GMT) Full text and rfc822 format available.

Message #20 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Martín <mardani29 <at> yahoo.es>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
Subject: Re: bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS
 crashes when receiving a three-finger tap.
Date: Sat, 15 Apr 2023 21:50:59 +0200
Sami Lahtinen <sami.lahtinen <at> 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 can't reproduce the issue, but I am on macOS 12, not macOS 13.  Do you
reproduce the issue if you start Emacs from a terminal with "emacs -Q"?

>
> ps. Maybe I should explain, that the three-finger tap is a macOS feature
> that can search for a dictionary definition, web search etc. on a
> highlighted word as well as display info about files in the file browser
> etc. I'm just explaining this as it is a os-specific utility that some
> people might not be aware of. I have no idea how it works "under the hood".
>

Is this the setting you can configure at System Preferences, Trackpad,
Point & Click, Look up & data detectors, Tap with three fingers?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 07:06:01 GMT) Full text and rfc822 format available.

Message #23 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
Subject: Re: 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 09:43:52 +0300
[Message part 1 (text/plain, inline)]
la 15. huhtik. 2023 klo 22.51 Daniel Martín (mardani29 <at> yahoo.es) kirjoitti:

> Sami Lahtinen <sami.lahtinen <at> 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 can't reproduce the issue, but I am on macOS 12, not macOS 13.  Do you
> reproduce the issue if you start Emacs from a terminal with "emacs -Q"?
>
> I ran "/Applications/Emacs29.app/Content/MacOS/Emacs -Q" and
"/Applications/Emacs29.app/Content/MacOS/Emacs-arm64-11 -Q" and could not
reproduce the bug, which is surprising as I thought that I had trier that
before and thus thought the bug was not related to my dotfiles. Still, the
same dotfiles do not result in this bug in my older version of Emacs.

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

>
> > ps. Maybe I should explain, that the three-finger tap is a macOS feature
> > that can search for a dictionary definition, web search etc. on a
> > highlighted word as well as display info about files in the file browser
> > etc. I'm just explaining this as it is a os-specific utility that some
> > people might not be aware of. I have no idea how it works "under the
> hood".
> >
>
> Is this the setting you can configure at System Preferences, Trackpad,
> Point & Click, Look up & data detectors, Tap with three fingers?
>

Yes.With that setting off the bug does not happen.
[Message part 2 (text/html, inline)]
[Emacs-arm64-11-2023-04-16-094019.ips (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 14:58:01 GMT) Full text and rfc822 format available.

Message #26 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Martín <mardani29 <at> yahoo.es>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
Subject: Re: 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 16:56:54 +0200
[Message part 1 (text/plain, inline)]
tags 62831 + unreproducible
quit

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

> la 15. huhtik. 2023 klo 22.51 Daniel Martín (mardani29 <at> yahoo.es) kirjoitti:
>
>> Sami Lahtinen <sami.lahtinen <at> 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.

[Backtrace.txt (text/plain, attachment)]

Added tag(s) unreproducible. Request was from Daniel Martín <mardani29 <at> yahoo.es> to control <at> debbugs.gnu.org. (Sun, 16 Apr 2023 14:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 17:22:02 GMT) Full text and rfc822 format available.

Message #31 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: 62831 <at> debbugs.gnu.org, mardani29 <at> yahoo.es
Subject: Re: 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:21:25 +0300
> From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
> Date: Sun, 16 Apr 2023 20:07:11 +0300
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
> 
> 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!

Thanks.

vterm is not part of Emacs, so I suggest to report this to the vterm
developers first.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 20:12:03 GMT) Full text and rfc822 format available.

Message #34 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
Subject: Re: 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 part 1 (text/plain, inline)]
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 <at> yahoo.es) kirjoitti:

> tags 62831 + unreproducible
> quit
>
> Sami Lahtinen <sami.lahtinen <at> gmail.com> writes:
>
> > la 15. huhtik. 2023 klo 22.51 Daniel Martín (mardani29 <at> yahoo.es)
> kirjoitti:
> >
> >> Sami Lahtinen <sami.lahtinen <at> 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.
>
>
[Message part 2 (text/html, inline)]
[bug-only-init.el (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 20:12:03 GMT) Full text and rfc822 format available.

Message #37 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mardani29 <at> yahoo.es, 62831 <at> debbugs.gnu.org
Subject: Re: 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:29:52 +0300
[Message part 1 (text/plain, inline)]
su 16.4.2023 klo 20.21 Eli Zaretskii <eliz <at> gnu.org> kirjoitti:

> > From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
> > Date: Sun, 16 Apr 2023 20:07:11 +0300
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
> >
> > 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!
>
> Thanks.
>
> vterm is not part of Emacs, so I suggest to report this to the vterm
> developers first.
>

I can do that. But I don’t know if the bug is in vterm as such or just
something that the vterm package installation “enables” in this particular
setup, as actually using vterm is not required to replicate the bug. The
crash happens after simply loading the package. There might be other ways
of causing this bug as well that might not be related to vterm.

Sami
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Sun, 16 Apr 2023 20:12:04 GMT) Full text and rfc822 format available.

Message #40 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mardani29 <at> yahoo.es, 62831 <at> debbugs.gnu.org
Subject: Re: 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 21:16:57 +0300
[Message part 1 (text/plain, inline)]
It seems that installing vterm compiles something called "vterm-module".
This seems to be necessary to reproduce the bug.
So, indeed it seems this is a vterm bug. I will notify vterm developers.
My apologies if reporting this issue here was/is inappropriate.
Thank you,

Sami



su 16. huhtik. 2023 klo 20.29 Sami Lahtinen (sami.lahtinen <at> gmail.com)
kirjoitti:

>
>
> su 16.4.2023 klo 20.21 Eli Zaretskii <eliz <at> gnu.org> kirjoitti:
>
>> > From: Sami Lahtinen <sami.lahtinen <at> gmail.com>
>> > Date: Sun, 16 Apr 2023 20:07:11 +0300
>> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org
>> >
>> > 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!
>>
>> Thanks.
>>
>> vterm is not part of Emacs, so I suggest to report this to the vterm
>> developers first.
>>
>
> I can do that. But I don’t know if the bug is in vterm as such or just
> something that the vterm package installation “enables” in this particular
> setup, as actually using vterm is not required to replicate the bug. The
> crash happens after simply loading the package. There might be other ways
> of causing this bug as well that might not be related to vterm.
>
> Sami
>
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62831; Package emacs. (Mon, 11 Sep 2023 23:26:02 GMT) Full text and rfc822 format available.

Message #43 received at 62831 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Sami Lahtinen <sami.lahtinen <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62831 <at> debbugs.gnu.org, mardani29 <at> yahoo.es
Subject: Re: bug#62831: 29.0.90; Emacs-pretest-29.0.90 aarch64 on macOS
 crashes when receiving a three-finger tap.
Date: Mon, 11 Sep 2023 16:24:56 -0700
tags 62831 notabug
close 62831
thanks

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

> It seems that installing vterm compiles something called "vterm-module". This seems to be necessary to reproduce the bug.
> So, indeed it seems this is a vterm bug. I will notify vterm developers.
> My apologies if reporting this issue here was/is inappropriate.
> Thank you,

This seems not to be a bug in Emacs, so I'm closing it.




Added tag(s) notabug. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Sep 2023 23:26:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 62831 <at> debbugs.gnu.org and Sami Lahtinen <sami.lahtinen <at> gmail.com> Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Sep 2023 23:26:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Oct 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 192 days ago.

Previous Next


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