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

Henning Meyer tutmann at gmail.com
Thu Jun 29 01:53:07 EDT 2006


yes I'm doing this. I'm building a debug dll which runs inside a
release version of my app.
Is this a clear "don't do it"?

Henning

2006/6/28, Karthik Krishnan <Karthik.Krishnan at kitware.com>:
> 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