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 740331 - blank thumbnails for some pages in PS file
blank thumbnails for some pages in PS file
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PS
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-18 16:54 UTC by Laurent Bonnaud
Modified: 2018-05-22 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File to reproduce the crash (278.95 KB, application/postscript)
2014-11-18 16:55 UTC, Laurent Bonnaud
Details

Description Laurent Bonnaud 2014-11-18 16:54:47 UTC
Hi,

to reproduce this bug:

 - load the attached PS file into evince
 - if thumbnails are not displayed press F9 and choose to display thumbnails
 - wait for the crash

This bug exists in several distributions:
 - Ubuntu + GNOME PPA
 - Debian sid+experimental

in evince 3.14.1.

Here is a backtrace:

  • #0 cairo_surface_set_device_scale
    from /usr/lib/x86_64-linux-gnu/libcairo.so.2
  • #1 thumbnail_job_completed_callback
    at /build/buildd/evince-3.14.1/./shell/ev-sidebar-thumbnails.c line 941
  • #2 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.42.1/./gobject/gclosure.c line 831
  • #3 g_signal_emit_valist
    at /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c line 3218
  • #4 g_signal_emit
    at /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c line 3365
  • #5 emit_finished
    at /build/buildd/evince-3.14.1/./libview/ev-jobs.c line 180
  • #6 g_main_dispatch
    at /build/buildd/glib2.0-2.42.1/./glib/gmain.c line 3111
  • #7 g_main_context_dispatch
    at /build/buildd/glib2.0-2.42.1/./glib/gmain.c line 3710
  • #8 g_main_context_iterate
    at /build/buildd/glib2.0-2.42.1/./glib/gmain.c line 3781
  • #9 g_main_context_iteration
    at /build/buildd/glib2.0-2.42.1/./glib/gmain.c line 3842
  • #10 g_application_run
    at /build/buildd/glib2.0-2.42.1/./gio/gapplication.c line 2282
  • #11 main
    at /build/buildd/evince-3.14.1/./shell/main.c line 325

Comment 1 Laurent Bonnaud 2014-11-18 16:55:40 UTC
Created attachment 290931 [details]
File to reproduce the crash
Comment 2 José Aliste 2014-11-18 16:57:08 UTC
Indeed, thinks it happens when rendering page 6
Comment 3 José Aliste 2014-11-18 17:04:34 UTC
for some reason the thumbnail_surface is a NULL pointer, thus the crash
Comment 4 Laurent Bonnaud 2015-04-28 18:06:38 UTC
This bug still exists in evince 3.16.0 in this Ubuntu (PPA) package:

Package: evince
Version: 3.16.0-0ubuntu1~vivid1
Comment 5 Laurent Bonnaud 2015-10-02 13:49:53 UTC
This bug still exists in Ubuntu 15.10 in this package version:

Package: evince
Version: 3.16.1-0ubuntu1
Comment 6 Laurent Bonnaud 2015-10-02 13:52:28 UTC
It also still exists in Debian sid in this package version:

Package: evince
Version: 3.18.0-1
Comment 7 José Aliste 2015-10-02 18:35:05 UTC
Normally the patches from https://bugzilla.gnome.org/show_bug.cgi?id=744586

should fix this bug.
Comment 8 Laurent Bonnaud 2015-10-02 18:39:46 UTC
Great!  I am looking forward to an evince version with this patch included...
Comment 9 Germán Poo-Caamaño 2015-10-16 17:32:11 UTC
May you check if you still can reproduce the issue?
Comment 10 Laurent Bonnaud 2015-11-24 09:01:54 UTC
I tested with this package version:

Package: evince
Version: 3.18.2-1ubuntu1~wily1

and it no longer crashes.  However, the thumbnails for pages 6 and 7 remain blank.  With the same file okular is able to display correct thumbnails.
Comment 11 Germán Poo-Caamaño 2015-11-24 09:22:00 UTC
In console I get:

undefinedresult -23

That is not from Evince, it should come from libspectre.
Comment 12 Laurent Bonnaud 2016-06-29 17:25:54 UTC
Still no thumbnails for pages 5 and 6 in this evince version:

Package: evince
Version: 3.20.0-3ubuntu1~xenial1
Comment 13 Laurent Bonnaud 2017-03-01 15:50:07 UTC
Still no thumbnails for pages 5 and 6 in this evince version:

Package: evince
Version: 3.22.0-0ubuntu1
Comment 14 GNOME Infrastructure Team 2018-05-22 15:57:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/525.