pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29798: graphics/jhead producing segmentation fault on certain JPEG files
>Number: 29798
>Category: pkg
>Synopsis: graphics/jhead producing segmentation fault on certain JPEG
>files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 27 11:11:00 +0000 2005
>Originator: Arto Selonen
>Release: NetBSD-current 2.99.15 ~20050211
>Organization:
>Environment:
NetBSD blah 2.99.15 NetBSD 2.99.15 (BLAH) #19: Fri Feb 11 22:32:52 EET 2005
blah@blah:/fs/cvs/obj/i386/src/sys/arch/i386/compile/BLAH i386
>Description:
Running:
> jhead exif-test.jpg
Segmentation fault
This is jhead 2.3 from pkgsrc/graphics (from anoncvs a few days ago).
I've also run the same test on another 2.99.x i386 box with same
results. I've also testet latest jhead (2.37) with same results.
I've also tried this on a Mandrake 10.0 Linux + jhead 2.37 with
same results.
However, a friend reports that on his OS X jhead 2.3-2 is working
OK. I then chose to test jhead 2.37 on Tru64 5.1A with their
compiler and libraries. Works OK. Here is the output:
% ./jhead-2.37/jhead exif-test.jpg
Nonfatal Error : 'exif-test.jpg' Illegal subdirectory link
File name : exif-test.jpg
File size : 161659 bytes
File date : 2005:03:27 13:43:17
Camera make : Canon
Camera model : Canon EOS 20D
Date/Time : 2005:03:26 12:03:47
Resolution : 1024 x 681
Flash used : Yes (manual)
Focal length : 17.0mm (35mm equivalent: 20mm)
CCD width : 30.84mm
Exposure time: 0.020 s (1/50)
Aperture : f/5.6
ISO equiv. : 400
Whitebalance : Auto
Metering Mode: matrix
Exposure : shutter priority (semi-auto)
I have no idea whether this is a bug in jhead code, or whether a corner
case triggers a bug in the compiler or some libraries. I have to leave
debugging this to others. I will also forward a copy of this to jhead
author (once I get the GNATS mail, as I'm doing this over the web form).
I've made the exif-test.jpg (158k) available at:
http://www.selonen.org/arto/images/exif-test.jpg
The test image was produced by Capture One Pro 3.6 Win (in case this
is a problem with the original JPEG). See http://www.phaseone.com/
>How-To-Repeat:
Compile jhead on recent Linux or NetBSD and run 'jhead exif-test.jpg';
observe segmentation fault. Compile same jhead version the same way
on OS X or Tru64 and observe correct results.
>Fix:
Home |
Main Index |
Thread Index |
Old Index