[Poppler-bugs] [Bug 16579] Corrupted PDF causes abort with ' Call to Object where the object was type 11, not the expected type 8'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 4 07:20:19 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16579


Tom Parker <freedesktop at tevp.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from Tom Parker <freedesktop at tevp.net>  2008-07-04 07:20:18 PST ---
The patch
(http://cgit.freedesktop.org/poppler/poppler/commit/?id=0189ff8b86de18486f7397076f7a0fbf133a1a33)
doesn't appear to fix things, and I'm still getting the same crash+stacktrace.
Going through with gdb says the problem is on line 974 of glib/poppler-page.cc,
and that the check there is only for thumb.isNull() but the thumb is an error
thumb and so thumb.isError() should be checked there as well. Doing this fixes
the bug for me, as evince is now able to show the rest of the document. I now
get lots of errors of the form "Error (379611): Bad 'Length' attribute in
stream" on the command line and "Weird Page Contents", but given it's a
partially corrupted document this isn't entirely surprising.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list