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

Re: bus error in ps2pdf



Hi,

Stéphane Glondu wrote:

> ocaml-melt currently FTBFS on sparc [1] because of a bus error
> provoked by ps2pdf. The bus error is easily reproduced by running
> ps2pdf on the file available at [2]. This bug is not present with the
> previous version, 8.71~dfsg2-10.

Thanks for reporting it.  If anyone has time on a sparc, what might be
useful is

	apt-get build-dep ghostscript

	git clone git://git.ghostscript.com/ghostscript.git
	cd ghostscript/gs
	# configure to minimize features (hopefully speeding up build)
	./autogen.sh -C \
		--disable-fontconfig \
		--disable-freetype --disable-cups --disable-gtk \
		--enable-dynamic --with-system-libtiff \
		--without-ijs --without-jbig2dec --without-jasper
	make

	# [2]
	lib/ps2pdfwr /path/to/doc.ps

	git show -s HEAD

If that reproduces the error, it could be reported at
http://bugs.ghostscript.com and I'd be glad to hear about it.

	git bisect start
	git bisect bad HEAD
	git bisect good ghostscript-8.71

can guide through the bisection process afterwards to find the bad
patch (which is hopefully an underalignment problem or similar).

Any takers?
Jonathan

> [1] https://buildd.debian.org/fetch.cgi?pkg=ocaml-melt&arch=sparc&ver=1.3.0-2&stamp=1297644449&file=log&as=raw
> [2] http://glondu.net/tmp/doc.ps


Reply to: