Skip Menu |
 

This queue is for tickets about the Graphics-TIFF CPAN distribution.

Report information
The Basics
Id: 122933
Status: open
Priority: 0/
Queue: Graphics-TIFF

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 6
Fixed in: (no value)



Subject: t/1.t test crashes with ImageMagick 7.0.6.9
Download (untitled) / with headers
text/plain 1.2k
After upgrading ImageMagick from 6.9.9.3 to 7.0.6.9 I experience this crash in t/1.t test: $ 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's Perl binding, but the ReadEXIFDirectory() method is a binding to LibTFF's TIFFReadEXIFDirectory() function. I have libtiff-4.0.8. I'm not sure where the problem is.
Subject: Re: [rt.cpan.org #122933] t/1.t test crashes with ImageMagick 7.0.6.9
Date: Thu, 19 Oct 2017 21:47:06 +0200
To: bug-Graphics-TIFF [...] rt.cpan.org
From: Jeff <jffry [...] posteo.net>
Subject: Re: [rt.cpan.org #122933] t/1.t test crashes with ImageMagick 7.0.6.9
To: bug-Graphics-TIFF [...] rt.cpan.org
From: Jeff <jffry [...] posteo.net>
Download (untitled) / with headers
text/plain 962b
Sorry for the delay. On 31/08/17 15:27, Petr Pisar via RT wrote: Show quoted text
> After upgrading ImageMagick from 6.9.9.3 to 7.0.6.9 I experience this crash in t/1.t test:
Show quoted text
> ok 8 - ReadDirectory > perl: MagickCore/exception.c:1034: ThrowMagickExceptionList: Assertion `exception->signature == MagickCoreSignature' failed. > Aborted (core dumped) > > It crashes in ReadEXIFDirectory() method call:
Show quoted text
> ā†’ is( $tif->ReadEXIFDirectory(0), 0, 'ReadEXIFDirectory' );
Show quoted text
> The assert comes from ImageMagick's Perl binding, but the ReadEXIFDirectory() method is a binding to LibTFF's TIFFReadEXIFDirectory() function. I have libtiff-4.0.8. > > I'm not sure where the problem is.
IM v7 hasn't made it to my development machines yet. I'll look at this when it does. Alternatively - if you could provide me with the smallest possible test.tif that reproduces the problem - e.g. density 1x1, then I can build it into the tests as uu or base64 encoded and then try to fix the bug.
Download signature.asc
application/pgp-signature 833b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #122933] t/1.t test crashes with ImageMagick 7.0.6.9
Date: Thu, 2 Nov 2017 14:56:31 +0100
To: Jeffrey Ratcliffe via RT <bug-Graphics-TIFF [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
Download (untitled) / with headers
text/plain 576b
On Thu, Oct 19, 2017 at 03:47:41PM -0400, Jeffrey Ratcliffe via RT wrote: Show quoted text
> IM v7 hasn't made it to my development machines yet. > > I'll look at this when it does. Alternatively - if you could provide me > with the smallest possible test.tif that reproduces the problem - e.g. > density 1x1, then I can build it into the tests as uu or base64 encoded > and then try to fix the bug. >
No hurry. The IM v7 upgrade was reverted to v6 in Fedora 28 because of many regressions in depending packages. Thus I have not available it now and I cannot provide you the image. -- Petr
Download signature.asc
application/pgp-signature 228b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.