What does gdb and/or valgrind have to say about it?