[Insight-users] [Insight-developers] ITK Shared Libs on Mac

Nicolas Rannou nicolas.lists at gmail.com
Wed Aug 17 11:56:39 EDT 2011


Hi all,

after more investigation, I realized the code failing is in the "REVIEW"
directory, when Update() is called on the filter of interest.
I observed the crash with itkLabelImageToShapeLabelMapFilter.h and
with itkScalarChanAndVeseSparseLevelSetImageFilter.h but I assume it would
happen with any of the filters present in this directory.

I modified the CMakeLists of the "REVIEW" directory (uncommented some code
to generate the ITKReview lib).

#

#   Begin of optional ITKReview library setup

#

...

#uncomment


I also modified the ITKConfig.cmake, adding ITKReview to ITK_LIBRARIES...

But I still can't get any success...


Any advice would be greatly appreciated,

Nicolas


the executable is now linked to:

n at dhc0:~/BUILD/gofigure2  $ otool -L
./bin/gofigure.app/Contents/MacOS/gofigure | grep ITK | cut -d \( -f1 | cut
-d \/ -f8 | sort -n


libITKAlgorithms.3.20.dylib

libITKBasicFilters.3.20.dylib

libITKCommon.3.20.dylib

libITKDICOMParser.3.20.dylib

libITKEXPAT.3.20.dylib

libITKFEM.3.20.dylib

libITKIO.3.20.dylib

libITKIOReview.3.20.dylib

libITKMetaIO.3.20.dylib

libITKNrrdIO.3.20.dylib

libITKNumerics.3.20.dylib

libITKReview.3.20.dylib

libITKSpatialObject.3.20.dylib

libITKStatistics.3.20.dylib

libITKniftiio.3.20.dylib

libITKznz.3.20.dylib

libitkNetlibSlatec.3.20.dylib

libitkgdcm.3.20.dylib

libitkjpeg12.3.20.dylib

libitkjpeg16.3.20.dylib

libitkjpeg8.3.20.dylib

libitkopenjpeg.3.20.dylib

libitkpng.3.20.dylib

libitksys.3.20.dylib

libitktiff.3.20.dylib

libitkv3p_lsqr.3.20.dylib

libitkv3p_netlib.3.20.dylib

libitkvcl.3.20.dylib

libitkvnl.3.20.dylib

libitkvnl_algo.3.20.dylib

libitkvnl_inst.3.20.dylib

libitkzlib.3.20.dylib


On Mon, Aug 15, 2011 at 11:39 AM, Nicolas Rannou <nicolas.lists at gmail.com>wrote:

> Hi Luis,
>
> Sorry for the late answer, I didn't see your response!
>
> Yes I already checked it an nothing looks wrong to me, here is the output:
>
> n at dhc0:~/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS  $ otool -L
> gofigure
> gofigure:
> /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libQGoGui.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
>  /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libQGoIO.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
> /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libitkQt.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
>  /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libGoFilter.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
> /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libvtkLSMReader.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libQVTK.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /usr/local/Trolltech/Qt-4.6.3/lib/QtWebKit.framework/Versions/4/QtWebKit
> (compatibility version 4.6.0, current version 4.6.3)
>  /usr/local/Trolltech/Qt-4.6.3/lib/phonon.framework/Versions/4/phonon
> (compatibility version 4.3.0, current version 4.3.1)
> /usr/local/Trolltech/Qt-4.6.3/lib/QtXmlPatterns.framework/Versions/4/QtXmlPatterns
> (compatibility version 4.6.0, current version 4.6.3)
>  /usr/local/Trolltech/Qt-4.6.3/lib/QtNetwork.framework/Versions/4/QtNetwork
> (compatibility version 4.6.0, current version 4.6.3)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkViews.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkInfovis.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtklibxml2.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkalglib.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libvtkRenderingAddOn2.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkWidgets.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkVolumeRendering.5.9.dylib
> (compatibility version 5.9.0, current version 5.9.0)
>  /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libPoissonReconstruction.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkHybrid.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkRendering.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkIO.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkDICOMParser.5.9.dylib
> (compatibility version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkNetCDF.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkNetCDF_cxx.dylib (compatibility
> version 0.0.0, current version 0.0.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkmetaio.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtksqlite.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkpng.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkzlib.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkjpeg.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtktiff.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkexpat.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkImaging.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /usr/local/Trolltech/Qt-4.6.3/lib/QtSql.framework/Versions/4/QtSql
> (compatibility version 4.6.0, current version 4.6.3)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkGraphics.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkFiltering.5.9.dylib
> (compatibility version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkCommon.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtksys.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkverdict.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
> 228.0.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkfreetype.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkexoIIc.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
> /Users/nr52/GITROOT/VTK/BUILD/bin/libvtkftgl.5.9.dylib (compatibility
> version 5.9.0, current version 5.9.0)
>  /Users/nr52/BUILD/gofigure2/bin/gofigure.app/Contents/MacOS/libctk.0.8.dylib
> (compatibility version 0.8.0, current version 0.8.0)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKAlgorithms.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKNumerics.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKStatistics.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkNetlibSlatec.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKFEM.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKBasicFilters.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKIO.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKNrrdIO.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkgdcm.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkjpeg12.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkjpeg16.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkopenjpeg.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 159.0.0)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkpng.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitktiff.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkjpeg8.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKSpatialObject.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKCommon.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkvnl_inst.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkvnl_algo.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkv3p_netlib.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkvnl.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkvcl.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitkv3p_lsqr.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKMetaIO.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libitksys.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKDICOMParser.3.20.dylib
> (compatibility version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKEXPAT.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libITKniftiio.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /Users/nr52/GITROOT/ITK/BUILD/bin/libITKznz.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
> /Users/nr52/GITROOT/ITK/BUILD/bin/libitkzlib.3.20.dylib (compatibility
> version 3.20.0, current version 3.20.1)
>  /usr/local/Trolltech/Qt-4.6.3/lib/QtGui.framework/Versions/4/QtGui
> (compatibility version 4.6.0, current version 4.6.3)
> /usr/local/Trolltech/Qt-4.6.3/lib/QtCore.framework/Versions/4/QtCore
> (compatibility version 4.6.0, current version 4.6.3)
>  /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
> 52.0.0)
>
>
> I've been able, after some modifications in the code/cmakelists to
> isolate/simplify? the problem.
> Now, myITKFilter crashes in the Update() method.
> The problem only occurs on Mac OSX SHARED.
> The test related to the filter is working, only the application is
> crashing...
>
> Update() doesnt do anything fancy, I tried to simplify it as much as
> possible:
>
>   // shape stuff
>
> typedef LabelImageToShapeLabelMapFilter< MaskImageType,ShapeLabelMapType >
> ShapeConverterType;
>
> typedef typename ShapeConverterType::Pointer ShapeConverterPointer;
>
>
>  ShapeConverterPointer shapeConverter = ShapeConverterType::New();
>
>
>  m_MaskImage->Print(std::cout);  // No problem here, everything looks
> alright
>
>
>  shapeConverter->SetInput(m_MaskImage);
>
> shapeConverter->SetBackgroundValue(0);
>
> shapeConverter->SetComputePerimeter(false);
>
>
>  try
>
> {
>
> shapeConverter->Update(); // Crash
>
> }
>
> catch(itk::ExceptionObject & e)
>
> {
>
> std::cerr << "Exception Caught: " << e << std::endl;
>
> std::cerr << "shapeConverter->Update()" << std::endl;
>
> return;
>
> }
>
>
> ...
>
>
> here is the backtrace after the crash:
>
>
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>
> Exception Codes: 0x000000000000000d, 0x0000000000000000
>
>
> VM Regions Near 0:
>
> -->
>
>     __TEXT                 000000010c9d2000-000000010cadc000 [ 1064K]
> r-x/rwx SM=COW  /Users/USER/*/gofigure.app/Contents/MacOS/gofigure
>
>
> Application Specific Information:
>
> objc[47593]: garbage collection is OFF
>
>
> Thread 0:: Dispatch queue: com.apple.main-thread
>
> 0   libQGoGui.0.8.dylib           0x000000010cb8fca0
> std::deque<itk::LabelObjectLine<3u>, std::allocator<itk::LabelObjectLine<3u>
> > >::push_back(itk::LabelObjectLine<3u> const&) + 76
>
> 1   libQGoGui.0.8.dylib           0x000000010cba90ec
> itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >::SetLine(itk::Index<3u>
> const&, unsigned long const&, bool const&) + 186
>
> 2   libQGoGui.0.8.dylib           0x000000010cb9e4dc
> itk::LabelImageToLabelMapFilter<itk::Image<unsigned char, 3u>,
> itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
> >::ThreadedGenerateData(itk::ImageRegion<3u> const&, int) + 528
>
> 3   libQGoGui.0.8.dylib           0x000000010cb88de5
> itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
> >::ThreaderCallback(void*) + 129
>
> 4   libITKCommon.3.20.dylib       0x00000001128ea6b1
> itk::MultiThreader::SingleMethodExecute() + 565
>
> 5   libQGoGui.0.8.dylib           0x000000010cb9d11d
> itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
> >::GenerateData() + 129
>
> 6   libITKCommon.3.20.dylib       0x000000011290563a
> itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 628
>
> 7   libQGoGui.0.8.dylib           0x000000010cb9a6e5
> itk::ImageBase<3u>::UpdateOutputData() + 713
>
> 8   libITKCommon.3.20.dylib       0x0000000112905476
> itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 176
>
> 9   libQGoGui.0.8.dylib           0x000000010cb9a6e5
> itk::ImageBase<3u>::UpdateOutputData() + 713
>
> 10  libQGoGui.0.8.dylib           0x000000010cb9ec34
> itk::LabelImageToShapeLabelMapFilter<itk::Image<unsigned char, 3u>,
> itk::LabelMap<itk::ShapeLabelObject<bool, 3u> > >::GenerateData() + 442
>
> 11  libITKCommon.3.20.dylib       0x000000011290563a
> itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 628
>
> 12  libQGoGui.0.8.dylib           0x000000010cb9a6e5
> itk::ImageBase<3u>::UpdateOutputData() + 713
>
> 13  libQGoGui.0.8.dylib           0x000000010cba48dc
> itk::BinaryMaskImageToGoFigureMeshAttributes<itk::Image<unsigned char, 3u>,
> itk::Image<unsigned char, 3u> >::GenerateData() + 184
>
> 14  libQGoGui.0.8.dylib           0x000000010cbaafa3
> itk::vtkPolyDataToGoFigureMeshAttributes<itk::Image<unsigned char, 3u>
> >::GenerateData() + 663
>
>
> Thanks,
>
> Nicolas
>
>
>
>
>
> On Sat, Aug 13, 2011 at 4:16 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:
>
>> Hi Nicolas,
>>
>> Please run the following command in your executable
>> and let us know what you find.
>>
>>
>>                         otool      -L     executable
>>
>>
>> It should list all the shared libraries that your executable
>> depends on.
>>
>> It is quite likely that you have some other version of
>> shared libraries lurking around...
>>
>>
>>      Luis
>>
>>
>>
>> -----------------------------------------------------------------------
>> On Thu, Aug 11, 2011 at 1:05 PM, Nicolas Rannou <nicolas.lists at gmail.com>
>> wrote:
>> > Hi all,
>> > I'm having hard time debugging issues related to ITK and Mac.
>> > I can use my application on STATIC without any problem.
>> > If I try to go to SHARED mode on mac (to generate installers) my
>> application
>> > is not working anymore: sometimes it crashes, sometimes it works.
>> > SHARED mode is working on windows and on linux!
>> > When it crashes, it crashes at random locations.
>> > Nevertheless, those locations are always itk-based objects.(See at the
>> end
>> > of the mail several bt to illustrate my sayings)
>> > I tried my app with the ITK release branch (github) and with the ITK
>> > official release tar (http://itk.org/ITK/resources/software.html)
>> > Did somebody already experienced this issue?
>> > Would somebody have any suggestion about how to fix/trac/debug this
>> issue?
>> > I assume the problem is related to ITK SmartPointers being erased
>> whereas
>> > they shouldn't?
>> >
>> > Thanks a lot,
>> > Nicolas
>> > ________________________________________________________________________
>> > ===============================================================
>> > ________________________________________________________________________
>> > Application Specific Information:
>> > objc[14057]: garbage collection is OFF
>> > *** error for object 0x7fab9a95ea10: pointer being freed was not
>> allocated
>> > ________________________________________________________________________
>> > ===============================================================
>> > ________________________________________________________________________
>> > Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>> > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
>> > VM Regions Near 0x18:
>> > -->
>> >     __TEXT                 000000010b0a7000-000000010b1f9000 [ 1352K]
>> > r-x/rwx SM=COW  /Users/USER/*/gofigure.app/Contents/MacOS/gofigure
>> > Application Specific Information:
>> > objc[11040]: garbage collection is OFF
>> > Thread 0:: Dispatch queue: com.apple.main-thread
>> > 0   libQGoGui.0.8.dylib           0x000000010b777654
>> > itk::Index<3u>::operator[](unsigned int) + 20 (itkIndex.h:210)
>> > 1   libQGoGui.0.8.dylib           0x000000010b7831c5
>> > itk::ImageLinearConstIteratorWithIndex<itk::Image<unsigned char, 3u>
>> >>::operator++() + 49 (itkImageLinearConstIteratorWithIndex.h:196)
>> > 2   libQGoGui.0.8.dylib           0x000000010b5451e2
>> > itk::LabelImageToLabelMapFilter<itk::Image<unsigned char, 3u>,
>> > itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::ThreadedGenerateData(itk::ImageRegion<3u> const&, int) + 676
>> > (itkLabelImageToLabelMapFilter.txx:104)
>> > 3   libQGoGui.0.8.dylib           0x000000010b4f30c1
>> > itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::ThreaderCallback(void*) + 243 (itkImageSource.txx:296)
>> > 4   libITKCommon.3.20.dylib       0x00000001123216b1
>> > itk::MultiThreader::SingleMethodExecute() + 565
>> > 5   libQGoGui.0.8.dylib           0x000000010b541bd9
>> > itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::GenerateData() + 239 (itkImageSource.txx:244)
>> > 6   libITKCommon.3.20.dylib       0x000000011233c63a
>> > itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 628
>> > 7   libQGoGui.0.8.dylib           0x000000010b8072cc
>> > itk::ImageBase<3u>::UpdateOutputData() + 124 (itkImageBase.txx:280)
>> > 8   libITKCommon.3.20.dylib       0x000000011233c476
>> > itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 176
>> > 9   libQGoGui.0.8.dylib           0x000000010b8072cc
>> > itk::ImageBase<3u>::UpdateOutputData() + 124 (itkImageBase.txx:280)
>> > 10  libQGoGui.0.8.dylib           0x000000010b545c1b
>> > itk::LabelImageToShapeLabelMapFilter<itk::Image<unsigned char, 3u>,
>> > itk::LabelMap<itk::ShapeLabelObject<bool, 3u> > >::GenerateData() + 1049
>> > (itkLabelImageToShapeLabelMapFilter.txx:88)
>> > ________________________________________________________________________
>> > ===============================================================
>> > ________________________________________________________________________
>> > Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>> > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
>> > VM Regions Near 0x18:
>> > -->
>> >     __TEXT                 000000010b92c000-000000010ba7e000 [ 1352K]
>> > r-x/rwx SM=COW  /Users/USER/*/gofigure.app/Contents/MacOS/gofigure
>> > Application Specific Information:
>> > objc[11102]: garbage collection is OFF
>> > Thread 0:: Dispatch queue: com.apple.main-thread
>> > 0   libQGoGui.0.8.dylib           0x000000010bd65e5d
>> > itk::SmartPointer<itk::ShapeLabelObject<bool, 3u> >::operator->() const
>> + 27
>> > (itkSmartPointer.h:70)
>> > 1   libQGoGui.0.8.dylib           0x000000010bde422a
>> > itk::ShapeLabelObject<bool, 3u>::New() + 186 (itkShapeLabelObject.h:54)
>> > 2   libQGoGui.0.8.dylib           0x000000010bde43c0
>> > itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >::SetLine(itk::Index<3u>
>> > const&, unsigned long const&, bool const&) + 252 (itkLabelMap.txx:291)
>> > 3   libQGoGui.0.8.dylib           0x000000010bdc81cf
>> > itk::LabelImageToLabelMapFilter<itk::Image<unsigned char, 3u>,
>> > itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::ThreadedGenerateData(itk::ImageRegion<3u> const&, int) + 657
>> > (itkLabelImageToLabelMapFilter.txx:120)
>> > 4   libQGoGui.0.8.dylib           0x000000010bd760c1
>> > itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::ThreaderCallback(void*) + 243 (itkImageSource.txx:296)
>> > 5   libITKCommon.3.20.dylib       0x0000000112bd06b1
>> > itk::MultiThreader::SingleMethodExecute() + 565
>> > 6   libQGoGui.0.8.dylib           0x000000010bdc4bd9
>> > itk::ImageSource<itk::LabelMap<itk::ShapeLabelObject<bool, 3u> >
>> >>::GenerateData() + 239 (itkImageSource.txx:244)
>> > 7   libITKCommon.3.20.dylib       0x0000000112beb63a
>> > itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 628
>> > 8   libQGoGui.0.8.dylib           0x000000010c08a2cc
>> > itk::ImageBase<3u>::UpdateOutputData() + 124 (itkImageBase.txx:280)
>> > 9   libITKCommon.3.20.dylib       0x0000000112beb476
>> > itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 176
>> > 10  libQGoGui.0.8.dylib           0x000000010c08a2cc
>> > itk::ImageBase<3u>::UpdateOutputData() + 124 (itkImageBase.txx:280)
>> >
>> > _______________________________________________
>> > 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://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-developers
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110817/8d135433/attachment-0001.htm>


More information about the Insight-users mailing list