-
Notifications
You must be signed in to change notification settings - Fork 6
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
Occasional hangs in Emacs 27.1, interruptible with SIGUSR2 #89
Comments
@wasamasa the backtrace isn't that bad... we at least know it was Hm. We need to know what How repeatable is this? If it's moderately repeatable, we can try streaming every command out (which exists undocumented in the package right now) and then at least you'll know what emacs was doing right when it hangs. If it's not very repeatable, at least it's interruptible. Next time it occurs, walk up the backtrace one step. You should be here: https://github.com/lastquestion/explain-pause-mode/blob/master/explain-pause-mode.el#L2693, and evaluating This gives me the idea to add a function to the mode that can be run while broken in the debugger to print out the current state right before the debugger was invoked... that's a good idea 💯 |
If this doesn't work, don't byte-compile |
I run into the error regularly, but can't reproduce it at will. I'll try evaluating |
|
Ah, the
And I decided to handle debug specially but I didn't finish the PR yet. Sorry. If you're running it this often, can you load |
What do you mean with "ask for a regular backtrace"? Anything special beyond loading the non-compiled version of the library? |
Oh, so sorry, yes, load the library uncompiled and get a regular backtrace when you interrupt and break. I meant don't bother trying to walk the stack frames up and evaluating |
Like this?
|
Hm, I doubt the hang has anything to do with explain-pause-mode, but will leave this open due to the weird backtrace. |
Yup, I managed having these hangs without it, seems to be an undo-tree issue. I've reverted to not using undo-tree at all and re-enabled explain-pause-mode. Feel free to close this. |
Sorry for the useless backtrace. If you have a better idea how to debug a hang here, please let me know.
The text was updated successfully, but these errors were encountered: