http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57688 --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> --- Run it in gdb, wait for the fault, and disassemble the code around the faulting PC. That valgrind report doesn't really say anything useful.