ecb-home / ecb

ECB Main Repository
Other
54 stars 11 forks source link

Recursive Window Delete Crash in ECB #33

Open rvangraan opened 7 years ago

rvangraan commented 7 years ago

Hi there,

This morning when I opened my Emacs, ECB started acting weird. No idea what changed. The weirdness starts with the two windows I marked here: screen shot 2017-07-07 at 11 10 12

They shouldn't be there. (I'm still trying to figure out why Emacs is splitting this frame up like it does - it should only be showing the 3rd one).

Then I tried to delete them. C-x C-0 and then ECB exploded with the stack trace I attached.

Any ideas?

ECB crash.txt

ware commented 7 years ago

This is a really weird error. I'm not sure what to tell you. Looking through the crash, I see the following over and over again:

error "Root of atomic window is root window of its frame" delete-window "Attempt to delete minibuffer or sole ordinary window" window--major-non-side-window "Attempt to delete last non-side window" window-left-child window-size window--in-subtree-p frame-selected-window window-left window-right window--resize-reset window-sizable-p nil window--resize-this-window set-window-new-normal window-normal-size window--resizable-p window--resize-siblings delete-window-internal window--pixel-to-total no-other-window other-window -1 run-window-configuration-change-hook window--check horizontal size frame-selected sibling window-combination-resize] 9)] 3 2192025 nil] #<window 47 on rebar.config>)

It's acting like it's not just those windows you're trying to remove. Have you looked through your .emacs file to see if there's anything that's changed in there? Have you tried a newer version of Emacs?

rvangraan commented 7 years ago

I managed to get some clues. I think that (ecb-activate) is not reentrant. Somehow, one of my init scripts got called as a result of (ecb-activate) and that called (ecb-activate) again.