Skip to content

s390x postject "Error: memory access out of bounds" #104

Description

@TeoBotta90

Version

v24.9.0

Platform

Linux createnodeexe 5.14.0-570.42.2.el9_6.s390x nodejs/node#1 SMP Mon Sep 8 12:10:08 EDT 2025 s390x s390x s390x GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

cp $(command -v node) hello
node --experimental-sea-config sea-config.json
npx postject hello NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2

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

Always

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

The following message:
"
Start injection of NODE_SEA_BLOB in hello...
Injection done!
"

What do you see instead?

The following error message:
"
Start injection of NODE_SEA_BLOB in hello...
Error: memory access out of bounds
"

Additional information

sea-config.json
{
"main": "hello.js",
"output": "sea-prep.blob"
}
hello.js
console.log('Hello, SEA!');

Activity

  1. URAYUSHJAIN commented on Oct 7, 2025

    @URAYUSHJAIN

    @TeoBotta90 plz can i try to solve this

  2. TeoBotta90 commented on Oct 7, 2025

    @TeoBotta90
    Author

    @TeoBotta90 plz can i try to solve this

    Of couse you can @URAYUSHJAIN! I'm available for testing, if you need it

  3. richardlau commented on Oct 7, 2025

    @richardlau
    Member

    @nodejs/single-executable does this belong here or in https://github.com/nodejs/postject?

  4. TeoBotta90 commented on Oct 7, 2025

    @TeoBotta90
    Author

    @nodejs/single-executable does this belong here or in https://github.com/nodejs/postject?

    You're completely right, sorry. We should move it there!

  5. transferred this issue fromnodejs/nodeon Oct 7, 2025
  6. richardlau commented on Oct 7, 2025

    @richardlau
    Member

    I'll move it, we can always move it back if the problem is in Node.js instead of postject.

  7. TeoBotta90 commented on Oct 7, 2025

    @TeoBotta90
    Author

    Thanks @richardlau. It seems that postject is not that much under development, is it correct? Issues seems to be quite old!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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