Skip to content

Segmentation Fault on Execution #2

@new-gen23

Description

@new-gen23

Environment:
Host System: Mac OSX
Guest System: Ubuntu 13.10 virtualized in Parallels

I compiled your example code without any error. When executing OpenGLTest however, the program crashes with a Segmentation fault.
Using cgdb, it tells me that segfault happens in mesh.cpp in Line 19:
glGenVertexArrays(1, &m_vertexArrayObject);

I followed your tutorial on youtube and used glGenVertexArrays without problems. My OpenGL also works perfect in the VM, since my own program works. Now I wonder, why the segmentation fault might happen. Any idea how to debug it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions