Seg fault in print db at the moment