After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313698 - crash with "document with no pages"
crash with "document with no pages"
Status: RESOLVED DUPLICATE of bug 310306
Product: evince
Classification: Core
Component: general
0.3.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-17 07:29 UTC by oll
Modified: 2005-08-17 14:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
corrupted pdf (321 bytes, application/pdf)
2005-08-17 07:30 UTC, oll
Details

Description oll 2005-08-17 07:29:19 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)
Comment 1 oll 2005-08-17 07:30:56 UTC
Created attachment 50842 [details]
corrupted pdf
Comment 2 Nickolay V. Shmyrev 2005-08-17 14:32:26 UTC
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 ***
Comment 3 oll 2005-08-17 14:34:31 UTC
Yes, indeed ! Thank you !