[Insight-developers] ImageIOFactory::CreateImageIO crashed in DEBUG (ITK 2.6 VC7.1)

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Jun 28 17:46:40 EDT 2006


Can you post a minimal test code ?

I would suspect you are mixing linking a debug version of your app 
against ITK built for release.   (Runtime library specified for linking 
is /MDd).

Henning Meyer wrote:

> I'm trying to write a 2d png in my program. This works nicely in
> RELEASE but fails an assertion in DEBUG.
> Location is the end of ImageIOFactory::CreateImageIO. Inside the 
> destructor of
> std::list<LightObject::Pointer> allobjects; happens a failed assertion
> Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse).
>
> Whats going on here? Is this a known bug of list of smartpointers in VC?
>
> Henning
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list