some segmentation fault onthe process of reading the fingerprint. the same function using the C library doesn't gave me any errors.