Problem with ImageMagick 6.5.2-5

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

I have some Tiff images that have problems when identified with ImageMagick.

ImageMagick Version: 6.5.2-5 2012-05-28 Q16 OpenMP
OS: KUbuntu 12.10 64 bit

Below is the output of two images. I will try to gain permission to attach the images. Both of the commands below have no problem when using ImageMagick 6.7.7-10 2012-08-17 Q16.
However, switching to another version is not possible.

I will try to provide any necessary information needed.
Please accept my apology if this duplicates some thread - I tried to search but was unable to find solution.

Kindest Regards,
Vasil Svetoslavov

Code: Select all

user@host$ /opt/bin/identify -ping -verbose Brueckeninsp-123.tif 
Image: Brueckeninsp-123.tif
  Format: TIFF (Tagged Image File Format)
  Class: DirectClass
  Geometry: 2000x3008+0+0
  Resolution: 72x72
  Print size: 27.7778x41.7778
  Units: PixelsPerInch
  Type: TrueColor
  Base type: TrueColor
  Endianess: MSB
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    red:
      min: 0 (0)
      max: 255 (1)
      mean: 99.0809 (0.388552)
      standard deviation: 79.4814 (0.311692)
      kurtosis: -1.35623
      skewness: 0.389773
    green:
      min: 0 (0)
      max: 255 (1)
      mean: 82.6664 (0.324182)
      standard deviation: 73.9877 (0.290148)
      kurtosis: -0.998791
      skewness: 0.672535
    blue:
      min: 0 (0)
      max: 255 (1)
      mean: 72.6647 (0.28496)
      standard deviation: 70.0491 (0.274703)
      kurtosis: -0.778468
      skewness: 0.743902
  Image statistics:
    OverAll:
      min: 0 (0)
      max: 255 (1)
      mean: 63.603 (0.249424)
      standard deviation: 74.9131 (0.293777)
      kurtosis: -0.483504
      skewness: 0.973847
  Rendering intent: Undefined
  Interlace: None
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 2000x3008+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: None
  Orientation: TopLeft
  Properties:
    comment: KONICA MINOLTA DIGITAL CAMERA
    create-date: 2013-03-29T10:36:55+02:00
    dc:format: image/tiff
    exif:BrightnessValue: 875/100
    exif:ColorSpace: 1
    exif:Contrast: 0
    exif:CustomRendered: 0
    exif:DateTimeDigitized: 2005-08-18T12:43:24+02:00
    exif:DateTimeOriginal: 2005-08-18T12:43:24+02:00
    exif:DigitalZoomRatio: 0/1
    exif:ExifVersion: 0221
    exif:ExposureBiasValue: -10/10
    exif:ExposureMode: 0
    exif:ExposureProgram: 3
    exif:ExposureTime: 1/1000
    exif:Fired: False
    exif:Flash: 16
    exif:FlashpixVersion: 0100
    exif:FNumber: 56/10
    exif:FocalLength: 260/10
    exif:FocalLengthIn35mmFilm: 39
    exif:Function: False
    exif:GainControl: 0
    exif:LightSource: 0
    exif:MaxApertureValue: 361/100
    exif:MeteringMode: 5
    exif:Mode: 2
    exif:NativeDigest: 36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;772A1524866071DA822CDD0DCF1718F1
    exif:PixelXDimension: 2000
    exif:PixelYDimension: 3008
    exif:RedEyeMode: False
    exif:Return: 0
    exif:Saturation: 0
    exif:SceneCaptureType: 0
    exif:Sharpness: 2
    exif:WhiteBalance: 0
    modify-date: 2013-03-28T18:06:36+02:00
    photoshop:ColorMode: 3
    photoshop:History: 
    photoshop:ICCProfile: sRGB IEC61966-2.1
    rdf:Alt: 
               
            
    signature: ad1508881fbd29bc63de328bde07986c948e4371af1e2df61606f327defe2007
    tiff:Compression: 1
    tiff:ImageLength: 3008
    tiff:ImageWidth: 2000
    tiff:Make: KONICA MINOLTA 
    tiff:Model: DYNAX 7D
    tiff:NativeDigest: 256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;76046CAC1311AB7C78BB9CE6E94A945F
    tiff:Orientation: 1
    tiff:PhotometricInterpretation: 2
    tiff:PlanarConfiguration: 1
    tiff:rows-per-strip: 1
    tiff:SamplesPerPixel: 3
    tiff:software: Adobe Photoshop CS2 Macintosh
    tiff:timestamp: 2007:09:04 11:38:27
    xap:CreateDate: 2005-08-18T12:43:24+02:00
    xap:CreatorTool: Adobe Photoshop CS2 Macintosh
    xap:MetadataDate: 2007-09-04T11:38:27+02:00
    xap:ModifyDate: 2007-09-04T11:38:27+02:00
    xapMM:DocumentID: adobe:docid:photoshop:2dff6704-1195-11da-bb66-f2be8fb6e794
    xapMM:InstanceID: uuid:9F2BFDFE5C6D11DC8F75E2D493F5BDE8
  Profiles:
    Profile-8bim: 14300 bytes
    Profile-icc: 3144 bytes
      IEC 61966-2.1 Default RGB colour space - sRGB
    Profile-iptc: 44 bytes
      unknown[2,0]: 
      Caption[2,120]: KONICA MINOLTA DIGITAL CAMERA
    Profile-xmp: 17496 bytes
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 17.25mb
  Number pixels: 5.737mb
  Pixels per second: 5.737mb
  User time: 0.050u
  Elapsed time: 0:02
  Version: ImageMagick 6.5.2-5 2012-05-28 Q16 OpenMP http://www.imagemagick.org
*** glibc detected *** /opt/bin/identify: munmap_chunk(): invalid pointer: 0x0000000001b3c190 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f4e2bd7bb96]
/opt/lib/libMagickCore.so.2(RelinquishMagickMemory+0xf)[0x7f4e2c9cc53f]
/opt/lib/libMagickCore.so.2(DestroySplayTree+0x8d)[0x7f4e2ca1caed]
/opt/lib/libMagickCore.so.2(DestroyImageProperties+0x36)[0x7f4e2c9deab6]
/opt/lib/libMagickCore.so.2(DestroyImage+0x111)[0x7f4e2c9b9a71]
/opt/lib/libMagickCore.so.2(DestroyImageList+0x38)[0x7f4e2c9c4ba8]
/opt/lib/libMagickWand.so.2(IdentifyImageCommand+0x839)[0x7f4e2c64a819]
/opt/bin/identify[0x400d6e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f4e2bd1e76d]
/opt/bin/identify[0x400f6d]
======= Memory map: ========
00400000-00402000 r-xp 00000000 08:11 1442258                            /opt/bin/identify
00601000-00602000 r--p 00001000 08:11 1442258                            /opt/bin/identify
00602000-00603000 rw-p 00002000 08:11 1442258                            /opt/bin/identify
01b1c000-01be9000 rw-p 00000000 00:00 0                                  [heap]
7f4e25166000-7f4e25167000 ---p 00000000 00:00 0 
7f4e25167000-7f4e25967000 rw-p 00000000 00:00 0                          [stack:18521]
7f4e25967000-7f4e25968000 ---p 00000000 00:00 0 
7f4e25968000-7f4e26168000 rw-p 00000000 00:00 0                          [stack:18520]
7f4e26168000-7f4e26169000 ---p 00000000 00:00 0 
7f4e26169000-7f4e26969000 rw-p 00000000 00:00 0                          [stack:18519]
7f4e29516000-7f4e2952b000 r-xp 00000000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e2952b000-7f4e2972a000 ---p 00015000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e2972a000-7f4e2972b000 r--p 00014000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e2972b000-7f4e2972c000 rw-p 00015000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e2974f000-7f4e29750000 rw-p 00000000 00:00 0 
7f4e29750000-7f4e2975a000 r-xp 00000000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f4e2975a000-7f4e29959000 ---p 0000a000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f4e29959000-7f4e2995a000 r--p 00009000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f4e2995a000-7f4e2995b000 rw-p 0000a000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f4e2995b000-7f4e29960000 r-xp 00000000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f4e29960000-7f4e29b5f000 ---p 00005000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f4e29b5f000-7f4e29b60000 r--p 00004000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f4e29b60000-7f4e29b61000 rw-p 00005000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f4e29b61000-7f4e29b63000 r-xp 00000000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f4e29b63000-7f4e29d63000 ---p 00002000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f4e29d63000-7f4e29d64000 r--p 00002000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f4e29d64000-7f4e29d65000 rw-p 00003000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f4e29d65000-7f4e29d66000 rw-p 00000000 00:00 0 
7f4e29d66000-7f4e29d6d000 r-xp 00000000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f4e29d6d000-7f4e29f6c000 ---p 00007000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f4e29f6c000-7f4e29f6d000 r--p 00006000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f4e29f6d000-7f4e29f6e000 rw-p 00007000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f4e29f6e000-7f4e29f8b000 r-xp 00000000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f4e29f8b000-7f4e2a18a000 ---p 0001d000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f4e2a18a000-7f4e2a18b000 r--p 0001c000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f4e2a18b000-7f4e2a18c000 rw-p 0001d000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f4e2a18c000-7f4e2a1b2000 r-xp 00000000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f4e2a1b2000-7f4e2a3b2000 ---p 00026000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f4e2a3b2000-7f4e2a3b4000 r--p 00026000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f4e2a3b4000-7f4e2a3b5000 rw-p 00028000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f4e2a3b5000-7f4e2a3f4000 r-xp 00000000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f4e2a3f4000-7f4e2a5f4000 ---p 0003f000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f4e2a5f4000-7f4e2a5f5000 r--p 0003f000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f4e2a5f5000-7f4e2a5f6000 rw-p 00040000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f4e2a5f6000-7f4e2a606000 rw-p 00000000 00:00 0 
7f4e2a606000-7f4e2a611000 r-xp 00000000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f4e2a611000-7f4e2a810000 ---p 0000b000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f4e2a810000-7f4e2a811000 r--p 0000a000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f4e2a811000-7f4e2a814000 rw-p 0000b000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f4e2a814000-7f4e2a816000 r-xp 00000000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f4e2a816000-7f4e2aa16000 ---p 00002000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f4e2aa16000-7f4e2aa17000 r--p 00002000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f4e2aa17000-7f4e2aa18000 rw-p 00003000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f4e2aa18000-7f4e2aa2e000 r-xp 00000000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f4e2aa2e000-7f4e2ac2d000 ---p 00016000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f4e2ac2d000-7f4e2ac2e000 r--p 00015000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f4e2ac2e000-7f4e2ac2f000 rw-p 00016000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f4e2ac2f000-7f4e2acc5000 r-xp 00000000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f4e2acc5000-7f4e2aec4000 ---p 00096000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f4e2aec4000-7f4e2aeca000 r--p 00095000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f4e2aeca000-7f4e2aecb000 rw-p 0009b000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f4e2aecb000-7f4e2aed9000 r-xp 00000000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f4e2aed9000-7f4e2b0d8000 ---p 0000e000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f4e2b0d8000-7f4e2b0d9000 r--p 0000d000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f4e2b0d9000-7f4e2b0da000 rw-p 0000e000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f4e2b0da000-7f4e2b20e000 r-xp 00000000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f4e2b20e000-7f4e2b40e000 ---p 00134000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f4e2b40e000-7f4e2b40f000 r--p 00134000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f4e2b40f000-7f4e2b414000 rw-p 00135000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f4e2b414000-7f4e2b424000 r-xp 00000000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f4e2b424000-7f4e2b624000 ---p 00010000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f4e2b624000-7f4e2b625000 r--p 00010000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f4e2b625000-7f4e2b626000 rw-p 00011000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f4e2b626000-7f4e2b65d000 r-xp 00000000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f4e2b65d000-7f4e2b85d000 ---p 00037000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f4e2b85d000-7f4e2b85e000 r--p 00037000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f4e2b85e000-7f4e2b85f000 rw-p 00038000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f4e2b85f000-7f4e2b860000 rw-p 00000000 00:00 0 
7f4e2b860000-7f4e2b8c1000 r-xp 00000000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f4e2b8c1000-7f4e2bac1000 ---p 00061000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f4e2bac1000-7f4e2bac3000 r--p 00061000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f4e2bac3000-7f4e2bac4000 rw-p 00063000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f4e2bac4000-7f4e2baf9000 r-xp 00000000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f4e2baf9000-7f4e2bcf8000 ---p 00035000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f4e2bcf8000-7f4e2bcf9000 r--p 00034000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f4e2bcf9000-7f4e2bcfa000 rw-p 00035000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f4e2bcfa000-7f4e2bcfd000 rw-p 00000000 00:00 0 
7f4e2bcfd000-7f4e2beb2000 r-xp 00000000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f4e2beb2000-7f4e2c0b1000 ---p 001b5000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f4e2c0b1000-7f4e2c0b5000 r--p 001b4000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f4e2c0b5000-7f4e2c0b7000 rw-p 001b8000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f4e2c0b7000-7f4e2c0bc000 rw-p 00000000 00:00 0 
7f4e2c0bc000-7f4e2c0d4000 r-xp 00000000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f4e2c0d4000-7f4e2c2d3000 ---p 00018000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f4e2c2d3000-7f4e2c2d4000 r--p 00017000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f4e2c2d4000-7f4e2c2d5000 rw-p 00018000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f4e2c2d5000-7f4e2c2d9000 rw-p 00000000 00:00 0 
7f4e2c2d9000-7f4e2c3d4000 r-xp 00000000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f4e2c3d4000-7f4e2c5d3000 ---p 000fb000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f4e2c5d3000-7f4e2c5d4000 r--p 000fa000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f4e2c5d4000-7f4e2c5d5000 rw-p 000fb000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f4e2c5d5000-7f4e2c6d4000 r-xp 00000000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f4e2c6d4000-7f4e2c8d3000 ---p 000ff000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f4e2c8d3000-7f4e2c8d4000 r--p 000fe000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f4e2c8d4000-7f4e2c8d8000 rw-p 000ff000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f4e2c8d8000-7f4e2cab1000 r-xp 00000000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f4e2cab1000-7f4e2ccb1000 ---p 001d9000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f4e2ccb1000-7f4e2ccba000 r--p 001d9000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f4e2ccba000-7f4e2ccfb000 rw-p 001e2000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f4e2ccfb000-7f4e2cd1b000 rw-p 00000000 00:00 0 
7f4e2cd1b000-7f4e2cd3d000 r-xp 00000000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7f4e2cf0e000-7f4e2cf18000 rw-p 00000000 00:00 0 
7f4e2cf3a000-7f4e2cf3d000 rw-p 00000000 00:00 0 
7f4e2cf3d000-7f4e2cf3e000 r--p 00022000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7f4e2cf3e000-7f4e2cf40000 rw-p 00023000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7fff1d3cf000-7fff1d3f0000 rw-p 00000000 00:00 0                          [stack]
7fff1d3ff000-7fff1d400000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
Another image produces similar error

Code: Select all

user@host$ /opt/bin/identify -format  Depth: %z\n ClassAndColorspace: %r\n PageCount: %n\n Brueckeninsp-127.tif
identify: unable to open image `%zn': No such file or directory @ blob.c/OpenBlob/2489.
identify: unable to open image `ClassAndColorspace:': No such file or directory @ blob.c/OpenBlob/2489.
identify: unable to open image `%rn': No such file or directory @ blob.c/OpenBlob/2489.
identify: unable to open image `PageCount:': No such file or directory @ blob.c/OpenBlob/2489.
identify: unable to open image `%nn': No such file or directory @ blob.c/OpenBlob/2489.
identify: Brueckeninsp-127.tif: wrong data type 3 for "GainControl"; tag ignored. `TIFFReadCustomDirectory' @ tiff.c/TIFFWarnings/525.
Depth:
vasko@pirx:/media/Data/home/vasko_guest/Work/BrandMaker/Pictures/Tifs$ /opt/bin/identify -format "Depth: %z\n ClassAndColorspace: %r\n PageCount: %n\n" Brueckeninsp-127.tif
*** glibc detected *** /opt/bin/identify: free(): invalid pointer: 0x0000000001fa2d70 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f719248cb96]
/opt/lib/libMagickCore.so.2(RelinquishMagickMemory+0xf)[0x7f71930dd53f]
/opt/lib/libMagickCore.so.2(DestroySplayTree+0xd4)[0x7f719312db34]
/opt/lib/libMagickCore.so.2(DestroyImageProperties+0x36)[0x7f71930efab6]
/opt/lib/libMagickCore.so.2(DestroyImage+0x111)[0x7f71930caa71]
/opt/lib/libMagickCore.so.2(DestroyImageList+0x38)[0x7f71930d5ba8]
/opt/lib/libMagickWand.so.2(IdentifyImageCommand+0x839)[0x7f7192d5b819]
/opt/bin/identify[0x400d6e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f719242f76d]
/opt/bin/identify[0x400f6d]
======= Memory map: ========
00400000-00402000 r-xp 00000000 08:11 1442258                            /opt/bin/identify
00601000-00602000 r--p 00001000 08:11 1442258                            /opt/bin/identify
00602000-00603000 rw-p 00002000 08:11 1442258                            /opt/bin/identify
01f77000-01ffc000 rw-p 00000000 00:00 0                                  [heap]
7f718fc4b000-7f718fc60000 r-xp 00000000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f718fc60000-7f718fe5f000 ---p 00015000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f718fe5f000-7f718fe60000 r--p 00014000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f718fe60000-7f718fe61000 rw-p 00015000 08:11 6295045                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f718fe61000-7f718fe6b000 r-xp 00000000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f718fe6b000-7f719006a000 ---p 0000a000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f719006a000-7f719006b000 r--p 00009000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f719006b000-7f719006c000 rw-p 0000a000 08:11 1443730                    /opt/lib/ImageMagick-6.5.2/modules-Q16/coders/tiff.so
7f719006c000-7f7190071000 r-xp 00000000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7190071000-7f7190270000 ---p 00005000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7190270000-7f7190271000 r--p 00004000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7190271000-7f7190272000 rw-p 00005000 08:11 2891592                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7190272000-7f7190274000 r-xp 00000000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7190274000-7f7190474000 ---p 00002000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7190474000-7f7190475000 r--p 00002000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7190475000-7f7190476000 rw-p 00003000 08:11 2891581                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f7190476000-7f7190477000 rw-p 00000000 00:00 0 
7f7190477000-7f719047e000 r-xp 00000000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f719047e000-7f719067d000 ---p 00007000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f719067d000-7f719067e000 r--p 00006000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f719067e000-7f719067f000 rw-p 00007000 08:11 6295124                    /lib/x86_64-linux-gnu/librt-2.15.so
7f719067f000-7f719069c000 r-xp 00000000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f719069c000-7f719089b000 ---p 0001d000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f719089b000-7f719089c000 r--p 0001c000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f719089c000-7f719089d000 rw-p 0001d000 08:11 2892193                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f719089d000-7f71908c3000 r-xp 00000000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f71908c3000-7f7190ac3000 ---p 00026000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f7190ac3000-7f7190ac5000 r--p 00026000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f7190ac5000-7f7190ac6000 rw-p 00028000 08:11 6295040                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f7190ac6000-7f7190b05000 r-xp 00000000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f7190b05000-7f7190d05000 ---p 0003f000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f7190d05000-7f7190d06000 r--p 0003f000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f7190d06000-7f7190d07000 rw-p 00040000 08:11 2891931                    /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
7f7190d07000-7f7190d17000 rw-p 00000000 00:00 0 
7f7190d17000-7f7190d22000 r-xp 00000000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f7190d22000-7f7190f21000 ---p 0000b000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f7190f21000-7f7190f22000 r--p 0000a000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f7190f22000-7f7190f25000 rw-p 0000b000 08:11 2891929                    /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f7190f25000-7f7190f27000 r-xp 00000000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f7190f27000-7f7191127000 ---p 00002000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f7191127000-7f7191128000 r--p 00002000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f7191128000-7f7191129000 rw-p 00003000 08:11 6295035                    /lib/x86_64-linux-gnu/libdl-2.15.so
7f7191129000-7f719113f000 r-xp 00000000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f719113f000-7f719133e000 ---p 00016000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f719133e000-7f719133f000 r--p 00015000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f719133f000-7f7191340000 rw-p 00016000 08:11 6295154                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7f7191340000-7f71913d6000 r-xp 00000000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f71913d6000-7f71915d5000 ---p 00096000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f71915d5000-7f71915db000 r--p 00095000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f71915db000-7f71915dc000 rw-p 0009b000 08:11 2886086                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.9.0
7f71915dc000-7f71915ea000 r-xp 00000000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f71915ea000-7f71917e9000 ---p 0000e000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f71917e9000-7f71917ea000 r--p 0000d000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f71917ea000-7f71917eb000 rw-p 0000e000 08:11 2891820                    /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f71917eb000-7f719191f000 r-xp 00000000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f719191f000-7f7191b1f000 ---p 00134000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7191b1f000-7f7191b20000 r--p 00134000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7191b20000-7f7191b25000 rw-p 00135000 08:11 2891579                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f7191b25000-7f7191b35000 r-xp 00000000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f7191b35000-7f7191d35000 ---p 00010000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f7191d35000-7f7191d36000 r--p 00010000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f7191d36000-7f7191d37000 rw-p 00011000 08:11 2891594                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f7191d37000-7f7191d6e000 r-xp 00000000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f7191d6e000-7f7191f6e000 ---p 00037000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f7191f6e000-7f7191f6f000 r--p 00037000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f7191f6f000-7f7191f70000 rw-p 00038000 08:11 2891774                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7f7191f70000-7f7191f71000 rw-p 00000000 00:00 0 
7f7191f71000-7f7191fd2000 r-xp 00000000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f7191fd2000-7f71921d2000 ---p 00061000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f71921d2000-7f71921d4000 r--p 00061000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f71921d4000-7f71921d5000 rw-p 00063000 08:11 2904202                    /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f71921d5000-7f719220a000 r-xp 00000000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f719220a000-7f7192409000 ---p 00035000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f7192409000-7f719240a000 r--p 00034000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f719240a000-7f719240b000 rw-p 00035000 08:11 2891953                    /usr/lib/x86_64-linux-gnu/liblcms.so.1.0.19
7f719240b000-7f719240e000 rw-p 00000000 00:00 0 
7f719240e000-7f71925c3000 r-xp 00000000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f71925c3000-7f71927c2000 ---p 001b5000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f71927c2000-7f71927c6000 r--p 001b4000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f71927c6000-7f71927c8000 rw-p 001b8000 08:11 6295020                    /lib/x86_64-linux-gnu/libc-2.15.so
7f71927c8000-7f71927cd000 rw-p 00000000 00:00 0 
7f71927cd000-7f71927e5000 r-xp 00000000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f71927e5000-7f71929e4000 ---p 00018000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f71929e4000-7f71929e5000 r--p 00017000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f71929e5000-7f71929e6000 rw-p 00018000 08:11 6295116                    /lib/x86_64-linux-gnu/libpthread-2.15.so
7f71929e6000-7f71929ea000 rw-p 00000000 00:00 0 
7f71929ea000-7f7192ae5000 r-xp 00000000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f7192ae5000-7f7192ce4000 ---p 000fb000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f7192ce4000-7f7192ce5000 r--p 000fa000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f7192ce5000-7f7192ce6000 rw-p 000fb000 08:11 6295062                    /lib/x86_64-linux-gnu/libm-2.15.so
7f7192ce6000-7f7192de5000 r-xp 00000000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f7192de5000-7f7192fe4000 ---p 000ff000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f7192fe4000-7f7192fe5000 r--p 000fe000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f7192fe5000-7f7192fe9000 rw-p 000ff000 08:11 1443995                    /opt/lib/libMagickWand.so.2.0.0
7f7192fe9000-7f71931c2000 r-xp 00000000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f71931c2000-7f71933c2000 ---p 001d9000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f71933c2000-7f71933cb000 r--p 001d9000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f71933cb000-7f719340c000 rw-p 001e2000 08:11 1443664                    /opt/lib/libMagickCore.so.2.0.0
7f719340c000-7f719342c000 rw-p 00000000 00:00 0 
7f719342c000-7f719344e000 r-xp 00000000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7f719361f000-7f7193629000 rw-p 00000000 00:00 0 
7f719364b000-7f719364e000 rw-p 00000000 00:00 0 
7f719364e000-7f719364f000 r--p 00022000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7f719364f000-7f7193651000 rw-p 00023000 08:11 6294996                    /lib/x86_64-linux-gnu/ld-2.15.so
7fffb70ed000-7fffb710e000 rw-p 00000000 00:00 0                          [stack]
7fffb7191000-7fffb7192000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with ImageMagick 6.5.2-5

Post by snibgo »

I can't help with 6.5.2 problems.

Your command ...

Code: Select all

identify -format  Depth: {...}
... isn't valid sytax. At least, not for current versions of ImageMagick identify.
snibgo's IM pages: im.snibgo.com
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Re: Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

Sorry, actually the command used goes like this:

Code: Select all

/opt/bin/identify -format "Depth: %z\n ClassAndColorspace: %r\n PageCount: %n\n" Brueckeninsp-127.tif
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Re: Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with ImageMagick 6.5.2-5

Post by snibgo »

The oldest version I have is 6.5.8-8, on Windows 7. The command ...

Code: Select all

"%IMG658%identify" -format "%z\n %r\n %n\n" Brueckeninsp-123.tif
... works with no problem.
snibgo's IM pages: im.snibgo.com
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Re: Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

The problem with identify -format is for the other image - 127, not 123.

Could anyone else please help?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem with ImageMagick 6.5.2-5

Post by fmw42 »

Your version of IM is ancient (over 300 versions old) and may have a bug. You would be well of upgrading.
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Re: Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

fmw42 wrote:Your version of IM is ancient (over 300 versions old) and may have a bug. You would be well of upgrading.
Unfortunately not possible at this point.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with ImageMagick 6.5.2-5

Post by snibgo »

Both commands work without problems on v6.5.8-8 on Windows 7.

With more recent versions, I get a warning:

Code: Select all

identify.exe: Wrong data type 3 for "GainControl"; tag ignored. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/821.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem with ImageMagick 6.5.2-5

Post by fmw42 »

that is just a warning that IM does not recognize that tag. It should still run.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with ImageMagick 6.5.2-5

Post by snibgo »

Yes, it gives me the warning but that doesn't stop it working. I mention it only because that tag might, theoretically, be what distinguishes the OP's tiffs that don't work under 6.5.2-5 from those that do.
snibgo's IM pages: im.snibgo.com
v.svetoslavov
Posts: 11
Joined: 2013-03-11T07:08:40-07:00
Authentication code: 6789

Re: Problem with ImageMagick 6.5.2-5

Post by v.svetoslavov »

I think I've seen warnings for TIFF tags in 6.5.2-5 as well so my guess would be that this is not the problem. I would appreciate however, if someone runs a debugger with the specified commands and images and sees what exactly is going wrong. It could also help find some workaround (or how to fix the problematic images, if the problem originates from them). Unfortunately debugging C++ code is not within my expertise.

Kindest regards,
Vasil Svetoslavov
Post Reply