Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#563670: jhead: Illegal subdirectory link in Exif header

65 views
Skip to first unread message

Singer Michael

unread,
Jan 4, 2010, 9:10:03 AM1/4/10
to
Package: jhead
Version: 1:2.88-2
Severity: normal

Hi,
When viewing the EXIF data of a photograph is the following error. What does this error message?
How can I avoid this error? Is this a bug or a defective EXIF header?

Regards
Michael Singer

Command output:
# jhead BILD1623.JPG
Nonfatal Error : 'BILD1623.JPG' Illegal subdirectory link in Exif header
File name : BILD1623.JPG
File size : 2088555 bytes
File date : 2009:11:17 16:56:12
Camera make : Supra
Camera model : DC-XZ6
Date/Time : 2009:11:17 16:56:12
Resolution : 2816 x 2112
Flash used : Yes
Exposure time: 0.020 s (1/50)
Aperture : f/2.8
ISO equiv. : 64
Whitebalance : Auto
Metering Mode: center weight
Exposure : program (auto)
Focus range : close

# apt-cache policy jhead
jhead:
Installiert: 1:2.88-2
Kandidat: 1:2.88-2
Versions-Tabelle:
*** 1:2.88-2 0
500 http://ftp.debian.org sid/main Packages
100 /var/lib/dpkg/status

-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2.slh.4-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jhead depends on:
ii libc6 2.10.2-3 Embedded GNU C Library: Shared lib
ii libjpeg-progs 7-1 Programs for manipulating JPEG fil

jhead recommends no packages.

jhead suggests no packages.

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Ludovic Rousseau

unread,
Jan 4, 2010, 9:20:02 AM1/4/10
to
2010/1/4 Singer Michael <in...@sinweb.de>:

> Hi,
> When viewing the EXIF data of a photograph is the following error. What does this error message?
> How can I avoid this error? Is this a bug or a defective EXIF header?

Yes, it looks like a defective EXIF header. Or a bug in jhead :-)

Please attach the BILD1623.JPG file (or another file with the same
problem) so I can reproduce the problem and send it to the upstream
author.

Bye

--
Dr. Ludovic Rousseau

Ludovic Rousseau

unread,
Jan 4, 2010, 11:00:02 AM1/4/10
to
2010/1/4 Singer, Michael <in...@sinweb.de>:
> Here is another photo of the prints the same mistake.
> I already had a lot of photos with the same camera with which this error does
> not occur.
>
> Bye
> Michael Singer
>
> $ jhead BILD1596.JPG
>
> Nonfatal Error : 'BILD1596.JPG' Illegal subdirectory link in Exif header
> File name    : BILD1596.JPG
> File size    : 1763773 bytes
> File date    : 2009:11:17 16:34:33

> Camera make  : Supra
> Camera model : DC-XZ6
> Date/Time    : 2009:11:17 16:34:33

> Resolution   : 2816 x 2112
> Flash used   : Yes
> Exposure time: 0.020 s  (1/50)
> Aperture     : f/2.8
> ISO equiv.   : 64
> Whitebalance : Auto
> Metering Mode: center weight
> Exposure     : program (auto)
> Focus range  : close

It looks like the EXIF data is corruped/bogus.

Using another EXIF parser (exifprobe) I have a error reported:

$ exifprobe -Ma BILD1596.JPG
File Name = BILD1596.JPG
File Type = JPEG
File Size = 1763773
@000000000=0 : <JPEG_SOI>
@0x0000002=2 : <JPEG_APP1> 0xffe1 length 18302, 'Exif'
@0x000000c=12 : TIFF(II=0x4949) magic=0x002a='*\0' ifd
offset = 8 (+ 12 = 0x14/20)
@0x0000014=20 : <IFD 0> 11 entries starting at file offset 0x16=22
@0x0000016=22 : <0x010e= 270> ImageDescription
[2 =ASCII 20] = @0x9e=158
@0x0000022=34 : <0x010f= 271> Make
[2 =ASCII 6] = @0xb2=178
@0x000002e=46 : <0x0110= 272> Model
[2 =ASCII 7] = @0xca=202
@0x000003a=58 : <0x0112= 274> Orientation
[3 =SHORT 1] = 1 = '0,0 is top left'
@0x0000046=70 : <0x011a= 282> XResolution
[5 =RATIONAL 1] = @0xda=218
@0x0000052=82 : <0x011b= 283> YResolution
[5 =RATIONAL 1] = @0xe2=226
@0x000005e=94 : <0x0128= 296> ResolutionUnit
[3 =SHORT 1] = 2 = 'pixels per inch'
@0x000006a=106 : <0x0131= 305> Software
[2 =ASCII 13] = @0xea=234
@0x0000076=118 : <0x0132= 306> DateTime
[2 =ASCII 20] = @0x102=258
@0x0000082=130 : <0x0213= 531> YCbCrPositioning
[3 =SHORT 1] = 2 = 'co-sited'
@0x000008e=142 : <0x8769=34665> ExifIFDPointer
[4 =LONG 1] = @0x116=278
@0x000009a=154 : **** next IFD offset 1038(+ 12 = 0x41a/1050)
@0x000009e=158 : ============= VALUES, IFD 0 ============
@0x000009e=158 : ImageDescription = 'Digital
StillCamera\0'
@0x00000b2=178 : Make = 'Supra\0'
@0x00000ca=202 : Model = 'DC-XZ6\0'
@0x00000da=218 : XResolution = 72
@0x00000e2=226 : YResolution = 72
@0x00000ea=234 : Software = 'Ver 1.01 SG \0'
@0x0000102=258 : DateTime = '2009:11:17
16:34:33\0'
@0x0000116=278 : <EXIF IFD> (in IFD 0) 34 entries starting
at file offset 0x118=280
@0x0000118=280 : <0x829a=33434> ExposureTime
[5 =RATIONAL 1] = @0x2b4=692
@0x0000124=292 : <0x829d=33437> FNumber
[5 =RATIONAL 1] = @0x2bc=700
@0x0000130=304 : <0x8822=34850> ExposureProgram
[3 =SHORT 1] = 2 = 'Normal'
@0x000013c=316 : <0x8827=34855> ISOSpeedRatings
[3 =SHORT 1] = 64
@0x0000148=328 : <0x9000=36864> Version
[7 =UNDEFINED 4] = '0220'
@0x0000154=340 : <0x9003=36867> DateTimeOriginal
[2 =ASCII 20] = @0x2c4=708
@0x0000160=352 : <0x9004=36868> DateTimeDigitized
[2 =ASCII 20] = @0x2d8=728
@0x000016c=364 : <0x9101=37121> ComponentsConfiguration
[7 =UNDEFINED 4] = 1,2,3,0 = 'YCbCr'
@0x0000178=376 : <0x9201=37377> ShutterSpeedValue
[10=SRATIONAL 1] = @0x2ec=748
@0x0000184=388 : <0x9202=37378> ApertureValue
[5 =RATIONAL 1] = @0x2f4=756
@0x0000190=400 : <0x9204=37380> ExposureBiasValue
[10=SRATIONAL 1] = @0x2fc=764
@0x000019c=412 : <0x9205=37381> MaxApertureValue
[5 =RATIONAL 1] = @0x304=772
@0x00001a8=424 : <0x9207=37383> MeteringMode
[3 =SHORT 1] = 2 = 'Center Weighted Average'
@0x00001b4=436 : <0x9208=37384> LightSource
[3 =SHORT 1] = 0 = 'unknown'
@0x00001c0=448 : <0x9209=37385> Flash
[3 =SHORT 1] = 1 = 'flash fired'
@0x00001cc=460 : <0x927c=37500> MakerNote
[7 =UNDEFINED 220] = @0x30c=780
@0x00001d8=472 : <0xa000=40960> FlashPixVersion
[7 =UNDEFINED 4] = '0100'
@0x00001e4=484 : <0xa001=40961> ColorSpace
[3 =SHORT 1] = 1 = 'sRGB'
@0x00001f0=496 : <0xa002=40962> PixelXDimension
[4 =LONG 1] = 2816
@0x00001fc=508 : <0xa003=40963> PixelYDimension
[4 =LONG 1] = 2112
@0x0000208=520 : <0xa004=40964> RelatedSoundFile
[2 =ASCII 13] = @0x3e8=1000
@0x0000214=532 : <0xa005=40965> Interoperability
[4 =LONG 1] = @0x3fe=1022
@0x0000220=544 : <0xa300=41728> FileSource
[7 =UNDEFINED 1] = 3 = 'DSC'
@0x000022c=556 : <0xa401=41985> CustomRendered
[3 =SHORT 1] = 0 = 'Normal'
@0x0000238=568 : <0xa402=41986> ExposureMode
[3 =SHORT 1] = 0 = 'Auto'
@0x0000244=580 : <0xa403=41987> WhiteBalance
[3 =SHORT 1] = 0 = 'Auto'
@0x0000250=592 : <0xa404=41988> DigitalZoomRatio
[5 =RATIONAL 1] = @0x3f6=1014
@0x000025c=604 : <0xa405=41989> FocalLengthIn35mmFilm
[3 =SHORT 1] = 37mm
@0x0000268=616 : <0xa406=41990> SceneCaptureType
[3 =SHORT 1] = 0 = 'Standard'
@0x0000274=628 : <0xa407=41991> GainControl
[3 =SHORT 1] = 0 = 'None'
@0x0000280=640 : <0xa408=41992> Contrast
[3 =SHORT 1] = 0 = 'Normal'
@0x000028c=652 : <0xa409=41993> Saturation
[3 =SHORT 1] = 0 = 'Normal'
@0x0000298=664 : <0xa40a=41994> Sharpness
[3 =SHORT 1] = 0 = 'Normal'
@0x00002a4=676 : <0xa40c=41996> SubjectDistanceRange
[3 =SHORT 1] = 2 = 'Close view'
@0x00002b0=688 : **** next IFD offset 0
@0x00002b4=692 : ============= VALUES, EXIF IFD ============
@0x00002b4=692 : ExposureTime = 0.02 sec
@0x00002bc=700 : FNumber = 2.8 APEX = 'f2.6'
@0x00002c4=708 : DateTimeOriginal =
'2009:11:17 16:34:33\0'
@0x00002d8=728 : DateTimeDigitized =
'2009:11:17 16:34:33\0'
@0x00002ec=748 : ShutterSpeedValue = 5.67 APEX
= '0.0196408 sec'
@0x00002f4=756 : ApertureValue = 3 APEX = 'f2.8'
@0x00002fc=764 : ExposureBiasValue = 0 APEX
@0x0000304=772 : MaxApertureValue = 3 APEX = 'f2.8'
@0x000030c=780 : <MakerNote> length 220, unknown scheme'
0x000030c=780 : 00 00 00 00 a3 2a 3f 01 0e a6 0e
6f |.....*?....o|
0x0000318=792 : 2a 88 00 01 00 80 28 27 00 7b 28
b0 |*.....('.{(.|
0x0000324=804 : 14 58 00 5f ab 01 35 1e 57 76 53
8d |.X._..5.WvS.|
0x0000330=816 : 00 00 57 75 57 75 31 82 00 00 34
1a |..WuWu1...4.|
0x000033c=828 : 52 97 11 00 84 50 6e 5f 50 7f 40
98 |R....Pn_P.@.|
0x0000348=840 : af 00 55 53 9b fc 00 00 00 03 13
88 |..US........|
0x0000354=852 : 80 00 60 00 b6 9b bd 90 80 80 80
80 |..`.........|
0x0000360=864 : 00 01 00 00 00 00 00 10 16 00 00
00 |............|
0x000036c=876 : 00 00 00 00 06 04 07 08 04 02 03
03 |............|
0x0000378=888 : 00 00 00 00 00 00 00 00 00 00 00
00 |............|
0x0000384=900 : 00 00 00 00 01 5a 00 00 00 00 00
00 |.....Z......|
0x0000390=912 : 00 a3 80 5d 00 25 49 c2 23 ff 04
18 |...].%I.#...|
0x000039c=924 : 03 bb 00 51 9b 09 c0 a8 41 ec d3
64 |...Q....A..d|
0x00003a8=936 : 01 60 60 4c a2 00 8d 00 71 00 8d
03 |.``L....q...|
0x00003b4=948 : 08 03 19 02 4a 00 01 01 02 04 00
00 |....J.......|
0x00003c0=960 : af 00 00 00 00 00 00 00 00 00 00
00 |............|
0x00003cc=972 : 00 00 00 00 00 00 00 00 00 00 00
00 |............|
0x00003d8=984 : 00 00 00 00 00 00 00 00 00 00 00
00 |............|
0x00003e4=996 : 00 00 00 00
|.... |
-0x00003e7=999 : </MakerNote>
@0x00003e8=1000 : RelatedSoundFile = ' \0'
@0x00003fe=1022 : <Interoperability SubIFD> 2 entries
starting at file offset 0x400=1024
@0x0000400=1024 : <0x0001= 1> InteroperabilityIndex
[2 =ASCII 4] = 'R98'
@0x000040c=1036 : <0x0002= 2> InteroperabilityVersion
[7 =UNDEFINED 4] = '0100'
@0x0000418=1048 : **** next IFD offset 524288(+ 12 =
0x8000c/524300) INVALID NEXT IFD OFFSET

One error here ^

@0x000041b=1051 : </Interoperability SubIFD>
@0x00003f6=1014 : DigitalZoomRatio = 1
<0x0000419=1049 : </EXIF IFD>
@0x000030b=779 : </IFD 0>
@0x000041a=1050 : <IFD 1> 8 entries starting at file offset 0x41c=1052
@0x000041c=1052 : <0x0103= 259> Compression
[3 =SHORT 1] = 6 = 'Exif/old JPEG'
@0x0000428=1064 : <0x0112= 274> Orientation
[3 =SHORT 1] = 1 = '0,0 is top left'
@0x0000434=1076 : <0x011a= 282> XResolution
[5 =RATIONAL 1] = @0x480=1152
@0x0000440=1088 : <0x011b= 283> YResolution
[5 =RATIONAL 1] = @0x488=1160
@0x000044c=1100 : <0x0128= 296> ResolutionUnit
[3 =SHORT 1] = 2 = 'pixels per inch'
@0x0000458=1112 : <0x0201= 513> JPEGInterchangeFormat
[4 =LONG 1] = @0x490=1168
@0x0000464=1124 : <0x0202= 514> JPEGInterchangeFormatLength
[4 =LONG 1] = 17136
@0x0000470=1136 : <0x0213= 531> YCbCrPositioning
[3 =SHORT 1] = 2 = 'co-sited'
@0x000047c=1148 : **** next IFD offset 0
@0x0000480=1152 : ============= VALUES, IFD 1 ============
@0x0000480=1152 : XResolution = 72
@0x0000488=1160 : YResolution = 72
@0x0000490=1168 : #### Start of JPEG thumbnail data for IFD
1, length 17136 ####
@0x0000490=1168 : <JPEG_SOI>
@0x0000492=1170 : <JPEG_DQT> length 132
@0x0000518=1304 : <JPEG_SOF_0> length 17, 8 bits/sample,
components=3, width=160, height=120
@0x000052b=1323 : <JPEG_DHT> length 418 table class = 0 table id = 0
@0x00006cf=1743 : <JPEG_SOS> length 12 start of JPEG
data, 3 components 19200 pixels
@0x0004776=18294 : <JPEG_EOI> JPEG length 17128
@0x000477f=18303 : #### End of JPEG thumbnail data for IFD 1,
length 17136 #### (JPEG_EOI FOUND EARLY)

Another error here ^

@0x0004777=18295 : </IFD 1>
-0x0004781=18305 : </JPEG_APP1>
@0x0004782=18306 : <JPEG_DQT> length 132
@0x0004808=18440 : <JPEG_SOF_0> length 17, 8 bits/sample,
components=3, width=2816, height=2112
@0x000481b=18459 : <JPEG_DHT> length 418 table class = 0 table id = 0
@0x00049bf=18879 : <JPEG_SOS> length 12 start of JPEG data, 3
components 5947392 pixels
@0x01ae9bb=1763771 : <JPEG_EOI> JPEG length 1763773
-0x01ae9bc=1763772 : END OF FILE
@000000000=0 : Start of JPEG baseline DCT compressed primary
image [2816x2112] length 1763773
-0x01ae9bc=1763772 : End of JPEG primary image data
@0x0000490=1168 : Start of JPEG baseline DCT compressed
reduced-resolution image [160x120] length <= 17136 (IFD 1)
-0x000477f=18303 : End of JPEG reduced-resolution image data
Number of images = 2
File Format = JPEG/APP1/TIFF/EXIF # with MakerNote


Note that jhead indicates a "Nonfatal Error" error.

I do plan to close this bug. Maybe you should report the bug to Supra
DC-XZ6 manufacturer.

0 new messages