Skip to content

parallel/test-internal-util-construct-sab fails on 32-bit #61377

@kapouer

Description

@kapouer

Version

24.13.0

Platform

linux debian 14 (unstable) i686, armhf

Subsystem

tests

What steps will reproduce the bug?

node test/parallel/test-internal-util-construct-sab.js

How often does it reproduce? Is there a required condition?

Always fail on 32-bits arch

What is the expected behavior? Why is that the expected behavior?

No failure

What do you see instead?

not ok 2047 parallel/test-internal-util-construct-sab

duration_ms: 212.01600
severity: fail
exitcode: 1
stack: |-
/tmp/tmp.12E6MOvs2i.nodejs/test/parallel/test-internal-util-construct-sab.js:13
assert(isSharedArrayBuffer(constructSharedArrayBuffer(length)));
^

RangeError: Invalid array buffer length

Additional information

I suppose 2 ** 32 is not a valid array buffer length on 32-bits architectures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions