Bug 1175915

Summary: [abrt] evince: INT_cairo_surface_set_device_scale(): evince killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: evinceAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jfrieben, mkasik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e36dd8ac8317c72a522f6c22d211e9142374ec3b
Whiteboard: abrt_hash:397296ee2c181626aca7f81fb5a8770d6d373466
Fixed In Version: evince-3.15.90-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-23 14:45:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: Antisym.eps
none
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Joachim Frieben 2014-12-18 21:06:10 UTC
Description of problem:
Document viewer crashed after opened a certain PS file. 

Version-Release number of selected component:
evince-3.14.1-8.fc22

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        evince /home/frieben/Downloads/1412.5347v1/Figures/Antisym.eps
crash_function: INT_cairo_surface_set_device_scale
executable:     /usr/bin/evince
kernel:         3.18.1-1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (8 frames)
 #0 INT_cairo_surface_set_device_scale at cairo-surface.c:1686
 #1 set_device_scale_on_surface at ev-pixbuf-cache.c:273
 #2 copy_job_to_job_info at ev-pixbuf-cache.c:288
 #3 job_finished_cb at ev-pixbuf-cache.c:340
 #4 _g_closure_invoke_va at gclosure.c:831
 #7 emit_finished at ev-jobs.c:180
 #11 g_main_context_iteration at gmain.c:3869
 #12 g_application_run at gapplication.c:2290

Comment 1 Joachim Frieben 2014-12-18 21:06:18 UTC
Created attachment 970806 [details]
File: Antisym.eps

Comment 2 Joachim Frieben 2014-12-18 21:06:20 UTC
Created attachment 970807 [details]
File: backtrace

Comment 3 Joachim Frieben 2014-12-18 21:06:21 UTC
Created attachment 970808 [details]
File: cgroup

Comment 4 Joachim Frieben 2014-12-18 21:06:23 UTC
Created attachment 970809 [details]
File: core_backtrace

Comment 5 Joachim Frieben 2014-12-18 21:06:24 UTC
Created attachment 970810 [details]
File: dso_list

Comment 6 Joachim Frieben 2014-12-18 21:06:26 UTC
Created attachment 970811 [details]
File: environ

Comment 7 Joachim Frieben 2014-12-18 21:06:27 UTC
Created attachment 970812 [details]
File: exploitable

Comment 8 Joachim Frieben 2014-12-18 21:06:28 UTC
Created attachment 970813 [details]
File: limits

Comment 9 Joachim Frieben 2014-12-18 21:06:30 UTC
Created attachment 970814 [details]
File: maps

Comment 10 Joachim Frieben 2014-12-18 21:06:31 UTC
Created attachment 970815 [details]
File: open_fds

Comment 11 Joachim Frieben 2014-12-18 21:06:33 UTC
Created attachment 970816 [details]
File: proc_pid_status

Comment 12 Joachim Frieben 2014-12-18 21:06:34 UTC
Created attachment 970817 [details]
File: var_log_messages

Comment 13 Joachim Frieben 2014-12-19 18:28:25 UTC
Correct behaviour on a system with a fully updated Fedora 21.

Comment 14 Marek Kašík 2015-02-11 11:28:52 UTC
This is the same bug as the Fedora 21's #1187182. See https://bugzilla.redhat.com/show_bug.cgi?id=1187182#c12 for details.

Comment 15 Joachim Frieben 2015-03-01 10:00:08 UTC
As of evince-3.15.90-1.fc22, the document viewer does not crash any longer when the sample PS file is loaded. Instead, it now simply displays an empty white rectangle. The same behaviour applies to Fedora 21 which used to behave correctly before.

Comment 16 Jaroslav Reznik 2015-03-03 16:38:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 17 Marek Kašík 2015-03-17 13:27:33 UTC
I've tried to render the file using 'gs' but it SIGSEGVs. I've filled an abrt bug for it here: https://bugzilla.redhat.com/show_bug.cgi?id=1202447.

Comment 18 Joachim Frieben 2015-03-17 17:33:13 UTC
Both of current Fedora 21 and Fedora 22 show the PS file correctly when using ghostscript without additional options. In both cases, however, evince merely displays a white rectangle.

Comment 19 Marek Kašík 2015-03-23 14:45:17 UTC
I've pushed a fix for this to F22.