GNU bug report logs - #24472
25.1; Emacs crashes when clicking on OSX menu bar when opening file with tramp

Previous Next

Package: emacs;

Reported by: Souvik Banerjee <souvik1997 <at> gmail.com>

Date: Mon, 19 Sep 2016 19:48:01 UTC

Severity: normal

Tags: confirmed

Merged with 37299, 37557

Found in versions 25.1, 26.3, 27.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marc Herbert <marc.herbert <at> gmail.com>
To: 24472 <at> debbugs.gnu.org
Subject: bug#24472: - a workaround/fix for the menubar crashes on macOS
Date: Fri, 1 May 2020 17:14:12 -0700
>      (define-key global-map [menu-bar file revert-buffer] nil)
>
> Enjoy. I think it's better than a "workaround" actually, it's almost a
> "feature"...

OK, I got carried away. Version 26.3 still crashes in other places.
The workaround above avoids only the most severe tramp crash. For
instance it crashes with the same ns_update_menubar() stacktrace
almost every time the top frame is subdir over tramp. Whack a mole?

So back to more gentle 26.1 for now. In 26.1 don't see subdir+tramp
causing any network traffic like "Revert Buffer" did. That combination
is probably just menubar-slow some other way. After all neither #32864
nor https://github.com/polymode/poly-R/issues/15 seem to involve the
network yet those issues look very similar to this one.

If someone knows how to insert a simple delay somewhere in menubar for
pure testing purposes then please share, I think it could really help
with reproduction.




This bug report was last modified 4 years and 52 days ago.

Previous Next


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