Bug 689888

Summary: hang with -dDOINTERPOLATE
Product: Ghostscript Reporter: Ralph Giles <ralph.giles>
Component: ImagesAssignee: Michael Vrhel <michael.vrhel>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Ralph Giles 2008-06-09 12:22:21 UTC
Ghostscript appears to hang processing tests/ps/imagemask-with-pattern.ps with
-dDOINTERPOLATE and -r600. It's not clear if it's an actual hang, or just taking
forever. Michael says it never leaves s_imscale_process.

This command line completes on my machine (x86_64) in 1.2 seconds:

bin/gs -Ilib -sDEVICE=ppmraw -o foo.ppm -r600 ../tests/ps/imagemask-with-pattern.ps 

This command line completes on the same machine in 715 seconds:

bin/gs -Ilib -sDEVICE=ppmraw -o bar.ppm -r600 -dDOINTERPOLATE
../tests/ps/imagemask-with-pattern.ps

This command hasn't completed on a 'green' cluster node after 7500 seconds:

./bin/gs -q -I$HOME/fonts -dQUIET -dSAFER -dNOPAUSE -dBATCH -K1000000
-dMaxBitmap=30000000 -dDOINTERPOLATE -sDEVICE=ppmraw -r600
-sOutputFile="|md5sum>/tmp/imagemask-with-pattern.ps.md5" -dJOBSERVER - <
/b/02/atfxsw01/tests_public/ps/imagemask-with-pattern.ps
Comment 1 Ralph Giles 2008-06-09 12:23:32 UTC
Passing to Michael, who is investigating as part of his source-space
interpolation work.
Comment 2 Michael Vrhel 2008-06-10 19:53:40 UTC
The hang is fixed r8794.  A related bug to this issue has been logged. bug 689889.