Summary: | kpdf crashes opening a pdf file | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Giovanni Venturi <giovanni> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
I cannot open this file with KPDF because it crashes
this is the correct pdf file that make to crash kpdf |
Description
Giovanni Venturi
2006-10-10 22:20:30 UTC
Created attachment 18081 [details]
I cannot open this file with KPDF because it crashes
Works here, please go to performace tab, uncheck the background generation option, make it crash and put the backtrace again, it should be more useful than the one you posted. Created attachment 18083 [details]
this is the correct pdf file that make to crash kpdf
I disabled as you sayed but with the correct PDF file and I get no debug output
and it chrashed the same.
SVN commit 594669 by aacid: Painting an image of 0x0 does not seem right and is making it crash With this code we get roughly the same output than acroread, this basically means your pdf is broken BUGS: 135417 M +2 -0 Splash.cc M +2 -0 SplashErrorCodes.h --- branches/KDE/3.5/kdegraphics/kpdf/xpdf/splash/Splash.cc #594668:594669 @@ -2346,6 +2346,8 @@ (double)mat[3], (double)mat[4], (double)mat[5]); } + if (w == 0 && h == 0) return splashErrZeroImage; + // check for singular matrix if (splashAbs(mat[0] * mat[3] - mat[1] * mat[2]) < 0.000001) { return splashErrSingularMatrix; --- branches/KDE/3.5/kdegraphics/kpdf/xpdf/splash/SplashErrorCodes.h #594668:594669 @@ -29,4 +29,6 @@ #define splashErrSingularMatrix 8 // matrix is singular +#define splashErrZeroImage 9 // image of 0x0 + #endif |