Bug 1202447 - [abrt] ghostscript-core: gx_default_copy_alpha(): gs killed by SIGSEGV
Summary: [abrt] ghostscript-core: gx_default_copy_alpha(): gs killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Kaspar // Dee'Kej
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bed171da0c0ed42de1540be48c4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-16 15:48 UTC by Marek Kašík
Modified: 2015-12-02 17:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-02 10:09:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (89.84 KB, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: cgroup (190 bytes, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: core_backtrace (5.09 KB, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: dso_list (4.50 KB, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: limits (1.29 KB, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: maps (27.72 KB, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: open_fds (278 bytes, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details
File: proc_pid_status (936 bytes, text/plain)
2015-03-16 15:48 UTC, Marek Kašík
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Ghostscript 695877 0 None None None Never

Description Marek Kašík 2015-03-16 15:48:45 UTC
Description of problem:
I've been debugging the bug https://bugzilla.redhat.com/show_bug.cgi?id=1175915. The crash happenned when I ran manually what libspectre calls itself when requesting render of given PostScript file.
I've narrowed minimal set of flags which causes the crash to "gs -sDEVICE=display -dGraphicsAlphaBits=4 -dDisplayFormat=2052 Antisym.eps".
I've got the "Antisym.eps" from https://bugzilla.redhat.com/attachment.cgi?id=970806 but the crash happens also for an ordinary PostScript file which I use for testing.

Version-Release number of selected component:
ghostscript-core-9.15-6.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        gs -sDEVICE=display -dGraphicsAlphaBits=4 -dDisplayFormat=2052 Antisym.eps
crash_function: gx_default_copy_alpha
executable:     /usr/bin/gs
kernel:         3.18.8-201.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            2019
var_log_messages: [System Logs]:\n-- Logs begin at Mon 2014-08-18 12:22:20 CEST, end at Mon 2015-03-16 16:37:54 CET. --

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 gx_default_copy_alpha at base/gdevdbit.c:441
 #1 abuf_flush_block at base/gdevabuf.c:231
 #2 y_transfer_next at base/gdevabuf.c:317
 #3 mem_abuf_fill_rectangle at base/gdevabuf.c:399
 #4 fill_slant_adjust at base/gxfill.c:1572
 #5 slant_into_trapezoids__fd at base/gxfillts.h:219
 #6 spot_into_trapezoids__aj_fd at base/gxfilltr.h:220
 #7 spot_into_trapezoids at base/gxfill.c:2190
 #8 gx_general_fill_path at base/gxfill.c:513
 #9 gx_default_fill_path at base/gxfill.c:675

Comment 1 Marek Kašík 2015-03-16 15:48:48 UTC
Created attachment 1002382 [details]
File: backtrace

Comment 2 Marek Kašík 2015-03-16 15:48:49 UTC
Created attachment 1002383 [details]
File: cgroup

Comment 3 Marek Kašík 2015-03-16 15:48:50 UTC
Created attachment 1002384 [details]
File: core_backtrace

Comment 4 Marek Kašík 2015-03-16 15:48:52 UTC
Created attachment 1002385 [details]
File: dso_list

Comment 5 Marek Kašík 2015-03-16 15:48:53 UTC
Created attachment 1002386 [details]
File: limits

Comment 6 Marek Kašík 2015-03-16 15:48:54 UTC
Created attachment 1002387 [details]
File: maps

Comment 7 Marek Kašík 2015-03-16 15:48:56 UTC
Created attachment 1002388 [details]
File: open_fds

Comment 8 Marek Kašík 2015-03-16 15:48:57 UTC
Created attachment 1002389 [details]
File: proc_pid_status

Comment 9 Joachim Frieben 2015-03-17 18:44:27 UTC
Another user experienced a similar problem:

I ran 'gs -sDEVICE=display -dGraphicsAlphaBits=4 -dDisplayFormat=2052 Antisym.eps'.

reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        gs -sDEVICE=display -dGraphicsAlphaBits=4 -dDisplayFormat=2052 Antisym.eps
crash_function: gx_default_copy_alpha
executable:     /usr/bin/gs
kernel:         3.19.1-200.fc21.x86_64
package:        ghostscript-core-9.15-6.fc21
reason:         gs killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1001

Comment 10 Tim Waugh 2015-03-19 16:43:19 UTC
This crashes ghostscript-8.70, ghostscript-9.05, ghostscript-9.14, and ghostscript-9.15 when compiled on F22.

What's weird is that ghostscript-9.14 on F21 works fine.

Comment 11 Tim Waugh 2015-03-19 16:57:20 UTC
I don't think this is actually causing bug #1175915, it's just an issue in ghostscript, not handling the 'display' device doing nothing when used from the command line.

Comment 12 Joachim Frieben 2015-03-19 18:33:31 UTC
(In reply to Tim Waugh from comment #11)
Correct, as pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1175915#c18 ghostscript works correctly when called without any additional option.

Comment 13 Fedora Admin XMLRPC Client 2015-04-22 11:00:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 14 Fedora Admin XMLRPC Client 2015-08-03 11:59:37 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 15 Fedora End Of Life 2015-11-04 10:57:35 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2015-12-02 10:09:33 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.