Skip to content

Linux ARM appears to have a memory handling bug #2024

@llimllib

Description

@llimllib

On my branch of the repo, I've added automatic testing for Linux-arm and the following tests fail:

  1) Worker
       can track objects to free on context shutdown:
     Uncaught AssertionError [ERR_ASSERTION]: Failed
      at Worker.<anonymous> (test/tests/worker.js:138:18)
      at Worker.emit (node:events:531:35)
      at [kOnExit] (node:internal/worker:318:10)
      at Worker.<computed>.onexit (node:internal/worker:232:20)

  2) Worker
       can track objects to free on context shutdown after multiple checkouts:
     Uncaught AssertionError [ERR_ASSERTION]: Failed
      at Worker.<anonymous> (test/tests/worker.js:211:18)
      at Worker.emit (node:events:531:35)
      at [kOnExit] (node:internal/worker:318:10)
      at Worker.<computed>.onexit (node:internal/worker:232:20)

I'm working through it, but it seems that on ARM the SelfFreeingInstanceCount is not being updated properly. I'll update this issue if I figure it out in more detail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions