try to debug tesseract segfault