Open
Description
Hi,
Love the package! But I've got a sticky problem. I wrote a program that writes millions of .fst files in parallel. Some of these, it turns out, are corrupt (possibly because of issues with the scratch file system I'm using, possibly because of an accident writing the same file from parallel processes). There are no differences in the metadata between uncorrupted and corrupted files.
When I try to read in these corrupt files on my Linux cluster, I get a segfault error that I can repeat on my Mac. I'd like to be able to test for whether the file is corrupt or not so that I can avoid the segfault crash.
Here's an example corrupted file: https://www.dropbox.com/s/eyoaq7nsxp8hhrl/corrupt.fst?dl=0