sample bugs for valgrind usage