Skip Menu |

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

Report information
The Basics
Id: 2327
Status: resolved
Priority: 0/
Queue: Image-Info

People
Owner: Nobody in particular
Requestors: jstearns [...] yahoo-inc.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.12
Fixed in: 1.13



Subject: Core dump for attached jpg
On Freebsd 4.3,4.8 (both failed) Perl 5.6.1 Package Image::Info 1.12 Running a simple script: #!/usr/bin/perl -w use strict; use Image::Info qw(image_info); my $filename="/tmp/1.jpg"; image_info($filename); Core dumps attached binary image Signal SEGV at /lib/perl5/site_perl/5.6.1/Image/Info/JPEG.pm line 266 Image::Info::JPEG::process_app1_exif('Image::Info::Result=ARRAY(0x8221724)', '^@MM^@*^@^@^@^H^@^G^A^R^@^C^@^@^@^A^@^A^@^@^A^Z^@^E^@^@^@^A^@^@^@b^A^[^@^E^@^@^@^A^@^@^@j^A(^@^C^@^@^@^A^@^B^@^@^A1^@^B^@...') called at /lib/perl5/site_perl/5.6.1/Image/Info/JPEG.pm line 176 Image::Info::JPEG::process_app('Image::Info::Result=ARRAY(0x8221724)', 225, 'Exif^@^@MM^@*^@^@^@^H^@^G^A^R^@^C^@^@^@^A^@^A^@^@^A^Z^@^E^@^@^@^A^@^@^@b^A^[^@^E^@^@^@^A^@^@^@j^A(^@^C^@^@^@^A^@^B^@^@...') called at /lib/perl5/site_perl/5.6.1/Image/Info/JPEG.pm line 113 Image::Info::JPEG::process_chunk('Image::Info::Result=ARRAY(0x8221724)', 0, 225, 'Exif^@^@MM^@*^@^@^@^H^@^G^A^R^@^C^@^@^@^A^@^A^@^@^A^Z^@^E^@^@^@^A^@^@^@b^A^[^@^E^@^@^@^A^@^@^@j^A(^@^C^@^@^@^A^@^B^@^@...') called at /lib/perl5/site_perl/5.6.1/Image/Info/JPEG.pm line 100 Image::Info::JPEG::_process_file('Image::Info::Result=ARRAY(0x8221724)', 'GLOB(0x822e824)', 0) called at /lib/perl5/site_perl/5.6.1/Image/Info/JPEG.pm line 82 Image::Info::JPEG::process_file('Image::Info::Result=ARRAY(0x8221724)', 'GLOB(0x822e824)', 'HASH(0x81644c0)') called at /lib/perl5/site_perl/5.6.1/Image/Info.pm line 65 eval {...} called at /lib/perl5/site_perl/5.6.1/Image/Info.pm line 58 Image::Info::image_info('/tmp/1.jpg') called at test.pl line 7
Download 1.jpg
image/pjpeg 38k
1.jpg