So the script hangs just in this special row.
Could you rip out the loading and processing code into a standalone script and try to see, if you are able to load and process this particular sample?
I would recommend to use an IDE and step line by line to isolate the hanging part (or add print statements to the script).