Skip to content
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

Emacs frequently hangs #383

Open
ldangelo opened this issue Oct 24, 2024 · 7 comments
Open

Emacs frequently hangs #383

ldangelo opened this issue Oct 24, 2024 · 7 comments

Comments

@ldangelo
Copy link

I have been chasing an issue with emacs hanging frequently while using lsp. Nothing wakes it up, not C-g nor sending SIGUSR1 signal... I captured the following backtrace using lldb. Any help chasing this down would be appreciated. Do I need to build emacs-mac with debug turned on?

`* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x80)

@Grant-S-Z
Copy link

I encounter the same problem as the issue when using lsp-mode. Emacs sometimes crash too. Do you have any new ideas?

@ldangelo
Copy link
Author

ldangelo commented Nov 4, 2024

Not yet... Still digging into this... Interestingly, I disabled lsp and still got a hang on my end. So 'may' not be related too lsp (maybe treesitter?)... Still digging!

@ldangelo
Copy link
Author

ldangelo commented Nov 9, 2024

The plot thickens... I started emacs from the terminal and when emacs hangs it is receiving a SEGV (like the stack trace above shows)... I guess I need to build a debug image and run in the debugger to go further. BTW) This has nothing to do with lsp as I originally thought. It happens when I'm not loading lsp.

@ViktorHaag
Copy link
Contributor

Would it helpful, then, to rename the title of your issue to remove ‘lsp’ from the subject line?

@nvimtor
Copy link

nvimtor commented Nov 13, 2024

Same. It happens most frequently in TRAMP, also. For that reason, I have decided to move to https://github.com/d12frosted/homebrew-emacs-plus which has support for Emacs@30. I do remember a bug related to this was fixed in v30 but can't remember the ticket.

I miss the smooth scrolling but oh well... no more issues with LSP at least, and all feels snappier too somehow.

@ldangelo ldangelo changed the title Emacs frequently hangs while using lsp Emacs frequently hangs Dec 30, 2024
@ldangelo
Copy link
Author

Got a new M4 Mac before Christmas. Was hoping this issue was related to the intel build. No such luck. Having the same issue. This time I'm editing an org file. I've had to restart 3 times in the last 5 minutes which pretty much renders Emacs useless. Been using Emacs for 30+ years and I'm now looking for alternatives. I doubt I'm the only one having this issue as I took a bone stock doom configuration and was able to reproduce it reliably. I'm happy to help chase this down.

@datalek
Copy link

datalek commented Jan 21, 2025

I have the same problem as well. I haven’t been able to solve it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants