M0108, Priority: High, Command: build/bin/MedicalExamplesCxxTests TestMedical3 build/ExternalData//Testing/Data/headsq/quarter -D build/ExternalData//Testing -T build/Testing/Temporary -V build/ExternalData/Examples/Medical/Cxx/Baseline/TestMedical3.png

Data race detected

The heap object of size 1036 allocated through a call to function "malloc" in function "vtkDataArrayTemplate::Allocate(long long, long long) " at vtk/Common/Core/vtkDataArrayTemplate.txx:136
    called from function "vtkLookupTable::vtkLookupTable(int, int) " at vtk/Common/Core/vtkLookupTable.cxx:43
    called from function "vtkLookupTable::New() " at vtk/Common/Core/vtkLookupTable.cxx:32
    called from function "vtkSmartPointer::New() " at vtk/Common/Core/vtkSmartPointer.h:117
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:169
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    is concurrently accessed by:

the read in function "void (anonymous namespace)::vtkLookupTableMapData(vtkLookupTable*, unsigned short*, unsigned char*, int, int, int, (anonymous namespace)::TableParameters&) " at vtk/Common/Core/vtkLookupTable.cxx:789
    called from function "vtkLookupTable::MapScalarsThroughTable2(void*, unsigned char*, int, int, int, int) " at vtk/Common/Core/vtkLookupTable.cxx:1166
    called from function "vtkImageMapToColorsExecute(vtkImageMapToColors*, vtkImageData*, vtkDataArray*, vtkCharArray*, vtkImageData*, vtkDataArray*, int*, int, unsigned char*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:248
    called from function "vtkImageMapToColors::ThreadedRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*, vtkImageData***, vtkImageData**, int*, int) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:322
    called from function "vtkThreadedImageAlgorithmThreadedExecute(void*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:200
    called from function "vtkMultiThreader::SingleMethodExecute() " at vtk/Common/Core/vtkMultiThreader.cxx:388
    called from function "vtkThreadedImageAlgorithm::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:294
    called from function "vtkImageMapToColors::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:109
    called from function "vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkImageAlgorithm.cxx:103
    called from function "vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkExecutive.cxx:775
    called from function "vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:491
    called from function "vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:178
    called from function "vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:274
    called from function "vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:310
    called from function "vtkDemandDrivenPipeline::UpdateData(int) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:441
    called from function "vtkStreamingDemandDrivenPipeline::Update(int) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:363
    called from function "vtkAlgorithm::Update(int) " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1455
    called from function "vtkAlgorithm::Update() " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1449
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:208
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    performing 2079 access(es) of size 1 at an offset of 1028 bytes from the start of the object
and the read in function "void (anonymous namespace)::vtkLookupTableMapData(vtkLookupTable*, unsigned short*, unsigned char*, int, int, int, (anonymous namespace)::TableParameters&) " at vtk/Common/Core/vtkLookupTable.cxx:789
    called from function "vtkLookupTable::MapScalarsThroughTable2(void*, unsigned char*, int, int, int, int) " at vtk/Common/Core/vtkLookupTable.cxx:1166
    called from function "vtkImageMapToColorsExecute(vtkImageMapToColors*, vtkImageData*, vtkDataArray*, vtkCharArray*, vtkImageData*, vtkDataArray*, int*, int, unsigned char*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:248
    called from function "vtkImageMapToColors::ThreadedRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*, vtkImageData***, vtkImageData**, int*, int) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:322
    called from function "vtkThreadedImageAlgorithmThreadedExecute(void*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:200
    called from thread start
    called from function "pthread_create"
    called from function "vtkMultiThreader::SingleMethodExecute() " at vtk/Common/Core/vtkMultiThreader.cxx:373
    called from function "vtkThreadedImageAlgorithm::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:294
    called from function "vtkImageMapToColors::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:109
    called from function "vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkImageAlgorithm.cxx:103
    called from function "vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkExecutive.cxx:775
    called from function "vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:491
    called from function "vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:178
    called from function "vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:274
    called from function "vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:310
    called from function "vtkDemandDrivenPipeline::UpdateData(int) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:441
    called from function "vtkStreamingDemandDrivenPipeline::Update(int) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:363
    called from function "vtkAlgorithm::Update(int) " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1455
    called from function "vtkAlgorithm::Update() " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1449
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:208
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    performing 2582 access(es) of size 1 at an offset of 1028 bytes from the start of the object
and the write in function "void (anonymous namespace)::vtkLookupTableMapData(vtkLookupTable*, unsigned short*, unsigned char*, int, int, int, (anonymous namespace)::TableParameters&) " at vtk/Common/Core/vtkLookupTable.cxx:701
    called from function "vtkLookupTable::MapScalarsThroughTable2(void*, unsigned char*, int, int, int, int) " at vtk/Common/Core/vtkLookupTable.cxx:1166
    called from function "vtkImageMapToColorsExecute(vtkImageMapToColors*, vtkImageData*, vtkDataArray*, vtkCharArray*, vtkImageData*, vtkDataArray*, int*, int, unsigned char*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:248
    called from function "vtkImageMapToColors::ThreadedRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*, vtkImageData***, vtkImageData**, int*, int) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:322
    called from function "vtkThreadedImageAlgorithmThreadedExecute(void*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:200
    called from function "vtkMultiThreader::SingleMethodExecute() " at vtk/Common/Core/vtkMultiThreader.cxx:388
    called from function "vtkThreadedImageAlgorithm::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:294
    called from function "vtkImageMapToColors::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:109
    called from function "vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkImageAlgorithm.cxx:103
    called from function "vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkExecutive.cxx:775
    called from function "vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:491
    called from function "vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:178
    called from function "vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:274
    called from function "vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:310
    called from function "vtkDemandDrivenPipeline::UpdateData(int) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:441
    called from function "vtkStreamingDemandDrivenPipeline::Update(int) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:363
    called from function "vtkAlgorithm::Update(int) " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1455
    called from function "vtkAlgorithm::Update() " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1449
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:208
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    performing 2480 access(es) of size 1 at an offset of 1028 bytes from the start of the object
and the write in function "void (anonymous namespace)::vtkLookupTableMapData(vtkLookupTable*, unsigned short*, unsigned char*, int, int, int, (anonymous namespace)::TableParameters&) " at vtk/Common/Core/vtkLookupTable.cxx:701
    called from function "vtkLookupTable::MapScalarsThroughTable2(void*, unsigned char*, int, int, int, int) " at vtk/Common/Core/vtkLookupTable.cxx:1166
    called from function "vtkImageMapToColorsExecute(vtkImageMapToColors*, vtkImageData*, vtkDataArray*, vtkCharArray*, vtkImageData*, vtkDataArray*, int*, int, unsigned char*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:248
    called from function "vtkImageMapToColors::ThreadedRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*, vtkImageData***, vtkImageData**, int*, int) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:322
    called from function "vtkThreadedImageAlgorithmThreadedExecute(void*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:200
    called from thread start
    called from function "pthread_create"
    called from function "vtkMultiThreader::SingleMethodExecute() " at vtk/Common/Core/vtkMultiThreader.cxx:373
    called from function "vtkThreadedImageAlgorithm::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:294
    called from function "vtkImageMapToColors::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:109
    called from function "vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkImageAlgorithm.cxx:103
    called from function "vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkExecutive.cxx:775
    called from function "vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:491
    called from function "vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:178
    called from function "vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:274
    called from function "vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:310
    called from function "vtkDemandDrivenPipeline::UpdateData(int) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:441
    called from function "vtkStreamingDemandDrivenPipeline::Update(int) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:363
    called from function "vtkAlgorithm::Update(int) " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1455
    called from function "vtkAlgorithm::Update() " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1449
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:208
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    performing 3049 access(es) of size 1 at an offset of 1028 bytes from the start of the object
and the write in function "void (anonymous namespace)::vtkLookupTableMapData(vtkLookupTable*, unsigned short*, unsigned char*, int, int, int, (anonymous namespace)::TableParameters&) " at vtk/Common/Core/vtkLookupTable.cxx:701
    called from function "vtkLookupTable::MapScalarsThroughTable2(void*, unsigned char*, int, int, int, int) " at vtk/Common/Core/vtkLookupTable.cxx:1166
    called from function "vtkImageMapToColorsExecute(vtkImageMapToColors*, vtkImageData*, vtkDataArray*, vtkCharArray*, vtkImageData*, vtkDataArray*, int*, int, unsigned char*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:248
    called from function "vtkImageMapToColors::ThreadedRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*, vtkImageData***, vtkImageData**, int*, int) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:322
    called from function "vtkThreadedImageAlgorithmThreadedExecute(void*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:200
    called from thread start
    called from function "pthread_create"
    called from function "vtkMultiThreader::SingleMethodExecute() " at vtk/Common/Core/vtkMultiThreader.cxx:373
    called from function "vtkThreadedImageAlgorithm::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx:294
    called from function "vtkImageMapToColors::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Imaging/Core/vtkImageMapToColors.cxx:109
    called from function "vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkImageAlgorithm.cxx:103
    called from function "vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkExecutive.cxx:775
    called from function "vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:491
    called from function "vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:178
    called from function "vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:274
    called from function "vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:310
    called from function "vtkDemandDrivenPipeline::UpdateData(int) " at vtk/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:441
    called from function "vtkStreamingDemandDrivenPipeline::Update(int) " at vtk/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:363
    called from function "vtkAlgorithm::Update(int) " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1455
    called from function "vtkAlgorithm::Update() " at vtk/Common/ExecutionModel/vtkAlgorithm.cxx:1449
    called from function "TestMedical3(int, char**) " at vtk/Examples/Medical/Cxx/Medical3.cxx:208
    called from function "main" at build/Examples/Medical/Cxx/MedicalExamplesCxxTests.cxx:212
    called from application start
    performing 8884 access(es) of size 1 at an offset of 1028 bytes from the start of the object
