[Pkg-javascript-devel] Bug#1030284: nodejs: [arm64] RangeError: Maximum call stack size exceeded

James Addison jay at jp-hosting.net
Fri Feb 24 21:54:18 GMT 2023


Package: nodejs
Followup-For: Bug #1030284

On Wed, 15 Feb 2023 14:54:03 +0100, Jérémy wrote:
> While waiting for the proper fix you describe, I propose to set higher
> constants
> for V8_DEFAULT_STACK_SIZE_KB - especially for arm64.

That sounded good to me when I read it a week ago, but now I'm not so sure.

It seems that the Node ecosystem has known unusual architecture-specific
behaviours here that derive from a lower-level element (V8) in the stack.

Is it wise for us to add another layer of configuration settings that are
Debian-specific and will require future users/developers yet more time to
unpick and understand?  Especially when the configuration may -- if set too
high -- introduce as many failures as it solves?  (how could we tell?)

Maybe it's rare to propose 'do nothing' as a technical suggestion but I think
it is worth considering here, since we are not the arbiters of Node.


More information about the Pkg-javascript-devel mailing list