The Unit Cylinder created in OgreSimpleShape.cc has two extra indices that are never initialized. This also means that the number of indices is not a multiple of 3. Depending on the values in these indices, the Mesa drivers will attempt to read past the end of the buffer and segfault. The attached patch fixes the problem. Adjusts the number of indices and fixes the for loop range to adjust the normals. Nvidia drivers do not seem to be effected by the these indices.