Menu

#3 Arrow Key crashes GLUI program

open
None
8
2012-07-18
2003-12-06
Anonymous
No

Click into the graphics window and hit an arrow key,
program crashes.

Discussion

  • Nigel Stewart

    Nigel Stewart - 2003-12-11

    Logged In: YES
    user_id=338692

    Is the platform Win32 or X11?
    (I don't see this on w2k with CVS GLUI)

     
  • Kenneth Chan

    Kenneth Chan - 2005-02-09

    Logged In: YES
    user_id=239920

    I had the same problem running under WIN XP. Using a debug
    version of the GLUI library, I have discovered that the
    crash occurs in glui_special_func in glui.cpp

    Looks like the value of glut_window->glut_special_CB is not
    verified before it is invoked. I have invoked
    set_glutSpecialFunc at start up but I passed a null to it.

     
  • Billy B

    Billy B - 2005-04-03

    Logged In: YES
    user_id=821871

    I went ahead and prefixed all the calls to
    glut_window->glut_xxx_CB in glui.cpp with checks for null
    just to be on the safe side.

     
MongoDB Logo MongoDB