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 740958 - Crash on corrupt file
Crash on corrupt file
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PS
3.14.x
Other Linux
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-01 09:58 UTC by Eugen Dedu
Modified: 2018-05-22 15:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A graph triggering the crash (21.73 KB, application/ps)
2014-12-01 09:58 UTC, Eugen Dedu
Details
gdb stack, see Thread 1 (2.43 KB, application/ps)
2014-12-01 11:29 UTC, Eugen Dedu
Details

Description Eugen Dedu 2014-12-01 09:58:50 UTC
Created attachment 291870 [details]
A graph triggering the crash

Hi,

Evince always crashes when I open the document attached (the file is corrupt it seems, by the way).

Kind regards,
Eugen
Comment 1 José Aliste 2014-12-01 11:25:43 UTC
could you provide a stacktrace? I don't get the file to crash evince.
Comment 2 Eugen Dedu 2014-12-01 11:29:52 UTC
Created attachment 291879 [details]
gdb stack, see Thread 1
Comment 3 José Aliste 2014-12-01 11:42:01 UTC
Reading symbols from evince...Reading symbols from /usr/lib/debug//usr/bin/evince...done.
done.
(gdb) r
Starting program: /usr/bin/evince ../Courbe_Ce.eps
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffedd61700 (LWP 1947)]
[New Thread 0x7fffed560700 (LWP 1948)]
[New Thread 0x7fffecd5f700 (LWP 1949)]
[New Thread 0x7fffdffff700 (LWP 1950)]
[New Thread 0x7fffdf6ec700 (LWP 1951)]
typecheck -20
[New Thread 0x7fffd506d700 (LWP 1952)]
[New Thread 0x7fffd486c700 (LWP 1953)]
[New Thread 0x7fffcffff700 (LWP 1954)]
[New Thread 0x7fffcf7fe700 (LWP 1955)]
[New Thread 0x7fffceffd700 (LWP 1956)]
[New Thread 0x7fffce7fc700 (LWP 1957)]
[New Thread 0x7fffcdffb700 (LWP 1958)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5ede490 in cairo_surface_set_device_scale () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fb8980 (LWP 1941))

  • #0 cairo_surface_set_device_scale
    from /usr/lib/x86_64-linux-gnu/libcairo.so.2
  • #1 set_device_scale_on_surface
    at /tmp/buildd/evince-3.14.1/./libview/ev-pixbuf-cache.c line 273
  • #2 copy_job_to_job_info
    at /tmp/buildd/evince-3.14.1/./libview/ev-pixbuf-cache.c line 288
  • #3 job_finished_cb
    at /tmp/buildd/evince-3.14.1/./libview/ev-pixbuf-cache.c line 340
  • #4 _g_closure_invoke_va
    at /tmp/buildd/glib2.0-2.42.1/./gobject/gclosure.c line 831
  • #5 g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.42.1/./gobject/gsignal.c line 3218
  • #6 g_signal_emit
    at /tmp/buildd/glib2.0-2.42.1/./gobject/gsignal.c line 3365
  • #7 emit_finished
    at /tmp/buildd/evince-3.14.1/./libview/ev-jobs.c line 180
  • #8 g_main_dispatch
    at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c line 3111
  • #9 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c line 3710
  • #10 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c line 3781
  • #11 g_main_context_iteration
    at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c line 3842
  • #12 g_application_run
    at /tmp/buildd/glib2.0-2.42.1/./gio/gapplication.c line 2282
  • #13 main
    at /tmp/buildd/evince-3.14.1/./shell/main.c line 316
A debugging session is active.

	Inferior 1 [process 1941] will be killed.

Quit anyway? (y or n)
Comment 4 GNOME Infrastructure Team 2018-05-22 15:59:07 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/530.