-
Notifications
You must be signed in to change notification settings - Fork 130
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
Comments
I encounter the same problem as the issue when using lsp-mode. Emacs sometimes crash too. Do you have any new ideas? |
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! |
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. |
Would it helpful, then, to rename the title of your issue to remove ‘lsp’ from the subject line? |
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. |
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. |
I have the same problem as well. I haven’t been able to solve it yet. |
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)
inhibit_garbage_collection + 17 frame #1: 0x000000010018c59c Emacs
probably_quit + 12frame Info directory not included in default installation #2: 0x000000010010bd95 Emacs
access_keymap_1 + 389 frame #3: 0x000000010010bbf9 Emacs
access_keymap + 9frame Add cask #4: 0x0000000100259f27 Emacs
is_action_selector + 135 frame #5: 0x0000000100259e7b Emacs
-[EmacsController respondsToSelector:] + 59frame Bad header line #6: 0x00007ff810f759cf AppKit
_NSPersistentUIApplicationImplementsSupportsSecureRestorableState + 91 frame #7: 0x00007ff810f74835 AppKit
NSPersistentUIRequiresSecureCoding + 139frame To use emacs inside terminal, do this symlink #8: 0x00007ff8102d7386 AppKit
-[NSPersistentUIManager flushAllChanges] + 1415 frame #9: 0x00007ff8102d6d23 AppKit
-[NSPersistentUIFlushScheduler _performFlush] + 123frame include cli starter in homebrew package #10: 0x00007ff8102f1262 AppKit
__45-[NSPersistentUIFlushScheduler scheduleTimer]_block_invoke + 111 frame #11: 0x00007ff810dc292d AppKit
___NSMainRunLoopPerformBlockInModes_block_invoke + 25frame Formula cleanup. #12: 0x00007ff80c812766 CoreFoundation
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 frame #13: 0x00007ff80c81269f CoreFoundation
__CFRunLoopDoBlocks + 401frame Added /Application alias instructions. #14: 0x00007ff80c81197b CoreFoundation
__CFRunLoopRun + 2079 frame #15: 0x00007ff80c810b6c CoreFoundation
CFRunLoopRunSpecific + 536frame Fix Markdown formatting in README #16: 0x00007ff80d836219 Foundation
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216 frame #17: 0x000000010028551f Emacs
__mac_select_block_invoke_2.2848 + 143frame emacs-mac build fails at configure step on 10.10.2 #18: 0x0000000100256b90 Emacs
-[NSApplication(Emacs) stopAfterCallingBlock:] + 16 frame #19: 0x00007ff80d8f2e64 Foundation
__NSFirePerformWithOrder + 357frame Crash on return from screen lock #20: 0x00007ff80c812029 CoreFoundation
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 frame #21: 0x00007ff80c811f4c CoreFoundation
__CFRunLoopDoObservers + 503frame brew failed to fetch emacs-mac #22: 0x00007ff80c8114e5 CoreFoundation
__CFRunLoopRun + 905 frame #23: 0x00007ff80c810b6c CoreFoundation
CFRunLoopRunSpecific + 536frame brew install errors out on missing .git/hooks/... #24: 0x00007ff817eeffe3 HIToolbox
RunCurrentEventLoopInMode + 292 frame #25: 0x00007ff817ef5807 HIToolbox
ReceiveNextEventCommon + 201frame Update spacemacs-icon url #26: 0x00007ff817ef5b62 HIToolbox
_BlockUntilNextEventMatchingListInModeWithFilter + 66 frame #27: 0x00007ff810143d8b AppKit
_DPSNextEvent + 902frame Switch back from official repo to Github mirror #28: 0x00007ff810b604c8 AppKit
-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1290 frame #29: 0x00007ff810134eb7 AppKit
-[NSApplication run] + 610frame Use tarball instead of git #30: 0x0000000100256c59 Emacs
-[NSApplication(Emacs) runTemporarilyWithBlock:] + 153 frame #31: 0x0000000100285401 Emacs
__mac_select_block_invoke.2847 + 257frame Probable bug with with-eval-after-load #32: 0x0000000100285ec6 Emacs
mac_gui_loop + 86 frame #33: 0x00000001002a920e Emacs
main.cold.1 + 14frame Full screen not working with 10.11 El Capitan beta 2 #34: 0x0000000100285df2 Emacs
main + 1154 frame #35: 0x00007ff80c39f2cd dyld
start + 1805`The text was updated successfully, but these errors were encountered: