[Insight-users] Debug Asertion failed in the DicomImageViewer.

Samuel Rodríguez Bescos srodrigu@gbt.tfo.upm.es
Tue, 5 Nov 2002 16:23:48 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C284E7.B872D380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,

I'm executing the dicomViewer example of the last Update. The project =
compile fine but when It runs, appears the next message:

Debug assertion failed!
Program:...\..\Insight\bin\Debug\DicomImageViewer.exe
File:dbgheap.c
Line:1011

Expresion:_CrtIsValidHeapPointer(pUserData)

For your information on how your program can cause an assertion =
failure,see the Visual C++ documentations on asserts.

I have executed step by step and teh error is in the line:

 fName =3D fl_file_chooser("Pick a DicomImage file", "*.dcm", ".");

Please, has anyone any idea?.

Thanks,

Sam





------=_NextPart_000_0019_01C284E7.B872D380
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello everybody,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm executing the dicomViewer example =
of the last=20
Update. The project compile fine but when It runs, appears the next=20
message:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Debug assertion failed!</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>Program:...\..\Insight\bin\Debug\DicomImageViewer.exe</FONT></DI=
V>
<DIV><FONT face=3DArial size=3D2>File:dbgheap.c</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Line:1011</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>Expresion:_CrtIsValidHeapPointer(pUserData)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For your information on how your =
program can cause=20
an assertion failure,see the Visual C++ documentations on =
asserts.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have executed step by step and teh =
error is in=20
the line:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;fName =3D fl_file_chooser("Pick a =
DicomImage=20
file", "*.dcm", ".");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please, has anyone any =
idea?.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sam</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0019_01C284E7.B872D380--