ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: areohbee on November 16, 2014, 10:17:54 AM

Title: exiftool not "staying open" when problem files encountered.
Post by: areohbee on November 16, 2014, 10:17:54 AM
I have some files that exiftool does not like.

For example, a tiff which elicits an error message when attempting to do anything with it:

Invalid type '-' at Image/ExifTool.pm line 3791.

I guess the file is wonky, but the problem is that exiftool (when encountering one of these problem files) is aborting with an exit code of 255 when using stay-open mode, which is causing problems for me.

Any advice?

Thanks,
Rob
Title: Re: exiftool not "staying open" when problem files encountered.
Post by: Phil Harvey on November 16, 2014, 06:57:56 PM
Hi Rob,

Thanks for the report.

If you send any sample that causes a problem to me (philharvey66 at gmail.com), I'll fix it.

- Phil
Title: Re: exiftool not "staying open" when problem files encountered.
Post by: areohbee on November 17, 2014, 05:07:52 AM
Check you inbox Phil  ;).
Rob
Title: Re: exiftool not "staying open" when problem files encountered.
Post by: Phil Harvey on November 17, 2014, 07:21:02 AM
Hi Rob,

I got the file, thanks.

Wow.  This particular problem only affects Canon EOS 40D images that were corrupted in a very specific way.  Way to trigger this extreme fringe vulnerability.  It will be fixed in ExifTool 9.77.

- Phil

Edit:  Looking closer at this image, the culprit software that caused this problem appears to be Nikon Capture NX.
Title: Re: exiftool not "staying open" when problem files encountered.
Post by: Hayo Baan on November 17, 2014, 11:45:06 AM
Quote from: Phil Harvey on November 17, 2014, 07:21:02 AM
Edit:  Looking closer at this image, the culprit software that caused this problem appears to be Nikon Capture NX.

Oh, what a surprise ;)