GNOME Bugzilla – Bug 313698
crash with "document with no pages"
Last modified: 2005-08-17 14:34:31 UTC
Steps to reproduce: 1. get the attachment 2 [details]. open it with evince 3. crash Stack trace: I didn't succed in having a useful bt but there is the last lines of strace : read(17, "%PDF-1.2\n%\307\354\217\242\n3 0 obj\n<< /Type "..., 321) = 321 _llseek(17, 321, [321], SEEK_SET) = 0 _llseek(17, 0, [0], SEEK_SET) = 0 read(17, "%PDF-1.2\n%\307\354\217\242\n3 0 obj\n<< /Type "..., 4096) = 321 write(2, "\n** ERROR **: file ev-page-cache"..., 162 ** ERROR **: file ev-page-cache.c: line 227 (ev_page_cache_new): assertion failed: (page_cache->uniform_width > 0 && page_cache->uniform_height > 0) aborting... ) = 162 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(24741, 24741, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- Other information: I know this is a corrupt document. But Acrobat Reader doesn't crash : it just tells me "This file cannot be opened because it has no pages". Unfortunatly, "my" users generates a lot of such files and it's not always easy to know if it's a real crash or a corrupt document. As far as I know, evince has always crashed with this file (0.2x, 0.3.x, 0.3.3)
Created attachment 50842 [details] corrupted pdf
Hi, this bug should be fixed in 0.3.4 or in current CVS. Please upgrade your evince. *** This bug has been marked as a duplicate of 310306 ***
Yes, indeed ! Thank you !