-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Segmentation fault when building ISO image with nixFlakes #4246
Comments
Probably #4178 which has been fixed in master. That time it wasn't reproduced by Eelco, so it's probably best if you try for yourself. You could use NixOS/nixpkgs#102932 if you think that's more convenient. |
For others who land on this page. Until there's a proper fix, you may try adding
this seems to allow IFD to complete successfully for me |
This "fixed" the problem for me aswell, but it seems more like a workaround. Any plans to get this fixed properly? |
It has just now happened to me while building a non-ISO configuration, so it seems it's not limited to something that the ISO derivation is doing. |
This occurred with building an amazonImage.
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
I marked this as stale due to inactivity. → More info |
#4944 most likely fixed this, this is likely to be no longer applicable. |
Domen gave me the hint that the crashes tend to happen in `nix` GC, see e.g. NixOS/nix#4246
Domen gave me the hint that the crashes tend to happen in `nix` GC, see e.g. NixOS/nix#4246 ## Background The GitHub release action for new tags keeps failing on MacOS X
Sorry for the linkspam above... I'll leave this comment here, as it looks like there is still some lurking bug in 2.4. There is also a fresh backtrace. |
yes it is, even in 2.6... I'm being bit by this or something related, flakes aren't involved in my setup, it's a NIX_PATH override with heavy overlays... prefixing |
hit a segfault in 2.11.1 that was resolved with the |
Same on 2.12.0, also resolved with |
Same,
|
I just hit this as well on a PR that updates my flake inputs. I could try to find out which updated input that caused the issue. This also only happens in GH Actions, running the same command locally had no issues. |
Probably needs #7679. Is it a linux action or macos? |
It was a Linux action |
I have isolated the issue being triggered by nixpkgs upgrade: I have not bisected anything to figure out exact at what point it broke. This breaks evaluation consistently for my GH action. Good to see a fix, will have to try it out when a new version is released. Or if anyone has a "one-liner" that could be used with Not sure if there are any hints in this information in order to make something small and reproducible. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/rust-in-nix-discussion-thread/5092/20 |
I don't know if I'm hitting the same issue, but as @terlar, I get a segmentation fault on a |
Describe the bug
Segmentation fault when building ISO image with nixFlakes from release-20.09
Steps To Reproduce
To reproduce (on nixpkgs release-20.09):
Expected behavior
No segmentation fault
nix (Nix) 2.4pre20201102_550e11f
The text was updated successfully, but these errors were encountered: