Error while upgrading to latest version of PDFTron

728 views Asked by At

I was using the previous version of PDFTron for iOS (6.5.4a). Now since a new version is available so I decided to upgrade to 6.7.2 . I am using static framework. Now when I open a pdf, go back from it and again try to open the same pdf the app crashes with the following error :

libc++abi.dylib: terminating with uncaught exception of type trn::Common::Exception: Exception: 
 Message: Bad image dimensions
 Conditional expression: inout_size.x>0 && inout_size.y>0
 Version    : 6.7.1.53210N
 Filename   : PDFDraw.cpp
 Function   : CalcDevMtxFromSize
 Linenumber : 239
1

There are 1 answers

4
Ryan On

There have been improvements to image reading, and this exception should no longer occur. Please update to the latest version. If the latest version doesn't help, then we would need access to the file in question.