Tutorials segfault

Issue #71 resolved
created an issue

All tutorials segfault on my system (Ubuntu 10.04). Below is the gdb output.

{{{ Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () (gdb) where

0 0x00000000 in ?? ()

1 0x08051a13 in init () at tut1.cpp:133

2 0x08052f11 in main (argc=1, argv=0xbffff3f4) at framework.cpp:158


Line 133 of tut1.cpp is this: {{{ glGenVertexArrays(1, &vao); }}}

Furthermore the output of glload::LoadFunctions(); in main() is 0.

Please let me know if I can assist in anyway.

Comments (5)

  1. wesdec reporter

    By the way this is my graphics card:

    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
    OpenGL version string: 3.2.9756 Compatibility Profile Context
    OpenGL shading language version string: 1.50
  2. Jason McKesson repo owner
    • changed status to open

    Thank you for the graphics card information. That explained everything.

    The problem is that your drivers are old. You need to attempt to update them to something recent. You're using a laptop, so that may be difficult. But the tutorials will only work if you can use GL 3.3. And I only really test the tutorials on recent drivers.

    However, I will see about adding code to the framework to more cleanly detect this problem and print an appropriate output message.

  3. Anonymous

    Thanks I can confirm that I now get the warning. Good job on the opengl book/tutorial by the way. By far the best book I have read on opengl!

  4. Log in to comment