tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC

Albert Chin <[email protected]>
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
We've tested ImageMagick 6.2.9 on HP-UX 10.20, 11.00, 11.11,
11.23/PA-RISC, and 11.23/IA-64. Works fine on 11.23/IA-64 but .ps
files seem to be generated incorrectly on any version of
HP-UX/PA-RISC. Odd that this is limited to PA-RISC.

I created a wrapper around the `gs' binary to pause at every
invocation so I can inspect the input files being sent to it.

$ cd /opt/build/ImageMagick-6.2.9
$ PATH=/tmp:$PATH gmake TESTS=tests/rwblob_EPT_bilevel.sh check
...
gmake[1]: Entering directory `/opt/build/ImageMagick-6.2.9'
/opt/build/ImageMagick-6.2.9/tests/.libs/rwblob /opt/build/ImageMagick-6.2.9/tests/input_bilevel.miff EPT 
gs -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop -sDEVICE=psdrgb -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -g70x46 -r72x72 -sOutputFile=/var/tmp/magick-e0002013 -f/var/tmp/magick-d0002013 -f/var/tmp/magick-c0002013
Error: /stackunderflow in --eq--
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1139/1686(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--
Current allocation mode is local
Current file position is 3
GPL Ghostscript 8.54: Unrecoverable error, exit code 1

$ ls -ld /var/tmp/magick-d0002013 /var/tmp/magick-c0002013  
lrwxrwxr-x   1 china      china           24 Feb  8 12:40 /var/tmp/magick-c0002013 -> /var/tmp/magick-b0002013
-rw-------   1 china      china          114 Feb  8 12:40 /var/tmp/magick-d0002013
$ ls -ld /var/tmp/magick-b0002013 /var/tmp/magick-d0002013
-rw-------   1 china      china         6593 Feb  8 12:40 /var/tmp/magick-b0002013
-rw-------   1 china      china          114 Feb  8 12:40 /var/tmp/magick-d0002013

I've attached a copy of /var/tmp/magick-b0002013 and
/var/tmp/magick-d0002013. The file corruption occurs in
/var/tmp/magick-b0002013.

I've tried building with both the HP-UX C compiler and GCC 3.4.3. Both
exhibit the same result. Any clues on where I can start debugging?

-- 
albert chin ([email protected])

_______________________________________________
Magick-developers mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-developers
magick-b0002013 (text/plain, 6.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.