[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626122: [sparc] ghostscript: segfault using pdfwrite device



Package: ghostscript
Version: 9.02~dfsg-2
Severity: important
Justification: ftbfs

Hi,

A couple of months ago, altree failed[1] to build from source on sparc
due to a bus error.  That's been fixed and altree given back; alas,
now altree FTBFS[2] on sparc due to a segmentation fault.

This is not serious because altree:sparc is not in testing.

The relevant gs invocation looks like so:

 gs -q -dNOPAUSE -sAutoRotatePages=None \
	-dAutoFilterColorImages=false \
	-dColorImageFilter=/FlateEncode \
	-sDEVICE=pdfwrite \
	-dPDFSETTINGS=/prepress \
	-sOutputFile=fig/overview.pdftex \
	- -c quit

Afterwards, fig2dev dies with a double free or corruption (it is not
so graceful about gs failures --- see Bug#614538).

I suppose a next step might be (on any platform) to grab the ps file
that is fed to gs, and (on sparc) to grab a backtrace and start
investigating.

Thanks and hope that helps,
Jonathan

[1] http://bugs.debian.org/613642
[1] https://buildd.debian.org/status/fetch.php?pkg=altree&arch=sparc&ver=1.0.1-4&stamp=1304761037



Reply to: