no more seg fault if you do ./bin/main instead of cd ./bin; ./main :apple: