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

Bug#338707: gs-gpl - .getdeviceparams gets called with broken types



Package: gs-gpl
Version: 8.15-4
Severity: grave

On Fri, Oct 28, 2005 at 03:44:38PM +0200, Gerhard Tonn wrote:
> I have again a misterious build problem on s390:
>  http://buildd.debian.org/fetch.php?&pkg=quagga&ver=0.99.1-7&arch=s390&stamp=1130456712&file=log&as=raw
> 
> 	epstopdf --outfile="fig-normal-processing.pdf" fig-normal-processing.eps
> 	Unrecoverable error: typecheck in .getdeviceparams
> 	Operand stack:
> 	    false  --nostringval--  InputAttributes  --nostringval--  0
> 	--nostringval--  PageSize  --nostringval--  -2048  --nostringval--
> 	--nostringval--
> 	make[1]: *** [fig-normal-processing.pdf] Broken pipe
> 	make[1]: *** Deleting file `fig-normal-processing.pdf'
> 
> As I had similar things before that were solved by new tetex-bin and
> libpng12-0 packages and a recompile and did not change any code between
> -6 and -7, I think it might be the same problem.
> 
> See bug #322821 and the following mailing list entry for reference:
>   http://lists.debian.org/debian-tetex-maint/2005/09/msg00161.html

Okay, the failing part is gs coming from gs-gpl.

.getdeviceparams gets called 8 times, 7 times with correct types, one
time with wrong.

I did some checks with recompiles of libpng and gs-gpl, nothing changed.
Now I decided to try again with gcc-3.4. Rebuild of libpng does not
change anything, rebuild of gs-gpl "fixed" the problem. Also it is
"fixed" by a rebuild with -O0 of gs-gpl.

Because of this, I think it is some sort of undefined behaviour in the
gs-gpl code or misscompilation.

The same problem applies to gs-esp.

Bastian

-- 
Intuition, however illogical, is recognized as a command prerogative.
		-- Kirk, "Obsession", stardate 3620.7

Attachment: signature.asc
Description: Digital signature


Reply to: