build-emacs icon indicating copy to clipboard operation
build-emacs copied to clipboard

x-popup-menu crashes in Emacs 28.1 on macOS 12.3

Open maweigert opened this issue 2 years ago • 2 comments

Hi,

first, thanks for creating those builds!

I noticed that the recent Emacs version (28.1) for macOS (12.3.1) crashes whenever an entry in a popup menu is selected (e.g. when confirming flyspell suggestions). Curiously, this only happens when the selection is done with the keyboard (i.e. all good when using mouse) and only for the latest version (Emacs 27.2.3 is fine).

Steps to reproduce:

  1. Create a file foo.el that contains some simple elisp to open a popup menu:
(easy-menu-define testmenu nil "Test Menu" '(("Hello") ("abc") ("def")))
(x-popup-menu `((0 0) ,(get-buffer-window)) testmenu)
  1. Run it and select one of the entries with the keyboard
/Applications/Emacs.app/Contents/MacOS/Emacs -q --load foo.el

M

maweigert avatar Apr 08 '22 12:04 maweigert

Same experience here. (but not using flyspell)

DinoChiesa avatar Apr 27 '22 17:04 DinoChiesa

Still happens with 28.2

maweigert avatar Jul 11 '23 11:07 maweigert