syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.7k stars 4.9k forks source link

Spacemacs Freezing in El Capitan Os x #2632

Closed moredhel closed 8 years ago

moredhel commented 9 years ago

After installing emacs using the recommended method, and using the default spacemacs config file,

Emacs freezes as soon as it reaches ready state.

I have attempted to run with --debug-init yet I have not received any additional information through this.

ivanbokii commented 9 years ago

Have the same issue. Launched it without any problems a couple of times, on all next attempts freezes right after the start.

cmccloud commented 9 years ago

@ivanbokii are you also using the emacs macport? @hamhut1066 do you get the same behavior when using emacs installed via http://emacsformacosx.com/ ?

ivanbokii commented 9 years ago

@cmccloud yes, macport. Just tried to use emacsformacosx and it has the same problem

moredhel commented 9 years ago

Have you moved to using the Xcode7-beta? sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer.

I found this would at least stop the freeze from breaking permanently. I was still waiting around 30-40 seconds before I could do anything with emacs.

Additional emacsclient connections were instant though, and I didn't come across any major issues. I did have to strip out all of my layers and add them incrementally. Some didn't work at all.

ivanbokii commented 9 years ago

@hamhut1066 I didn't install Xcode at all

lucca65 commented 9 years ago

+1

mclearc commented 9 years ago

I've been using el cap and spacemacs has been working fine except when I try and download additional packages using the dotspacemacs-additional-packages section. It will freeze on update of the .spacemacs file and I will have to force quit and restart, upon which time it downloads the package and works fine. I'm now on ElCap GM.

koppa commented 9 years ago

I'm also experiencing the same? issue under archlinux. With CTRL-g I am able to regain control.

Setup is pretty vanilla. Emacs version 24.5.1.

birdgg commented 9 years ago

+1 spacemacs 0.104.2 freezing after starting up on El Capitan.

avovsya commented 9 years ago

+1 for the bug. Spacemacs 0.104.2 with "vanilla" config Tried with: brew emacs, brew emacs-mac, and http://emacsformacosx.com.

d12frosted commented 9 years ago

@ivanbokii wow, is it possible to install command-line-tools without Xcode?

moredhel commented 9 years ago

@d12frosted should be, I think they have been allowing it for a while now.

Re: bug. Are people running beta, or stable?

d12frosted commented 9 years ago

@hamhut1066 didn't know about it - I usually install Xcode first and then CLT :smile:

Re: bug. I am running stable. Currently 10.11.1 (15B42).

mclearc commented 9 years ago

I am now seeing this happen repeatedly. Sometimes 4 or 5 times in one afternoon. I'm on the El Cap most recent public beta (10.11.2 Beta (15C27e)). I am using the homebrew railwaycat version.

System Info

(auto-completion deft emacs-lisp eyebrowse games git helm-bibtex latex markdown org osx pandoc pdf-tools
                 (ranger :variables ranger-show-preview t)
                 (shell :variables shell-default-term-shell "/usr/local/bin/zsh" shell-default-shell 'ansi-term shell-default-height 30 shell-default-position 'bottom)
                 shell-scripts spell-checking sr-speedbar syntax-checking themes-megapack version-control yaml)
nixmaniack commented 9 years ago

@d12frosted I just have CLT and no Xcode.

magicmonty commented 8 years ago

I have the same problem. However, if I check my processes with ps axthen I get the following entry:

94564   ??  Ss     0:00.01 /usr/bin/ssh -o ControlPath=%C host.does.not.exist

If I kill this process, then emacs runs normally. This seems to be related to the following entries, which appear shortly before:

95174   ??  Ss     0:00.00 /usr/local/bin/git fetch checkversion
95175   ??  R      0:00.04 git-remote-https checkversion https://github.com/syl20bnr/spacemacs
StreakyCobra commented 8 years ago

@magicmonty I'm pretty sure your issue is helm/1000, the solution is given it the FAQ

All other people having the problem, can you also try the FAQ's solution?

magicmonty commented 8 years ago

@StreakyCobra Yeah, that fixed it for me. Thanks

sglyon commented 8 years ago

Also worked for me, thanks @StreakyCobra

d12frosted commented 8 years ago

@StreakyCobra ultimate solution is helm/1000. I like that number. The number of issues it fixes :-P

StreakyCobra commented 8 years ago

@d12frosted Indeed :-)

Does this solve the problem for other people? or not?

olivierverdier commented 8 years ago

For me it does not solve the problem.

I can reproduce the freezing completely reliably: Start emacs, wait until initialization is finished (or don't wait). Hit SPC b b: freeze.

(It does not freeze if I first move the cursor, so emacs is still usable, but it inevitably freezes at some later point).

System info (Mac OS 10.11.3, emacs installed via brew install emacs --with-cocoa --with-librsvg)

System Info

(auto-completion colors coq cscope deft emacs-lisp
                 (evil-snipe :variables evil-snipe-enable-alternate-f-and-t-behaviors t)
                 fasd git gtags haskell html ipython-notebook javascript markdown org python ranger search-engine semantic shell-scripts spell-checking syntax-checking themes-megapack unimpaired
                 (latex :variables latex-enable-auto-fill nil latex-build-command "LaTeX")
                 (shell :variables shell-default-height 30 shell-default-position 'bottom)
                 (theming :variables theming-headings-inherit-from-default 'all theming-headings-same-size 'all theming-headings-bold 'all)
                 version-control yaml)

What is more, I tracked down the offending line in my .spacemacs, it is:

(setq powerline-default-separator nil)

(Perhaps @theBB could help?)

My full config file is at https://github.com/olivierverdier/dotspacemacs (You will have to remove the coq layer, which is a private one, but the freezing still occurs)

Feel free to move (or to tell me to move) that bug report elsewhere if needed.

StreakyCobra commented 8 years ago

(setq powerline-default-separator nil)

By reading this, I just tilted: https://github.com/syl20bnr/spacemacs/issues/3090#issuecomment-174306045

@TheBB As milkypostman said on the other thread it's not a powerline issue. It is possible we have an issue with this variable set to nil in spacemacs.

olivierverdier commented 8 years ago

Ah, thanks a lot, that is indeed what is already reported #3090.

TheBB commented 8 years ago

I can't reproduce this problem with powerline-default-separator as nil, either. Although I will have a look through the Spaceline source code and see if I make any assumptions about it.

olivierverdier commented 8 years ago

In light of #3090, some more information: if I try to set any other variable to nil, no freeze occurs after loading. So it seems to be specific to powerline-default-separator.

yilihong commented 8 years ago

still hangs as of now when I compile a latex file. any ideas?

moredhel commented 8 years ago

I think this bug report has become a meta (something has frozen and I'm running OS X) issue.

I'll close it in a week unless there is a reason to keep it around

syl20bnr commented 8 years ago

To prevent this thread from evolving further I'll shut it down, after being "meta" who knows in what form it could evolve.