Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #346

Open
MatthD opened this issue Nov 8, 2023 · 2 comments
Open

Segmentation fault #346

MatthD opened this issue Nov 8, 2023 · 2 comments

Comments

@MatthD
Copy link

MatthD commented Nov 8, 2023

I have a segmentation fault when loading my native module from a file.
Strangely if I load it from another topper file it's ok then.

I debugged via console.log the index.js entrypoint and the issue is coming when calling. getReports() fonction that lead to the segmentation fault.

So it even does not get the glibcVersionRuntime ,

If I import it elsewhere on my project it's ok and get the glibcVersionRuntime 2.28 and return false

Not sure what to do then..

Capture d’écran 2023-11-08 à 11 42 39

@Brooooooklyn
Copy link
Member

I remember there were some reports about segmentation fault while using NAPI-RS modules with npm link, and I believe it's a bug from the Node.js side. Are you in this case?

@MatthD
Copy link
Author

MatthD commented Nov 15, 2023

Not at all.
I am inside a docker container for node and have this issue with the getReports function; so I did just remove the code to check isMuslin my project.
I don't know the impact but it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants