https://bugs.freedesktop.org/show_bug.cgi?id=36761

--- Comment #2 from Lauri Kasanen <cur...@operamail.com> 2011-05-02 07:44:26 
PDT ---
Yes, gdb points the segfault to this line in Irrlicht source:
Driver->extGlDeleteObject(shaders[i]);
Which segfaults because it's trying to access the array beyond 8.

To check this I added a printf right after this call:
Driver->extGlGetAttachedObjects(Program, 8, &count, shaders);

And indeed, count is a random value above 32k (32516 in my latest test).


It's possible this is an Irrlicht bug as well, but GetAttachedObjects returns
something huge in the count param.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to