Too many heap sections: Increase MAXHINCR or MAX_HEAP_SEC

  • Done
  • quality assurance status badge
Details
4 participants
  • Guillaume Le Vaillant
  • Tobias Geerinckx-Rice
  • Sharlatan Hellseher
  • zimoun
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal
S
S
Sharlatan Hellseher wrote on 18 Feb 2021 21:42
(address . bug-guix@gnu.org)
CAO+9K5pT9G=98pA0XSY3Af8FguRNZ=wBMddwD0xH_iv0mhF-MQ@mail.gmail.com
./pre-inst-env guix build sbcl-cffi ;;; note: source file
/home/hellseher/code/guix/gnu/packages/lisp-xyz.scm ;;; newer than
compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go Too many
heap sections: Increase MAXHINCR or MAX_HEAP_SECS
Aborted
--
… ??? ????? - ???????????? ?????????????? ?????? ??????? ????????
????? ????? ????? ? ??? ??????, ??????????? ????? ???????, ??
?????????? ?? ? ????????? ??????? ????? ? ?????????????????.
G
G
Guillaume Le Vaillant wrote on 18 Feb 2021 22:05
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 46624@debbugs.gnu.org)
87blchjdco.fsf@yamatai
Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

Toggle quote (6 lines)
> ./pre-inst-env guix build sbcl-cffi ;;; note: source file
> /home/hellseher/code/guix/gnu/packages/lisp-xyz.scm ;;; newer than
> compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go Too many
> heap sections: Increase MAXHINCR or MAX_HEAP_SECS
> Aborted

With Guix at 5fccdbc079402eee345684bcbd1b1d0306cab1e8 I don't reproduce
this issue.
From the warning and error messages you get, it looks like you changed
something in 'lisp-xyz.scm' and Guix fails to compile it.
Is it the case? If yes, there is probably a bug in the changes you made.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYC7Wpw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+7lQD6AkDN50Vvq9goueR4WM9PfrDAMgwZTTrwLPxP
YwBdvYYBAISomuugJQV/ATBbqD5ICBmsLU4X6rnRE1dduBT3QZgd
=N2Lq
-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 18 Feb 2021 23:02
(name . Guillaume Le Vaillant)(address . glv@posteo.net)
87r1ldkpb5.fsf@nckx
Guillaume Le Vaillant ???
Toggle quote (6 lines)
> From the warning and error messages you get, it looks like you
> changed
> something in 'lisp-xyz.scm' and Guix fails to compile it.
> Is it the case? If yes, there is probably a bug in the changes
> you made.

More specifically, it's likely an input cycle (infinite loop of A
needs B needs ... needs A). Guix doesn't [yet] detect these, and
takes them literally until memory is exhausted.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYC7j3g0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15c3gA/2fY30dW1tgPsduIGZYjHB99tGN6mJSQ38gmUTdZ
Muk4AQCV+4xeIzh7OVzGyClFjXHheJoVxStJvJejcwlRp0UWBA==
=+CeQ
-----END PGP SIGNATURE-----

G
G
Guillaume Le Vaillant wrote on 19 Feb 2021 09:19
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 46624-done@debbugs.gnu.org)
87blcg8o68.fsf@yamatai
Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

Toggle quote (21 lines)
> Hi,
>
> Yes it looks like issue on my end only.
> I've doped my local branch pull upstream and I could rebuild it now.
> Issue could be closed.
>
> Thanks
>
> hellseher@guix-base-20210210 ~/code/guix [env]$ ./pre-inst-env guix
> build sbcl-cffi
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/lisp-xyz.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/emacs-xyz.scm
> ;;; newer than compiled
> /home/hellseher/code/guix/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/games.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/games.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/telegram.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/telegram.go
> /gnu/store/x9ainb8phlprackcdwl1a8w0xh1bh18g-sbcl-cffi-0.23.0

Ok, closing.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYC90nw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j/cTQEAibyKd3Bp34ejp4ZyoJIkBnOXCr+FXgXzI6EA
cVnvNvYBAJROMO4GK9enS2drJUkULxmqeT0S2cGecNXf+h21/J68
=7dAc
-----END PGP SIGNATURE-----

Closed
Z
Z
zimoun wrote on 24 Feb 2021 23:41
86pn0pks1e.fsf@gmail.com
Hi Tobias,

On Thu, 18 Feb 2021 at 23:02, Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (4 lines)
> More specifically, it's likely an input cycle (infinite loop of A
> needs B needs ... needs A). Guix doesn't [yet] detect these, and
> takes them literally until memory is exhausted.

Where should this feature go? Under “guix lint” via another checker or
“guix build” walking the graph to detect cycles before really building?


Cheers,
simon
?