t/composite test fails, hangs in 6.3.6-8

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

t/composite test fails, hangs in 6.3.6-8

Post by mi »

Here is the xterm window-shot, that shows both the failure and the hang. The black composite rectangle is shown, and nothing else is happening -- the machine is idle. Don't remember seeing a hang like this before -- must be due to the "fixing" of the X11-related tests.

Image

Unsetting DISPLAY helps avoid the hang, but leads to a number of new failures:

Code: Select all

t/composite.......dubious                                                    
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 12-18
        Failed 7/18 tests, 61.11% okay
t/filter..........FAILED tests 16, 26, 31, 49, 57                            
        Failed 5/58 tests, 91.38% okay
t/fpx/read........ok                                                         
t/fpx/write.......ok                                                         
t/getattribute....ok                                                         
t/jbig/read.......ok                                                         
t/jbig/write......ok                                                         
t/jp2/read........ok                                                         
t/jpeg/read.......ok                                                         
t/jpeg/write......ok                                                         
t/montage.........FAILED tests 12-13                                         
        Failed 2/19 tests, 89.47% okay
t/png/read-16.....ok                                                         
t/png/read........ok                                                         
t/png/write-16....ok                                                         
t/png/write.......ok                                                         
t/read............ok                                                         
t/setattribute....ok                                                         
t/tiff/read.......dubious                                                    
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2-16
        Failed 15/16 tests, 6.25% okay
t/tiff/write......dubious                                                    
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/wmf/read........ok                                                         
t/wmf/read........ok                                                         
t/write...........ok                                                         
t/x11/read........ok                                                         
t/x11/write.......dubious                                                    
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/zlib/read.......ok
t/zlib/write......ok                                                         
Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/composite.t     1   256    18   13  12-18
t/filter.t                   58    5  16 26 31 49 57
t/montage.t                  19    2  12-13
t/tiff/read.t     1   256    16   30  2-16
t/tiff/write.t    1   256    10   19  1-10
t/x11/write.t     1   256     2    4  1-2
Failed 6/29 test scripts. 41/349 subtests failed.
Files=29, Tests=349, 16 wallclock secs (14.12 cusr +  1.88 csys = 16.00 CPU)
Failed 6/29 test programs. 41/349 subtests failed.
*** Error code 255
Please, advise.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Re: t/composite test fails, hangs in 6.3.6-8

Post by mi »

Ok, the actual failure of t/composite is, likely, due to the use of HDRI:

Code: Select all

Set(size=>"100x80") ...
Composite(, gravity=>'Center', compose=>'Minus') ...
  mean-error=1,57693614594659e+28, maximum-error=281479271743489
not ok 12
... hang (perl process is sitting in select) ...
But the hang remains unexplainable...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: t/composite test fails, hangs in 6.3.6-8

Post by magick »

We do not have a solution for the hang at this time. The HDRI PerlMagick tests complete for us with a number of expected failures due to HDRI not clamping pixels (a fix is in the works, not ETA just yet).
Post Reply