Skip to content

SEA silently crashing when attempting to use .node DLL which works fine as a scriptΒ #59574

@mordof

Description

@mordof

Version

v24.6.0

Platform

Microsoft Windows NT 10.0.26100.0 x64

Subsystem

No response

What steps will reproduce the bug?

I see it says without a github repository, but it would be challenging/lengthy to describe without as this involves needing a script setup using an available .node DLL, and bundling into a SEA application to demonstrate.

Hopefully it's ok to make an exception for this. I've made a github repo with a bare minimum example, a (hopefully clear) README to describe how to utilize it, and showcase how to test it running as a script, as well as testing the failing SEA app.

https://github.com/mordof/node_sea_crash_example

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

This happens every single time. The required condition is, as far as I can tell, simply trying to load a node-raylib .node DLL in when in a SEA app.

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

The expected behavior is that running the SEA app will behave the same as running the identical script & dll as a javascript code file. This expected behavior is a successful raylib window example popping up.

What do you see instead?

The SEA app crashes silently without any error or output.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    single-executableIssues and PRs related to single-executable applications

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions