The reason for the hang is that the file claims to have dimensions of 16768256x17279, which results in the creation of a 2.2TB temporary file to read the pixels into.
Adding the option '-limit pixels 10mp' avoids the hang.
It is obvious that code should be added to reject the irrational request based on input image size.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason for the hang is that the file claims to have dimensions of 16768256x17279, which results in the creation of a 2.2TB temporary file to read the pixels into.
Adding the option '-limit pixels 10mp' avoids the hang.
It is obvious that code should be added to reject the irrational request based on input image size.
This issue is fixed by Mercurial Changeset 15744:4a8fc48e6aed. Thank you very much for bringing this issue to our attention.