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

Error loading EGL entry points. (Segmentation fault) #35

Open
Somebi opened this issue Apr 20, 2019 · 4 comments
Open

Error loading EGL entry points. (Segmentation fault) #35

Somebi opened this issue Apr 20, 2019 · 4 comments

Comments

@Somebi
Copy link

Somebi commented Apr 20, 2019

const gles = require('node-gles');
const gl = gles.binding.createWebGLRenderingContext();

Getting this:

Error loading EGL entry points.
Segmentation fault (core dumped)
@Somebi Somebi changed the title Error loading EGL entry points. Error loading EGL entry points. (Segmentation fault) Apr 20, 2019
@Somebi
Copy link
Author

Somebi commented Apr 20, 2019

Although i don't see dumped core... It should be in the same folder right? But there is none...
I'm on Ubungu 16.04 with OpenGL version string: 3.0 Mesa 18.0.5

@nkreeger
Copy link
Contributor

Hi @Somebi weird - yeah I'm seeing that too on my plain Ubuntu machine. I'll spin some new builds this week. Sorry for the lag - I/O project took most of my time the last month.

@nkreeger
Copy link
Contributor

nkreeger commented May 15, 2019

Hi @Somebi I was able to fix this by rolling new ANGLE builds for Linux. The default Release mode was not linking properly w/o some additional flags.

Please try 0.0.9

@rnconrad
Copy link
Contributor

This error message is output from ANGLE when it can't open a shared library. On Linux this probably means that a call to dlopen() failed, but the prebuilt ANGLE provided with node-gles right now doesn't provide any more useful information (i.e. from dlerror()).

It looks like more recent versions do though: https://github.com/google/angle/blob/78c77361b46416cd8033925ebf7d83f767bd067e/src/common/system_utils_posix.cpp#L87

The output from dlerror() can help fix this, as it might identify a missing dependency that is causing the library to not load.

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

3 participants