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

Seg fault when glGetString() retrun NULL #32

Closed
Narann opened this issue Dec 14, 2014 · 1 comment
Closed

Seg fault when glGetString() retrun NULL #32

Narann opened this issue Dec 14, 2014 · 1 comment
Assignees
Labels

Comments

@Narann
Copy link
Member

Narann commented Dec 14, 2014

There is some situations where glGetString calls, like glGetString(GL_EXTENSIONS);, return a NULL pointer. As this string is parsed to find supported extensions, this bring to a crash:

Video: Using OpenGL: (null) - (null) : (null)
Segmentation fault

Those situations are rare (in my case it's when I link Rice to libGLESv2.so without any hardware support. But should be handled smoothly with an error message.

@Narann Narann added the bug label Dec 14, 2014
@Narann Narann self-assigned this Dec 14, 2014
@Narann Narann changed the title Seg fault when glGet Seg fault when glGetString Dec 14, 2014
@Narann Narann changed the title Seg fault when glGetString Seg fault when glGetString() retrun NULL Dec 14, 2014
@Narann
Copy link
Member Author

Narann commented Dec 22, 2014

@Narann Narann closed this as completed Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant