The problem since to comes from the function ev_sidebar_thumbnails_set_loading_icon from ev-sidebar-thumbnails.c: The test g_return_if_fail (page >= 0 && page < page_cache->n_pages); of the function ev_page_cache_get_thumbnail_size fails; thus the width and the height are not set. The function ev_sidebar_thumbnails_set_loading_icon should check the validity of the height and width; if one of them is not valid, an error should occur.
I wrote a patch that checks if the height and the width have been set, before doing the next instructions; there is no more crash. A popup window should appear saying that the document is not valid. ** Attachment added: "a patch" http://launchpadlibrarian.net/15262046/patch_v1.txt -- evince crashes with seg fault using a bad pdf document https://bugs.launchpad.net/bugs/238787 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs