https://bugzilla.redhat.com/show_bug.cgi?id=1487209

Petr Pisar <ppi...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #1 from Petr Pisar <ppi...@redhat.com> ---
The failure is:

$ perl -Iblib/{lib,arch} t/1.t 
1..43
ok 1 - use Graphics::TIFF;
ok 2 - version string
ok 3 - version
ok 4 - IsCODECConfigured
ok 5 - FileName
ok 6 - An object of class 'Graphics::TIFF' isa 'Graphics::TIFF'
ok 7 - Graphics::TIFF->can(...)
ok 8 - ReadDirectory
perl: MagickCore/exception.c:1034: ThrowMagickExceptionList: Assertion
`exception->signature == MagickCoreSignature' failed.
Aborted (core dumped)

It crashes in ReadEXIFDirectory() method call:

SKIP: {
    skip 'Image::Magick not installed', 36 if $@;

    my $image = Image::Magick->new;
    $image->Read('rose:');
    $image->Set( density => '72x72' );
    $image->Write('test.tif');

    my $tif = Graphics::TIFF->Open( 'test.tif', 'r' );
    is( $tif->FileName, 'test.tif', 'FileName' );
    isa_ok $tif, 'Graphics::TIFF';
    can_ok $tif, qw(Close ReadDirectory GetField);

    is( $tif->ReadDirectory, 0, 'ReadDirectory' );

→   is( $tif->ReadEXIFDirectory(0), 0, 'ReadEXIFDirectory' );
    [...]
}

The assert comes from ImageMagick-perl package, but the ReadEXIFDirectory()
method is a binding to LibTFF's TIFFReadEXIFDirectory() function.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to