Instructions compile, run check it with valgrind. You may see strange behavior but it may be perfectly fine. check it with valgrind --tool=helgrind understand issue and fix