Skip to content

SEA: Binary created in Intel MacOS seg faults #62893

@JorgePBrown

Description

@JorgePBrown

Version

v25.9.0

Platform

Darwin dev-macmini.home 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64 x86_64

Subsystem

No response

What steps will reproduce the bug?

Binaries generated in an Intel Mac seg fault.

Used the following command to generate and run the binary

echo 'console.log("Hello world")' > index.js && echo '{"main": "index.js", "output": "sea-output"}' > sea-config.json && node --build-sea sea-config.json && codesign --sign - sea-output && ./sea-output

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

100% on my Intel Mac machine

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

Expect the binary to output "Hello World" when running. The expected behavior occurs on an arm64 MacOS.

What do you see instead?

[1] 20039 segmentation fault ./sea-output

Additional information

No response

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