Loading complete, segfaults with loading shape component data