GNOME Bugzilla – Bug 537574
evince crashes with segfault
Last modified: 2008-12-17 13:28:49 UTC
this report has been filed here: "When I open the bad pdf document with evince, its crashes with a seg fault. The backtrace is given a joined piece. I have the following messages in the console too: (evince:8367): Poppler-CRITICAL **: PopplerPage* poppler_document_get_page(PopplerDocument*, int): assertion `0 <= index && index < poppler_document_get_n_pages (document)' failed (evince:8367): Poppler-CRITICAL **: void poppler_page_get_size(PopplerPage*, double*, double*): assertion `POPPLER_IS_PAGE (page)' failed (evince:8367): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** (evince:8367): CRITICAL **: ev_page_cache_get_size: assertion `page >= 0 && page < page_cache->n_pages' failed (evince:8367): Poppler-CRITICAL **: PopplerPage* poppler_document_get_page(PopplerDocument*, int): assertion `0 <= index && index < poppler_document_get_n_pages (document)' failed ** (evince:8367): CRITICAL **: GdkPixbuf* pdf_document_thumbnails_get_thumbnail(EvDocumentThumbnails*, EvRenderContext*, gboolean): assertion `poppler_page != NULL' failed ** (evince:8367): CRITICAL **: ev_page_cache_get_thumbnail_size: assertion `page >= 0 && page < page_cache->n_pages' failed (evince:8367): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `pixbuf != NULL' failed (evince:8367): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `pixbuf != NULL' failed (evince:8367): GdkPixbuf-CRITICAL **: gdk_pixbuf_fill: assertion `GDK_IS_PIXBUF (pixbuf)' failed Erreur de segmentation" PDF File: http://launchpadlibrarian.net/15169148/bry02gentle.pdf "(gdb) bt full
+ Trace 200023
Thanks,
the reporter submitted a patch to the ubuntu report here: http://launchpadlibrarian.net/15262140/patch_v2.txt
See here for more details on the origin of the crash: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/238787
Created attachment 112814 [details] [review] The third version of the patch
Thank you very much for the patch. I've just fixed it using another approach, though.
*** Bug 539693 has been marked as a duplicate of this bug. ***
*** Bug 541252 has been marked as a duplicate of this bug. ***
*** Bug 543296 has been marked as a duplicate of this bug. ***
*** Bug 545474 has been marked as a duplicate of this bug. ***
*** Bug 555569 has been marked as a duplicate of this bug. ***
*** Bug 564835 has been marked as a duplicate of this bug. ***