caldwell / build-emacs

Build scripts for www.emacsformacosx.com
http://www.emacsformacosx.com/about
GNU General Public License v3.0
364 stars 61 forks source link

Hangs starting up Monterey 12.5 #122

Closed BarrySmith closed 1 year ago

BarrySmith commented 2 years ago

Been a user for a long time. Great stuff

Just installed 28.1. When I double click on Emacs.app the Emacs logo in the Dock just bounces forever. Looking in the activity monitor I get the following (screenshot)

Untitled

If I go into the Emacs.app directory and double click Emacs or one of the Emacs Intel versions, a terminal starts up and then Emacs, leaving the very annoying terminal hanging around but seems to work.

I have the same permissions for full disk access for Emacs (and Ruby) I have had for a long time.

WorikQCI commented 1 year ago

I have just installed this on Monteray 12.6 on M1 installed via brew. I have Emacs Version 28.2 (9.0)

Working well, so far, for me.

I have not done mush just used the Perl debugger and ediff.

caldwell commented 1 year ago

@BarrySmith Do you perchance have something interactive in your bash/zsh startup scripts?

rnikoopour commented 1 year ago

I had this same issue. In my startup I was spawning an SSH agent.

Once I commented that line out it booted up regularly.

caldwell commented 1 year ago

That should be ok as long as you only launch it during interactive mode. I use this to test in bash:

if [[ "$-" =~ i ]]; then
    # Interactive stuff
fi

I don't know zsh enough to write the equivalent.

BarrySmith commented 1 year ago

Great. It was also an ssh-agent startup that was causing the hang. Had that for years, it didn't cause problems with the previous launcher. Working for me now, thanks!

BarrySmith commented 1 year ago

Working for me with fix as listed above.