-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacemacs freezes when opening the file finder #5123
Comments
Might be related to #5063 |
I see this as well on my install. I'm on OSX 10.11.1 with emacs 24.5.1 from brew and space 0.105.11 . I notice it happens a lot when just trying to do buffer switching/finding/etc in general. So maybe it's some general helm failure. I bind Also I've only been using spacemacs since 0.105.9, so I can't say if it's some new regression or existing behavior on my platform. Here is the extent of my
|
I was able to reliably reproduce this by opening a file in a vertical split and then using Unfortunately (maybe?) I tried to git bisect and the problem immediately stopped, even after returning to the same branch and package versions. I don't know if that is useful, since I don't know what state it might have altered. |
On windows, the first call to HTH |
... |
... or "Resume Process" manually from the Resource Monitor. |
Hi, I'm trying to understand the status of this issue. Does the problem still occur? Has anyone been able to reliably reproduce the problem? |
I get this quite frequently right now. At first I thought it was Helm (because I only noticed it when using the file finder), so I switched to Ivy. Then I noticed it happening in Ivy's finder, as well as the When it locks up, emacs' CPU usage goes up to 99%. There's no child process it's waiting on. |
(If I can do anything to help debug, please let me know! Happy to investigate.) |
Ok, I don't have a Mac so I can't follow along on my side, but lets try to debug this. First, please update Spacemacs (current release is 0.200.2), your packages and your dotspacemacs file (the default template is in Next time Spacemacs hangs, please run this command from terminal: pkill -SIGUSR2 emacs This should "unfreeze" Spacemacs, and display a backtrace. Please copy that backtrace here ( |
I'd still like to hear from any of the original users who experienced this issue, to make sure this is indeed the same bug. |
Okay. Updated to 0.200.2, replaced System Info 💻
(auto-completion better-defaults emacs-lisp git c-c++ ruby html ivy rust lua) (It's notable that, since updating, C-x C-c no longer quits immediately; |
The C-x C-c issue is probably #7409 and not related. If I'm not here later to continue the debugging, what I suggest is to exclude relevant packages (as indicated by the backtrace) until the hang doesn't happen anymore, so we can identify the problematic package. |
Will do. I'll comment back when I get a repro; may not be for a day or so depending on when I'm next working. |
No problem. Another thing, I don't know if it matters, but I see you're not using the |
Reproduced: Debugger entered--Lisp error: (quit)
redisplay_internal\ \(C\ function\)()
read-from-minibuffer("Swiper: " nil (keymap (keymap (3 keymap (6 . swiper-toggle-face-matching)) (67108919 . swiper-mc) (67108903 . swiper-avy) (12 . swiper-recenter-top-bottom) (27 keymap (113 . swiper-query-replace))) keymap (12) (8) (11 . ivy-kill-line) (3 keymap (1 . ivy-toggle-ignore) (15 . ivy-occur)) (67108903 . ivy-avy) (33554464 . ivy-restrict-to-matches) (15 . spacemacs/ivy-transient-state/body) (22 . ivy-scroll-up-command) (7 . minibuffer-keyboard-quit) (32 . self-insert-command) (18 . ivy-reverse-i-search) (19 . ivy-next-line-or-history) (remap keymap (describe-mode . ivy-help) (kill-ring-save . ivy-kill-ring-save) (kill-line . ivy-kill-line) (end-of-buffer . ivy-end-of-buffer) (beginning-of-buffer . ivy-beginning-of-buffer) (kill-word . ivy-kill-word) (forward-char . ivy-forward-char) (delete-char . ivy-delete-char) (backward-kill-word . ivy-backward-kill-word) (delete-backward-char . ivy-backward-delete-char) (previous-line . ivy-previous-line) (next-line . ivy-next-line)) (9 . ivy-partial-or-done) (10 . ivy-alt-done) (27 keymap (1 . ivy-read-action) (15 . ivy-dispatching-call) (111 . ivy-dispatching-done) (105 . ivy-insert-current) (106 . ivy-yank-word) (114 . ivy-toggle-regexp-quote) (16 . ivy-previous-line-and-call) (14 . ivy-next-line-and-call) (118 . ivy-scroll-down-command) (112 . ivy-previous-history-element) (110 . ivy-next-history-element) (10 . ivy-immediate-done) (13 . ivy-call)) (13 . ivy-done)) nil swiper-history)
ivy-read("Swiper: " (#(" ;; -*- mode: emacs-lisp -*-" 0 1 (display "1 " swiper-line-number "1 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 28 (face font-lock-comment-face fontified t)) #(" ;; This file is loaded by Spacemacs at startup." 0 1 (display "2 " swiper-line-number "2 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 48 (face font-lock-comment-face fontified t)) #(" ;; It must be stored in your home directory." 0 1 (display "3 " swiper-line-number "3 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 45 (face font-lock-comment-face fontified t)) #(" " 0 1 (display "4 " swiper-line-number "4 ")) #(" (defun dotspacemacs/layers ()" 0 1 (display "5 " swiper-line-number "5 ") 1 2 (face (rainbow-delimiters-depth-1-face) fontified t) 2 7 (face font-lock-keyword-face fontified t) 7 8 (fontified t) 8 27 (face font-lock-function-name-face fontified t) 27 28 (fontified t) 28 29 (face (rainbow-delimiters-depth-2-face) fontified t) 29 30 (face (rainbow-delimiters-depth-2-face) fontified t)) #(" \"Configuration Layers declaration." 0 1 (display "6 " swiper-line-number "6 ") 1 3 (fontified t) 3 37 (face font-lock-doc-face fontified t)) #(" You should not put any user code in this function besides modifying the variable" 0 1 (display "7 " swiper-line-number "7 ") 1 81 (face font-lock-doc-face fontified t)) #(" values.\"" 0 1 (display "8 " swiper-line-number "8 ") 1 9 (face font-lock-doc-face fontified t)) #(" (setq-default" 0 1 (display "9 " swiper-line-number "9 ") 1 3 (fontified t) 3 4 (face (rainbow-delimiters-depth-2-face) fontified t) 4 16 (face font-lock-keyword-face fontified t)) #(" ;; Base distribution to use. This is a layer contained in the directory" 0 1 (display "10 " swiper-line-number "10 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 75 (face font-lock-comment-face fontified t)) #(" ;; `+distribution'. For now available distributions are `spacemacs-base'" 0 1 (display "11 " swiper-line-number "11 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 8 (face font-lock-comment-face fontified t) 8 21 (face (font-lock-constant-face font-lock-comment-face) fontified t) 21 61 (face font-lock-comment-face fontified t) 61 75 (face (font-lock-constant-face font-lock-comment-face) fontified t) 75 76 (face font-lock-comment-face fontified t)) #(" ;; or `spacemacs'. (default 'spacemacs)" 0 1 (display "12 " swiper-line-number "12 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 11 (face font-lock-comment-face fontified t) 11 20 (face (font-lock-constant-face font-lock-comment-face) fontified t) 20 43 (face font-lock-comment-face fontified t)) #(" dotspacemacs-distribution 'spacemacs" 0 1 (display "13 " swiper-line-number "13 ") 1 12 (fontified t) 12 40 (fontified t)) #(" ;; Lazy installation of layers (i.e. layers are installed only when a file" 0 1 (display "14 " swiper-line-number "14 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 78 (face font-lock-comment-face fontified t)) #(" ;; with a supported type is opened). Possible values are `all', `unused'" 0 1 (display "15 " swiper-line-number "15 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 62 (face font-lock-comment-face fontified t) 62 65 (face (font-lock-constant-face font-lock-comment-face) fontified t) 65 69 (face font-lock-comment-face fontified t) 69 75 (face (font-lock-constant-face font-lock-comment-face) fontified t) 75 76 (face font-lock-comment-face fontified t)) #(" ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers" 0 1 (display "16 " swiper-line-number "16 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 12 (face font-lock-comment-face fontified t) 12 15 (face (font-lock-constant-face font-lock-comment-face) fontified t) 15 19 (face font-lock-comment-face fontified t) 19 25 (face (font-lock-constant-face font-lock-comment-face) fontified t) 25 76 (face font-lock-comment-face fontified t)) #(" ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will" 0 1 (display "17 " swiper-line-number "17 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 31 (face font-lock-comment-face fontified t) 31 64 (face (font-lock-constant-face font-lock-comment-face) fontified t) 64 69 (face font-lock-comment-face fontified t) 69 72 (face (font-lock-constant-face font-lock-comment-face) fontified t) 72 78 (face font-lock-comment-face fontified t)) #(" ;; lazy install any layer that support lazy installation even the layers" 0 1 (display "18 " swiper-line-number "18 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 76 (face font-lock-comment-face fontified t)) #(" ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy" 0 1 (display "19 " swiper-line-number "19 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 18 (face font-lock-comment-face fontified t) 18 51 (face (font-lock-constant-face font-lock-comment-face) fontified t) 51 55 (face font-lock-comment-face fontified t) 55 58 (face (font-lock-constant-face font-lock-comment-face) fontified t) 58 76 (face font-lock-comment-face fontified t)) #(" ;; installation feature and you have to explicitly list a layer in the" 0 1 (display "20 " swiper-line-number "20 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 12 (face font-lock-comment-face fontified t) 12 74 (face font-lock-comment-face fontified t)) #(" ;; variable `dotspacemacs-configuration-layers' to install it." 0 1 (display "21 " swiper-line-number "21 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 17 (face font-lock-comment-face fontified t) 17 50 (face (font-lock-constant-face font-lock-comment-face) fontified t) 50 66 (face font-lock-comment-face fontified t)) #(" ;; (default 'unused)" 0 1 (display "22 " swiper-line-number "22 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 24 (face font-lock-comment-face fontified t)) #(" dotspacemacs-enable-lazy-installation 'unused" 0 1 (display "23 " swiper-line-number "23 ") 1 49 (fontified t)) #(" ;; If non-nil then Spacemacs will ask for confirmation before installing" 0 1 (display "24 " swiper-line-number "24 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 76 (face font-lock-comment-face fontified t)) #(" ;; a layer lazily. (default t)" 0 1 (display "25 " swiper-line-number "25 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 34 (face font-lock-comment-face fontified t)) #(" dotspacemacs-ask-for-lazy-installation t" 0 1 (display "26 " swiper-line-number "26 ") 1 44 (fontified t)) #(" ;; If non-nil layers with lazy install support are lazy installed." 0 1 (display "27 " swiper-line-number "27 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 70 (face font-lock-comment-face fontified t)) #(" ;; List of additional paths where to look for configuration layers." 0 1 (display "28 " swiper-line-number "28 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 71 (face font-lock-comment-face fontified t)) #(" ;; Paths must have a trailing slash (i.e. `~/.mycontribs/')" 0 1 (display "29 " swiper-line-number "29 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 47 (face font-lock-comment-face fontified t) 47 61 (face (font-lock-constant-face font-lock-comment-face) fontified t) 61 63 (face font-lock-comment-face fontified t)) #(" dotspacemacs-configuration-layer-path '()" 0 1 (display "30 " swiper-line-number "30 ") 1 43 (fontified t) 43 44 (face (rainbow-delimiters-depth-3-face) fontified t) 44 45 (face (rainbow-delimiters-depth-3-face) fontified t)) #(" ;; List of configuration layers to load." 0 1 (display "31 " swiper-line-number "31 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 44 (face font-lock-comment-face fontified t)) #(" dotspacemacs-configuration-layers" 0 1 (display "32 " swiper-line-number "32 ") 1 37 (fontified t)) #(" '(" 0 1 (display "33 " swiper-line-number "33 ") 1 5 (fontified t) 5 6 (face (rainbow-delimiters-depth-3-face) fontified t)) #(" ;; ----------------------------------------------------------------" 0 1 (display "34 " swiper-line-number "34 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 73 (face font-lock-comment-face fontified t)) #(" ;; Example of useful layers you may want to use right away." 0 1 (display "35 " swiper-line-number "35 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 65 (face font-lock-comment-face fontified t)) #(" ;; Uncomment some layer names and press <SPC f e R> (Vim style) or" 0 1 (display "36 " swiper-line-number "36 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 72 (face font-lock-comment-face fontified t)) #(" ;; <M-m f e R> (Emacs style) to install them." 0 1 (display "37 " swiper-line-number "37 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 51 (face font-lock-comment-face fontified t)) #(" ;; ----------------------------------------------------------------" 0 1 (display "38 " swiper-line-number "38 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 48 (face font-lock-comment-face fontified t) 48 73 (face font-lock-comment-face fontified t)) #(" auto-completion" 0 1 (display "39 " swiper-line-number "39 ") 1 21 (fontified t)) #(" better-defaults" 0 1 (display "40 " swiper-line-number "40 ") 1 21 (fontified t)) #(" emacs-lisp" 0 1 (display "41 " swiper-line-number "41 ") 1 16 (fontified t)) #(" git" 0 1 (display "42 " swiper-line-number "42 ") 1 9 (fontified t)) #(" c-c++" 0 1 (display "43 " swiper-line-number "43 ") 1 11 (fontified t)) #(" ruby" 0 1 (display "44 " swiper-line-number "44 ") 1 10 (fontified t)) #(" html" 0 1 (display "45 " swiper-line-number "45 ") 1 10 (fontified t)) #(" ivy" 0 1 (display "46 " swiper-line-number "46 ") 1 9 (fontified t)) #(" rust" 0 1 (display "47 " swiper-line-number "47 ") 1 10 (fontified t)) #(" lua" 0 1 (display "48 " swiper-line-number "48 ") 1 9 (fontified t)) #(" themes-megapack" 0 1 (display "49 " swiper-line-number "49 ") 1 21 (fontified t)) #(" ;; markdown" 0 1 (display "50 " swiper-line-number "50 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 17 (face font-lock-comment-face fontified t)) ...) :initial-input nil :keymap (keymap (3 keymap (6 . swiper-toggle-face-matching)) (67108919 . swiper-mc) (67108903 . swiper-avy) (12 . swiper-recenter-top-bottom) (27 keymap (113 . swiper-query-replace))) :preselect 342 :require-match t :update-fn swiper--update-input-ivy :unwind swiper--cleanup :action swiper--action :re-builder swiper--re-builder :history swiper-history :caller swiper)
swiper--ivy((#(" ;; -*- mode: emacs-lisp -*-" 0 1 (display "1 " swiper-line-number "1 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 28 (face font-lock-comment-face fontified t)) #(" ;; This file is loaded by Spacemacs at startup." 0 1 (display "2 " swiper-line-number "2 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 48 (face font-lock-comment-face fontified t)) #(" ;; It must be stored in your home directory." 0 1 (display "3 " swiper-line-number "3 ") 1 4 (face font-lock-comment-delimiter-face fontified t) 4 45 (face font-lock-comment-face fontified t)) #(" " 0 1 (display "4 " swiper-line-number "4 ")) #(" (defun dotspacemacs/layers ()" 0 1 (display "5 " swiper-line-number "5 ") 1 2 (face (rainbow-delimiters-depth-1-face) fontified t) 2 7 (face font-lock-keyword-face fontified t) 7 8 (fontified t) 8 27 (face font-lock-function-name-face fontified t) 27 28 (fontified t) 28 29 (face (rainbow-delimiters-depth-2-face) fontified t) 29 30 (face (rainbow-delimiters-depth-2-face) fontified t)) #(" \"Configuration Layers declaration." 0 1 (display "6 " swiper-line-number "6 ") 1 3 (fontified t) 3 37 (face font-lock-doc-face fontified t)) #(" You should not put any user code in this function besides modifying the variable" 0 1 (display "7 " swiper-line-number "7 ") 1 81 (face font-lock-doc-face fontified t)) #(" values.\"" 0 1 (display "8 " swiper-line-number "8 ") 1 9 (face font-lock-doc-face fontified t)) #(" (setq-default" 0 1 (display "9 " swiper-line-number "9 ") 1 3 (fontified t) 3 4 (face (rainbow-delimiters-depth-2-face) fontified t) 4 16 (face font-lock-keyword-face fontified t)) #(" ;; Base distribution to use. This is a layer contained in the directory" 0 1 (display "10 " swiper-line-number "10 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 75 (face font-lock-comment-face fontified t)) #(" ;; `+distribution'. For now available distributions are `spacemacs-base'" 0 1 (display "11 " swiper-line-number "11 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 8 (face font-lock-comment-face fontified t) 8 21 (face (font-lock-constant-face font-lock-comment-face) fontified t) 21 61 (face font-lock-comment-face fontified t) 61 75 (face (font-lock-constant-face font-lock-comment-face) fontified t) 75 76 (face font-lock-comment-face fontified t)) #(" ;; or `spacemacs'. (default 'spacemacs)" 0 1 (display "12 " swiper-line-number "12 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 11 (face font-lock-comment-face fontified t) 11 20 (face (font-lock-constant-face font-lock-comment-face) fontified t) 20 43 (face font-lock-comment-face fontified t)) #(" dotspacemacs-distribution 'spacemacs" 0 1 (display "13 " swiper-line-number "13 ") 1 12 (fontified t) 12 40 (fontified t)) #(" ;; Lazy installation of layers (i.e. layers are installed only when a file" 0 1 (display "14 " swiper-line-number "14 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 78 (face font-lock-comment-face fontified t)) #(" ;; with a supported type is opened). Possible values are `all', `unused'" 0 1 (display "15 " swiper-line-number "15 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 62 (face font-lock-comment-face fontified t) 62 65 (face (font-lock-constant-face font-lock-comment-face) fontified t) 65 69 (face font-lock-comment-face fontified t) 69 75 (face (font-lock-constant-face font-lock-comment-face) fontified t) 75 76 (face font-lock-comment-face fontified t)) #(" ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers" 0 1 (display "16 " swiper-line-number "16 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 12 (face font-lock-comment-face fontified t) 12 15 (face (font-lock-constant-face font-lock-comment-face) fontified t) 15 19 (face font-lock-comment-face fontified t) 19 25 (face (font-lock-constant-face font-lock-comment-face) fontified t) 25 76 (face font-lock-comment-face fontified t)) #(" ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will" 0 1 (display "17 " swiper-line-number "17 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 31 (face font-lock-comment-face fontified t) 31 64 (face (font-lock-constant-face font-lock-comment-face) fontified t) 64 69 (face font-lock-comment-face fontified t) 69 72 (face (font-lock-constant-face font-lock-comment-face) fontified t) 72 78 (face font-lock-comment-face fontified t)) #(" ;; lazy install any layer that support lazy installation even the layers" 0 1 (display "18 " swiper-line-number "18 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 76 (face font-lock-comment-face fontified t)) #(" ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy" 0 1 (display "19 " swiper-line-number "19 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 18 (face font-lock-comment-face fontified t) 18 51 (face (font-lock-constant-face font-lock-comment-face) fontified t) 51 55 (face font-lock-comment-face fontified t) 55 58 (face (font-lock-constant-face font-lock-comment-face) fontified t) 58 76 (face font-lock-comment-face fontified t)) #(" ;; installation feature and you have to explicitly list a layer in the" 0 1 (display "20 " swiper-line-number "20 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 12 (face font-lock-comment-face fontified t) 12 74 (face font-lock-comment-face fontified t)) #(" ;; variable `dotspacemacs-configuration-layers' to install it." 0 1 (display "21 " swiper-line-number "21 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 17 (face font-lock-comment-face fontified t) 17 50 (face (font-lock-constant-face font-lock-comment-face) fontified t) 50 66 (face font-lock-comment-face fontified t)) #(" ;; (default 'unused)" 0 1 (display "22 " swiper-line-number "22 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 24 (face font-lock-comment-face fontified t)) #(" dotspacemacs-enable-lazy-installation 'unused" 0 1 (display "23 " swiper-line-number "23 ") 1 49 (fontified t)) #(" ;; If non-nil then Spacemacs will ask for confirmation before installing" 0 1 (display "24 " swiper-line-number "24 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 76 (face font-lock-comment-face fontified t)) #(" ;; a layer lazily. (default t)" 0 1 (display "25 " swiper-line-number "25 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 34 (face font-lock-comment-face fontified t)) #(" dotspacemacs-ask-for-lazy-installation t" 0 1 (display "26 " swiper-line-number "26 ") 1 44 (fontified t)) #(" ;; If non-nil layers with lazy install support are lazy installed." 0 1 (display "27 " swiper-line-number "27 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 70 (face font-lock-comment-face fontified t)) #(" ;; List of additional paths where to look for configuration layers." 0 1 (display "28 " swiper-line-number "28 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 71 (face font-lock-comment-face fontified t)) #(" ;; Paths must have a trailing slash (i.e. `~/.mycontribs/')" 0 1 (display "29 " swiper-line-number "29 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 47 (face font-lock-comment-face fontified t) 47 61 (face (font-lock-constant-face font-lock-comment-face) fontified t) 61 63 (face font-lock-comment-face fontified t)) #(" dotspacemacs-configuration-layer-path '()" 0 1 (display "30 " swiper-line-number "30 ") 1 43 (fontified t) 43 44 (face (rainbow-delimiters-depth-3-face) fontified t) 44 45 (face (rainbow-delimiters-depth-3-face) fontified t)) #(" ;; List of configuration layers to load." 0 1 (display "31 " swiper-line-number "31 ") 1 4 (fontified t) 4 7 (face font-lock-comment-delimiter-face fontified t) 7 44 (face font-lock-comment-face fontified t)) #(" dotspacemacs-configuration-layers" 0 1 (display "32 " swiper-line-number "32 ") 1 37 (fontified t)) #(" '(" 0 1 (display "33 " swiper-line-number "33 ") 1 5 (fontified t) 5 6 (face (rainbow-delimiters-depth-3-face) fontified t)) #(" ;; ----------------------------------------------------------------" 0 1 (display "34 " swiper-line-number "34 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 73 (face font-lock-comment-face fontified t)) #(" ;; Example of useful layers you may want to use right away." 0 1 (display "35 " swiper-line-number "35 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 65 (face font-lock-comment-face fontified t)) #(" ;; Uncomment some layer names and press <SPC f e R> (Vim style) or" 0 1 (display "36 " swiper-line-number "36 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 72 (face font-lock-comment-face fontified t)) #(" ;; <M-m f e R> (Emacs style) to install them." 0 1 (display "37 " swiper-line-number "37 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 51 (face font-lock-comment-face fontified t)) #(" ;; ----------------------------------------------------------------" 0 1 (display "38 " swiper-line-number "38 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 48 (face font-lock-comment-face fontified t) 48 73 (face font-lock-comment-face fontified t)) #(" auto-completion" 0 1 (display "39 " swiper-line-number "39 ") 1 21 (fontified t)) #(" better-defaults" 0 1 (display "40 " swiper-line-number "40 ") 1 21 (fontified t)) #(" emacs-lisp" 0 1 (display "41 " swiper-line-number "41 ") 1 16 (fontified t)) #(" git" 0 1 (display "42 " swiper-line-number "42 ") 1 9 (fontified t)) #(" c-c++" 0 1 (display "43 " swiper-line-number "43 ") 1 11 (fontified t)) #(" ruby" 0 1 (display "44 " swiper-line-number "44 ") 1 10 (fontified t)) #(" html" 0 1 (display "45 " swiper-line-number "45 ") 1 10 (fontified t)) #(" ivy" 0 1 (display "46 " swiper-line-number "46 ") 1 9 (fontified t)) #(" rust" 0 1 (display "47 " swiper-line-number "47 ") 1 10 (fontified t)) #(" lua" 0 1 (display "48 " swiper-line-number "48 ") 1 9 (fontified t)) #(" themes-megapack" 0 1 (display "49 " swiper-line-number "49 ") 1 21 (fontified t)) #(" ;; markdown" 0 1 (display "50 " swiper-line-number "50 ") 1 6 (fontified t) 6 9 (face font-lock-comment-delimiter-face fontified t) 9 17 (face font-lock-comment-face fontified t)) ...) nil)
swiper()
funcall-interactively(swiper)
call-interactively(swiper nil nil)
command-execute(swiper) |
Thank you for all the information so far! Does it happen in any directory ? Can you find some directory where you cannot reproduce the freeze ? The freeze seems to happen in a C function and seems related to the display engine so we should try to reproduce with a vanilla Emacs and only swiper activated. What Emacs build do you use ? The official GNU one or something else ? A shot in the dark: in the function |
It does happen in any directory. It feels like it happens more often on larger directories or larger files; it happens in either Helm/Ivy's I'm using the official GNU emacs as packaged by Homebrew ( I've set |
Actually I set mine to 20MB not 2 MB. |
Have adjusted mine accordingly. :) |
Reproduced again while using Swiper
|
Here's a backtrace from lldb. After stopping and starting the process a few times, it looks like the loop is at:
|
Okay, that function isn't even a loop, so I guess it's |
Building Emacs with debugging info and will see if I can repro there. |
Updated to 0.200.2@24.5.1 on Windows and still get the freeze as I commented before: resuming or killing the (suspended) git process unfreezes spacemacs. |
I haven't had a repro since using my own build of Emacs; I'll continue using it and report back if I do manage to hit it again. |
Still no repros using my own Emacs build every day, which is in itself an interesting data point. |
Finally got a repro. It's frozen immediately on hitting The backtrace is here. I've also saved a (huge) core file if you have any further questions about the backtrace; it's 2.3GB and has sensitive data in it, so I can't share it, unfortunately. After dumping the core, I resumed the process, sent it USR2, and received the following traceback from Emacs itself:
|
I am bumping this as this is still an issue on my setup. OSX El Capitan V10.11.6 Mine most often occurs with SPC f f. Seems to be right after i open a new window it happens the MOST. Thought i had a bad stick of memory or something. It's super annoying. Have we found any solid solutions? |
Even if I had high hopes that the
From working with emacs daily and observing the crashes and the debug output I suspect that the freeze is related to a combination of I've managed to reproduce the freeze in two ways:
2. linum globally disabled | perspectives loaded | using helm | emacs server mode
System Info 💻
(ansible auto-completion csv docker emacs-lisp graphviz helm git
(git :variables git-magit-status-fullscreen t)
github go
(go :variables gofmt-command "goimports")
(go :variables go-tab-width 4)
(go :variables go-use-gometalinter t)
html javascript latex markdown nginx org
(org :variables org-enable-github-support t)
(org :variables org-projectile "per-repo")
(org :variables org-projectile:per-repo-filename "todo.org")
(org :variables org-agenda-files
(append org-agenda-files
(org-projectile: "todo-files")))
(org :variables org-catch-invisible-edits ’smart)
plantuml python
(python :variables python-enable-yapf-format-on-save t)
ruby rust shell-scripts spell-checking syntax-checking systemd terraform themes-megapack vimscript yaml)
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Commands
SPC-f-f
as well asSPC-f-r
can freeze spacemacs on my machine. I cannot reliably reproduce this bug but it happens on a consistent basis. After I restart spacemacs the freezing can still occur causing me to have to restart the program multiple times before the file finder starts working again.spacemacs version: 0.105.9
emacs version: 24.5.1
OS: OS X 10.11.2
The text was updated successfully, but these errors were encountered: