Graft segmentation faults
(address . bug-guix@gnu.org)
Hey,
With recent Guix revisions ([3] for example) I've had some apparently
random segmentation faults with grafts. I've encountered this on two
machines, both times it appears not to happen repeatably, as re-running
the graft can work. I encountered this when running guix package -u, and
running it again eventually worked.
One of the logs mentioned not being able to allocate memory. The machine
this was running on has 16GB of RAM, plus 16GB of swap, and most of the
memory was free, so I think using all of this is unlikely.
1:
/builder for `/gnu/store/0m25akb320nm8w1mwlfm4c61jqd7m3sq-java-swt-4.7.1a.drv' failed due to signal 11 (Segmentation fault)
build of /gnu/store/0m25akb320nm8w1mwlfm4c61jqd7m3sq-java-swt-4.7.1a.drv failed
View build log at '/var/log/guix/drvs/0m/25akb320nm8w1mwlfm4c61jqd7m3sq-java-swt-4.7.1a.drv.bz2'.
→ bzcat /var/log/guix/drvs/0m/25akb320nm8w1mwlfm4c61jqd7m3sq-java-swt-4.7.1a.drv.bz2
grafting '/gnu/store/bzqzjzgwk2vh06skh51hwfxad1g4wgzz-java-swt-4.7.1a' -> '/gnu/store/3ms7y6p4m67ff8i7gm5pda6zgjds4f82-java-swt-4.7.1a'...
madvise failed: Cannot allocate memory
2:
-builder for `/gnu/store/kgp8kxair912nvk500y4c9ckhw91njlg-orcus-0.15.3.drv' failed due to signal 11 (Segmentation fault)
build of /gnu/store/kgp8kxair912nvk500y4c9ckhw91njlg-orcus-0.15.3.drv
failed
3:
→ guix describe
Generation 102 Mar 28 2020 21:48:51 (current)
guix 735a8d9
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 735a8d997a92518d7d19926e1c8a1e385a98fdce
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6Agi1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9Xdshg//cVHgpRq6mTmAjzHV8MyGlPAWHbBcGXC3ZLDUv7rWyFEe6NxozHrLJRME
pj8101s5B8DDCyW004jIL9AVkDY8CD9zuWIYVHpmLvNd6ol0LE1htJUkNKMX5uhC
dPUE+00lIme94wyzF9CtRPII+yh8mdKBW/i9FfZcept0hIQPMeSYjAqoy5en7Gmo
06o38Jm3aAia0kGySqreJmnAA5KoehsOT58zAASGRP9QHEbS+sKqX7Tox7PIV73E
Cmws7Iif0Dy/oB/JGtJ9clmW+pAz7Veu+qgr5mcHHhTFT0uctC4XCmyGJVAg09ZV
X5EJ4NxoO9zk9QiUD7tEKJIq7q3RHmjG4Rl+M08TNAmyXRWABZhZnVm1mhRws134
LKnAk98mk7/3ZLmiz8OSPv+zcnfL96Aqrx4rac5rpG0Sk4D47f7wokFZ0o7w5sVS
uZP3nQij2my992yzJub/IOTpgVw3kDM+voqmrMsUBBG2T6XzkxvDaKYmF55+Ulog
NVX4i+7oe2UBFLJoou6kebMbTlY5FT06SOZYVzI75k8nb1xAY1Idw1zUwViiqaPj
zwvMcLiS3GR4dtTZqXOyJJEQnlhCCMeUfemua75vxZShDrjY62dFIT/pcfzyClYE
eZkC3+aHzmSkXY7c+i+VYYoy0Q79+IOpzTCPwsncaIrZczVZbQA=
=ere0
-----END PGP SIGNATURE-----