Bug #1283

Exiv2 crash when Pentax makernote tags parser being used

Added by Wil Cowb 9 months ago. Updated 9 months ago.

Status:ClosedStart date:10 Mar 2017
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:makernoteEstimated time:1.00 hour
Target version:0.26

Description

It looks like some of the metadata created by Pentax K-S1 might not be supported very well by Exiv2.

More details can be found here:
https://bugs.kde.org/show_bug.cgi?id=377432

exiv2 called via API by digiKam (https://cgit.kde.org/digikam.git/tree/libs/dmetadata)

Exiv2 0.26-svn

Sample image attached.

20161226_152600_393.JPG (9.27 MB) Wil Cowb, 10 Mar 2017 06:17

History

#1 Updated by Robin Mills 9 months ago

  • Category set to makernote
  • Assignee set to Robin Mills

Same comments as #1281

#2 Updated by Robin Mills 9 months ago

  • Status changed from New to Assigned

#3 Updated by Robin Mills 9 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

No crash here with Exiv2 v0.26 RC r4726:

671 rmills@rmillsmm:~/gnu/exiv2/trunk $ exiv2 -vVg svn
exiv2 0.26 001900 (64 bit build)
svn=4726
672 rmills@rmillsmm:~/gnu/exiv2/trunk $ ls -alt ~/Downloads/2*
-rw-r--r--+ 1 rmills staff 9720902 Mar 10 07:45 /Users/rmills/Downloads/20161226_152600_393.JPG
673 rmills@rmillsmm:~/gnu/exiv2/trunk $ exiv2 -pa --grep Pentax ~/Downloads/2*
Exif.PentaxDng.Version                       Byte        4  11.3.0.0
Exif.PentaxDng.Mode                          Short       1  Auto
Exif.PentaxDng.ModelID                       Long        1  K-S1
Exif.PentaxDng.Date                          Undefined   4  2016:12:26
Exif.PentaxDng.Time                          Undefined   3  15:26:00
Exif.PentaxDng.Quality                       Short       1  Best
Exif.PentaxDng.Flash                         Short       2  Off, Did not fire
Exif.PentaxDng.Focus                         Short       1  (273)
Exif.PentaxDng.AFPoint                       Short       2  Auto
Exif.PentaxDng.AFPointInFocus                Long        1  (16)
Exif.PentaxDng.ExposureTime                  Long        1  1.25 ms
Exif.PentaxDng.FNumber                       Short       1  F8
Exif.PentaxDng.ISO                           Short       1  500
Exif.PentaxDng.ExposureCompensation          SShort      1  0 EV
Exif.PentaxDng.MeteringMode                  Short       1  Multi Segment
Exif.PentaxDng.AutoBracketing                Short       2  0 EV (No extended bracketing)
Exif.PentaxDng.WhiteBalance                  Short       1  Auto
Exif.PentaxDng.FocalLength                   Long        1  55.0 mm
Exif.PentaxDng.Saturation                    Short       1  Normal
Exif.PentaxDng.Contrast                      Short       1  Normal
Exif.PentaxDng.Sharpness                     Short       1  Med Hard
Exif.PentaxDng.DSPFirmwareVersion            Undefined   4  254 255 255 253
Exif.PentaxDng.EffectiveLV                   Short       1  13696
Exif.PentaxDng.ImageProcessing               Undefined   4  Unprocessed
Exif.PentaxDng.PictureMode                   Byte        3  Unknown (0x000801)
Exif.PentaxDng.DriveMode                     Byte        4  Continuous
Exif.PentaxDng.ColorSpace                    Short       1  sRGB
Exif.PentaxDng.LensType                      Byte        4  smc PENTAX-DA L 18-55mm F3.5-5.6
Exif.PentaxDng.SensitivityAdjust             Short       1  50
Exif.PentaxDng.DigitalFilter                 Short       1  Off
Exif.PentaxDng.Temperature                   SByte       1  4 C
Exif.PentaxDng.AELock                        Short       1  Off
Exif.PentaxDng.NoiseReduction                Short       1  Off
Exif.PentaxDng.FlashExposureCompensation     SByte       2  0 EV
Exif.PentaxDng.ImageTone                     Short       1  Bright
Exif.PentaxDng.ColorTemperature              Short       1  0
Exif.PentaxDng.ShakeReduction                Byte        2  0 7
Exif.PentaxDng.ShutterCount                  Undefined   4  3343
Exif.PentaxDng.DynamicRangeExpansion         Undefined   4  Unknown (0x00020000)
Exif.PentaxDng.HighISONoiseReduction         Byte        2  (255 0)
Exif.PentaxDng.AFAdjustment                  SShort      1  0
Exif.PentaxDng.BlackPoint                    Short       4  64 64 64 64
Exif.PentaxDng.WhitePoint                    Short       4  18848 8192 8192 13600
Exif.PentaxDng.ShotInfo                      Undefined  34  0 8 0 2 2 6 0 0 64 0 32 1 0 49 101 69 64 11 4 16 0 12 128 3 3 0 0 0 0 0 0 0 0 0
Exif.PentaxDng.AEInfo                        Undefined  48  2 77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 145 116 50 64 0 0 64 0 0 0 0 8 108 108 152 168 0 0 10 50 12 0 0 0 0 0 0 0 0 0 0 0
Exif.PentaxDng.LensInfo                      Undefined 128  0 135 240 82 0 222 1 170 3 0 0 0 0 0 0 0 40 214 19 69 116 38 143 33 89 171 96 48 1 81 124 251 255 255 255 222 33 118 40 140 32 154 8 0 0 0 0 0 191 240 222 128 0 156 2 0 0 0 0 0 0 0 0 0 3 207 151 15 32 151 243 243 222 4 4 192 15 249 12 3 164 136 102 66 0 16 0 0 0 0 0 8 234 107 90 161 33 148 39 15 153 24 162 34 224 57 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Exif.PentaxDng.FlashInfo                     Undefined  36  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 15 63 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Exif.PentaxDng.AEMeteringSegments            Undefined  77  148 149 146 148 152 152 151 149 150 148 147 154 154 153 153 154 154 154 154 154 157 159 153 154 152 153 153 154 154 154 155 157 159 153 153 153 154 154 153 155 158 160 162 164 153 153 153 153 154 154 155 155 154 155 155 153 152 153 153 153 154 154 153 154 153 154 153 153 152 153 153 152 153 153 152 152 153
Exif.PentaxDng.FlashADump                    Undefined  77  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Exif.PentaxDng.FlashBDump                    Undefined  77  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Exif.PentaxDng.CameraInfo                    Long        5  77850 20140927 2 1 7016544
Exif.PentaxDng.BatteryInfo                   Undefined  20  242 80 3 35 2 249 0 0 0 0 0 0 0 0 0 0 0 0 76 0
Exif.PentaxDng.AFInfo                        Undefined 1024  (Binary value suppressed)
Exif.PentaxDng.ColorInfo                     Undefined  18  123 32 120 31 137 31 140 32 180 32 122 32 131 31 141 31 0 0
Exif.PentaxDng.SerialNumber                  Ascii      20  6038491
674 rmills@rmillsmm:~/gnu/exiv2/trunk $ 

#4 Updated by Robin Mills 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux