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 754481 - evince: g_type_check_instance_is_a(): evince killed by SIGSEGV
evince: g_type_check_instance_is_a(): evince killed by SIGSEGV
Status: RESOLVED DUPLICATE of bug 735744
Product: evince
Classification: Core
Component: general
3.16.x
Other Linux
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-02 16:48 UTC by Michael Catanzaro
Modified: 2015-10-16 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2015-09-02 16:48:07 UTC
I discovered we have a downstream patch in Fedora to avoid [1]. I don't think it's been reported upstream; sorry about that.

diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c
index 7805219..c871ff9 100644
--- a/libview/ev-view-accessible.c
+++ b/libview/ev-view-accessible.c
@@ -578,7 +578,7 @@ ev_view_accessible_set_page_range (EvViewAccessible *accessible,
 	g_return_if_fail (EV_IS_VIEW_ACCESSIBLE (accessible));
 
 	for (i = accessible->priv->start_page; i <= accessible->priv->end_page; i++) {
-		if (i < start || i > end) {
+		if ((i < start || i > end) && i < ev_view_accessible_get_n_pages (accessible)) {
 			page = g_ptr_array_index (accessible->priv->children, i);
 			atk_object_notify_state_change (page, ATK_STATE_SHOWING, FALSE);
 		}

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1203277
Comment 1 Germán Poo-Caamaño 2015-10-16 16:53:57 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 735744 ***