On 12/07/2016 09:44 AM, Marek Olšák wrote: > On Wed, Dec 7, 2016 at 6:42 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote: >> What's wrong with feeding it stack memory? > > I don't really have an answer to that.
Does valgrind provide any clues? The usual problems are running out of stack (is that still a thing?) or buffer overrun. I'm also curious why you allocate shader[i].length + 1000. Did it also fail with just +1? > Marek > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev