|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #47914] segfault with OpenGL patches and address sanitizer |
Date: | Thu, 28 Jul 2016 16:45:55 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Follow-up Comment #16, bug #47914 (project octave): That error might be caused by the current implementation of lights. On one of my systems, the constant GL_MAX_LIGHTS is way too high. I am not sure what happens in the following lines when "i" increases way too far: // disable other OpenGL lights for (int i = num_lights; i < GL_MAX_LIGHTS; i++) glDisable (GL_LIGHT0 + i); A fix for this is contained in file #37999 in patch #8943. It might also be completely unrelated but comment #14 rang a bell to me. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47914> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |