[Insight-users] DeformableModelSimplexMesh example problems

Luis Ibanez luis.ibanez at kitware.com
Fri May 28 11:58:49 EDT 2010


Hi Dženan,

Thanks for testing the builds in 32bits.

This certainly looks like a bug.

Please make an entry at
http://public.kitware.com/Bug/my_view_page.php

At this point it is unclear if this is an

* ITK Bug, or
* VTK Bug, or
* InsightApplications Bug...

So, please log it as an ITK bug, and make sure
that you mention your findings regarding 64bits
versus 32 bits.


The next step is to reduce this problem to
a very minimal case...


The center of the problem seems to be the
conversion of the ITK mesh to the VTK mesh.

You could take that piece of code out of the
InsightApplications code, and into its own
small file, and see if the problem can be
replicated there (in a 64 bits build).


I'm assuming that you would like to Adopt
this bug....    is that right ?


    Thanks


         Luis


-------------------------------------------------------------
2010/5/28 Dženan Zukić <dzenanz at gmail.com>

> Hi Luis,
>
> I just compiled everything for 32bit in a virtual machine (WinXP), and this
> bug is not manifesting itself. Not even when I copy the resulting executable
> and use it on my Win7 x64 OS. Can someone else confirm this? And the
> appropriate place to submit bug report would be VTK bug tracker?
>
> Regards,
> Dženan
>
> 2010/5/26 Luis Ibanez <luis.ibanez at kitware.com>
>
> Hi Dženan,
>>
>> Thanks for checking on that variable.
>>
>> I'll be curious to see if the problem happens
>> if you compile the code for 32bits.
>>
>> Could you please try compiling ITK, VTK,
>> and InsightApplications for 32bits ?
>>
>>
>> I presume that your image and surfaces are
>> not large enough to require 64bits storage yet...
>>
>>
>>  Please let us know what you find,
>>
>>
>>     Thanks
>>
>>
>>         Luis
>>
>>
>> -----------------------------------------------------
>> 2010/5/26 Dženan Zukić <dzenanz at gmail.com>:
>> > Hi Luis!
>> > Thanks for suggestion, but that flag was already turned on. I tried
>> > regenerating project files with CMake, and then rebuilding VTK and the
>> > example, but no change. I also tried reducing size of initial sphere (to
>> > keep it entirely within image), but that did not help either. Anything
>> else
>> > I could try?
>> > Regards,
>> > Dženan
>> >
>> > 2010/5/24 Luis Ibanez <luis.ibanez at kitware.com>
>> >>
>> >> Hi Dženan
>> >>
>> >> You may want to try turning ON the following CMake flag in VTK:
>> >>
>> >>               VTK_USE_64BIT_IDS_DEFAULT
>> >>
>> >>
>> >>     Regards,
>> >>
>> >>
>> >>          Luis
>> >>
>> >>
>> >> ----------------------------------------------------
>> >> 2010/5/19 Dženan Zukić <dzenanz at gmail.com>:
>> >> > Hi everyone,
>> >> > I have been trying to use the deformable model simplex mesh example
>> in
>> >> > insight applications, but using seed point does not work - the
>> program
>> >> > always crashes.
>> >> > I followed it in debugger, and the crash occurs deep in VTK code,
>> which
>> >> > is
>> >> > invoked through render method from
>> >> > \Applications\DeformableModelSimplexMesh\ImageSurfaceViewer.cxx, line
>> >> > 285.
>> >> > The problem manifests itself in file
>> >> > \vtk-5.6.0\Common\vtkDataArrayTemplate.txx, line 613 (Unhandled
>> >> > exception at
>> >> > 0x000000013f45a9e9 in DeformableModelSimplexMesh.exe: 0xC0000005:
>> Access
>> >> > violation reading location 0x000000c003bc2100.). The problem at that
>> >> > point
>> >> > is that parameter "vtkIdType i" is equal to 68719476736, which is
>> >> > obviously
>> >> > junk.
>> >> > I am working on Win7 x64 (my stuff built for x64 target), VS2008SP1,
>> ITK
>> >> > 3.18, InsightApplications 3.18.
>> >> > Can anyone shed some light on this?
>> >> > Thanks,
>> >> > Dženan
>> >> > _____________________________________
>> >> > Powered by www.kitware.com
>> >> >
>> >> > Visit other Kitware open-source projects at
>> >> > http://www.kitware.com/opensource/opensource.html
>> >> >
>> >> > Kitware offers ITK Training Courses, for more information visit:
>> >> > http://www.kitware.com/products/protraining.html
>> >> >
>> >> > Please keep messages on-topic and check the ITK FAQ at:
>> >> > http://www.itk.org/Wiki/ITK_FAQ
>> >> >
>> >> > Follow this link to subscribe/unsubscribe:
>> >> > http://www.itk.org/mailman/listinfo/insight-users
>> >> >
>> >> >
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100528/d3b8a899/attachment.htm>


More information about the Insight-users mailing list