-
Notifications
You must be signed in to change notification settings - Fork 45
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
Inexplicable hang on Emacs 30 snapshot #247
Comments
I was able to reproduce. It not only hangs, it also eats a lot of memory. |
Wow, that must have taken a while to research. Thanks for digging in to that. Have you found the commit in emacs.git that makes the incompatible change to |
After looking at your comment on alphapapa/org-ql#442, I remembered something I saw recently: I wonder if the problem could be this: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f2bccae22bd47a2e7e0937b78ea06131711b935a (NEWS entry) |
I just tried to isolate the hanging test, and once I got the test suite to actually exit I noticed some failing tests. The Emacs change you point out could be responsible for this breakage. I don't understand the C parts of Emacs very well. The patch does not touch the obvious pieces of Looking at my comments on alphapapa/org-ql#442 I probably drew the wrong conclusion as to why the |
@snogge It seems that, once the accidental misuse of On the Buttercup side, are there any improvements that could be made to prevent its apparently hanging in a situation like this? Or that would make it easier for an end-user like me to debug? Thank you for digging into this problem. I regret that it turned out to be caused by a minor bug in org-ql, but hopefully this discovery will benefit Buttercup as well. |
@alphapapa I've done some digging around in the buttercup backtrace code and found lots of room for improvement. |
This is needed due to changes in Emacs 30, but this code was always mistaken, and it just happened to work. See <jorgenschaefer/emacs-buttercup#247>. Fixes #461. Suggested-by: Ola Nilsson <[email protected]>
This is needed due to changes in Emacs 30, but this code was always mistaken, and it just happened to work. See <jorgenschaefer/emacs-buttercup#247>. Fixes #441. Suggested-by: Ola Nilsson <[email protected]>
Hi,
I'm seeing that my tests for org-ql with Buttercup are hanging exclusively on Emacs snapshot (currently an Emacs 30 pre-release version). I don't know if this indicates a bug in Buttercup, or an incompatible change in Emacs 30, but I hope that we can find the problem and solve it before Emacs 30.1 is released. These hangs are happening with the latest version of Buttercup installed automatically from MELPA during the CI run.
Perhaps notably, perhaps related, Guix has disabled tests for org-ql due to what seems to be a similar problem: https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/packages/emacs-xyz.scm?id=3add97c7761e6c58a1d7405f417a49dda5f0a742
I can't reproduce the problem locally, being on a different Emacs version. But besides that, earlier today while debugging similar issues, I had similar hangs during a Buttercup run on other Emacs/Org/Buttercup versions, and I don't know how to "look inside" a Buttercup run to find out what's hanging.
Any suggestions would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: