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
emacsMacport crashes on start with new Darwin stdenv #61596
Comments
Can reproduce on current "master". "open result/Applications/Emacs.app" won't start anything, but I don't get a crash report, nothing appears in ~/Library/Logs/DiagnosticReports/. edit: got my crash report a bit later, it's the same stacktrace as reported |
The regular |
Looks like libdispatch is too old. Working on it now |
I've opened up a draft that I think might fix it: #61613 I'm building it now, but if you have a beefy machine it might help to try to build it as well |
I'm afraid that #61613 doesn't fix the issue. Here's a gist with the new crash, which looks more or less identical to the one I posted above: https://gist.github.com/dhess/ddb05ea10421743ce757a35336f4929f I built this with my https://github.com/dhess/nixpkgs/commit/416ac345a0c3afdad510ae4a6fa87cdc685bbfd1 I'm trying to confirm that this |
Here's a simpler repro case. This happens when I try to build https://gist.github.com/dhess/6437ae2a7976e877b7d2ab28ed70ffb8 |
for unclear reasons, using llvm7 crashes emacs macport. llvm6 seems to work fine. Fixes NixOS#61596
So the short term fix is just to use llvm6. At some point, I'll try to dig into what is actually happening, but I suspect something has changed in how llvm handles threads. |
Thank you! I’m happy to use a work-around and didn’t expect you to address this complex issue so quickly! I was resigned to using the vanilla emacs for the foreseeable future, so this is a very welcome development. |
I can confirm that this appears to be fixed in my Hydra builds, as well. |
Issue description
emacsMacport
crashes instantly and won't start with the new Darwin stdenv.My
emacsMacport
is bundled with quite a few Emacs packages, so this may be a bit hard to isolate, but hopefully it's reproducible anyway.Steps to reproduce
emacsMacport
with recentnixpkgs
.open ~/Applications/Emacs.app
Technical details
This is with
nixpkgs
d9df60fb71a61ee62786a6205ef5efbae5b726f0
.Partial Problem Report included below. I've elided most of it for privacy reasons; let me know if you need more info:
The text was updated successfully, but these errors were encountered: