guix lint --checkers=derivation doesn't complete, Too many heap sections

  • Open
  • quality assurance status badge
Details
One participant
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal
C
C
Christopher Baines wrote on 5 Sep 2022 14:14
(address . bug-guix@gnu.org)
87zgfe2eta.fsf@cbaines.net
When running the derivation checker on all packages for recent guix
revisions, it dones't seem to complete. Instead, you get an error which
I think comes from the garbage collection implementation that Guile
uses:

→ guix lint --checkers=derivation
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Aborted

I noticed this on data.guix.gnu.org, as it effectively does something
similar when trying to record the lint warnings for a revision.

Maybe there's enough derivations now that the process of computing them
all is too much for Guile? Or maybe it's something in the graph that's
forming a loop?

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMV6YFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfU7w//cHJcZtBT3iIysKhsQ43zcjqyJAYuoXrV
IXgZNhhghy72rWi7GSPprIBSDlSLJNb7DSDmY9Eg0JUghK6H1sQgeHfke/urNUzF
KTFPV4opM6h86ZeP5rMBCy54Ocrwac9t9uFQ5nSi8Y5iqEicS+0MF+n/7WIZF/xa
MpJGBsB9MWoTy1RWT3rX/Na+dpQIhboC4C8HoxMo+nFWPPNTASoqfuWbuOGZ0938
9Vy3r5SdIKiM4d1DUnRWbvjqF572e9rX40kbPHyhJzuOl/wRr5F86Ok1/+v2pfq2
RgR+LjElFNIDr1njkCC3y4dLRbDU6jdz3hfvDxGqr1gq7pR1vNJ4O2IEjwOZ57CW
C8aOcZ9lSqNNKmu14UzPj5sZpipfJkIbYn/sAM0y8ttLog4QnN21Ps0S0CFZEA2c
9IPQVZHxY3xmOBQTB6KQxBMd05CgnVeBBRsVIAuTuChyH7u/K4dDmiLj+MCY8cBG
G8wyZMkElrnexHfxTA18HJEN0F7rJB5k/NAXyLTN5HeFmWbZ2H+iGrC1oMapv43D
6B66IACRqofcn2bOE0rgs7YYfApjKOlfZVSSkUY02jq5hXW0wnXx3PXQnAQZBVuW
Cgiazs+cRG/4Qvqmsf1UbIPrCFeQoVDo+WTvNgAnBPemD3xJ5Qozhr0OjTuArZTV
TUFfAo8gSwQ=
=cX6S
-----END PGP SIGNATURE-----

C
C
Christopher Baines wrote on 6 Sep 2022 09:28
(address . 57596@debbugs.gnu.org)
87v8q12c4t.fsf@cbaines.net
Christopher Baines <mail@cbaines.net> writes:

Toggle quote (16 lines)
> When running the derivation checker on all packages for recent guix
> revisions, it dones't seem to complete. Instead, you get an error which
> I think comes from the garbage collection implementation that Guile
> uses:
>
> → guix lint --checkers=derivation
> Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
> Aborted
>
> I noticed this on data.guix.gnu.org, as it effectively does something
> similar when trying to record the lint warnings for a revision.
>
> Maybe there's enough derivations now that the process of computing them
> all is too much for Guile? Or maybe it's something in the graph that's
> forming a loop?

I've got a bit more information now, I'm guessing the changes in [1]
just tipped the balance as that's when the data service instances
started not being able to process revisions.


I think I've managed to work around this now in the data service [2],
but the problem still remains when running the linter through the
script.

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMW9xJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XeXoA/+MELfiirvsfRGeaJJLPh2psszBNGbQ0Yz
ED43hSgFUxOz8OYcQ3aAEhLIs+ew0E23yZmxv1HGmfqCp2CUJo5nmrMmPwuXUETC
yT86A+rlgsrQNXXHm8Ec8r+BfjQMDOnSVfi3Prh8iWpPlsbporfdYaXYzZn1iBpO
czfW/iZoOkyQ5yXBZa7lGdVRknqhNJWm0rG5KP5aJcNMjkFKoLVne9SUMY6LJoUI
77THuWuCXYTexrtnOcvMGU6QVN5CprOLqOoPgL6cbt+w5Hh2i7pmjnsxrXaACGeT
njVrijiGMu9QaV3zPP24VoNE4npsVTnLIMIFP9SA2EeulupPn7PhwKAM+uEpn2qh
0jJJczGPqIipK/7TCSQB1Pqyspqq5fyQSp+nKdD/mHtt1nh7w9zv0cKkVB0BwjQV
IYugoNmzIliQINEpzoKodWSj1byvzhQGDC58qFpAwkPdRkipDAnFb0cYypZmmwWz
RGCAQOWUnWaBGml5Wn4nqtHBG3m0zhRkYOfzMZRAjTTd8KBf4V4NHVzRfjxRDnxF
Mf8pVT8uF/hqsQkd8Gr5wQD+z6m3ep85QT+xX0kFVRM0uHti2camscV9VcANlTOC
25DoQLlBDDHeVPiQbhkRtx1NUx2qIx7iTL1eC65HGnM6b8NsafzR1ckS88GOMJlQ
7MSlT16zPJE=
=2gJp
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 57596@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57596
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch