Developer comments (common to all duplicates if any)

If the byte order is not correct, computation of t0 might generate inf, which leads to this crash.
Implementation of a method for determining byte order for SU format (brute force testing of consistency of sample number with file size).
Condition testing to avoid crash event if byte order is not correct.