Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 41219
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: bgp4 [...] rambler.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 7.60



Subject: Endless loop on some files
On some files ExtractInfo eats CPU in endless loop. Test case in attach. $ perl -v This is perl, v5.8.8 built for i386-freebsd-64int $ uname -srp FreeBSD 6.3-RELEASE-p2 i386 Image::ExifTool version - 7.51
Subject: ttt5.pl
#!/usr/bin/perl use strict; use warnings; use Image::ExifTool; my $data_ref = read_file('x_7171d725.jpg'); my $exifTool = new Image::ExifTool; $exifTool->ExtractInfo( $data_ref, { FastScan => 1 } ); sub read_file { my ($file) = @_; open(IN, $file) or die "Can't open $file: $!"; local $/; my $content = <IN>; close IN; return \$content; }
Subject: x_7171d725.jpg
Download x_7171d725.jpg
image/jpeg 1.8k
x_7171d725.jpg
Thank you for this very complete bug report. I can reproduce this problem on my system. This bug will be fixed in ExifTool 7.54 when it is released. - Phil
I have just released the Perl and Mac versions of 7.54, which should solve this problem. Thanks again for the bug report. - Phil