MATLAB: Do I receive a segmentation violation while opening a TIFF-file using the IMREAD function in MATLAB 6.5.1 (R13SP1)

fileimreadMATLABreadsegmentationtiftiffviolation

I receive the following segmentation violation below when I try to open a TIFF file using IMREAD in MATLAB 6.5.1 (R13SP1).
------------------------------------------------------------------------
Segmentation violation detected at Wed Jun 30 14:12:51 2004
------------------------------------------------------------------------
Configuration:
MATLAB Version: 6.5.1.199709 (R13) Service Pack 1
Operating System: Microsoft Windows XP
Window System: Version 5.1 (Build 2600: Service Pack 1)
Processor ID: x86 Family 15 Model 2 Stepping 9, GenuineIntel
Virtual Machine: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Register State:
EAX = 00009240 EBX = 00000055
ECX = 0004c6a0 EDX = 00000000
ESI = 00043400 EDI = 202b18ec
EBP = 0009db50 ESP = 00dfb010
EIP = 202a675a FLG = 00010202
Stack Trace:
[0] rtifc.dll:0x202a675a(0, 299585, 1, 0)
[1] 0x00000001(0, 0, 0, 0)
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function, please
follow these steps in reporting this problem to MathWorks so
that we have the best chance of correcting it:
1. Send this crash report to segv@mathworks.com for automated analysis.
For your convenience, this information has been recorded in:
C:\Temp\matlab_crash_dump.2836
2. Also, if the problem is reproducible, send the crash report to
support@mathworks.com along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed prior to this crash report
A technical support engineer will contact you with further information.

Best Answer

This problem has been fixed in MATLAB 7.0 (R14).
We have verified that this was a bug in MATLAB 6.5.1 (R13SP1) in the way that the IMREAD function handles TIFF files. There are currently no known workarounds.