test failed on ubuntu 12.04 using clang with -fomit-frame-pointer, which is enabled by default using -O3