[Insight-developers] gzip and metaIO

David Cole david.cole at kitware.com
Wed Dec 15 10:24:49 EST 2010


Kent,

How did you change MetaIO?? I thought only the robot was allowed to
change MetaIO....?

Perhaps this is the cause of that other guy's problem (recent
discussion between somebody and Stephen Aylward about problems with
VTK/ITK/gdcm and MetaIO....)


On Wed, Dec 15, 2010 at 10:11 AM, kent williams
<norman-k-williams at uiowa.edu> wrote:
> I don't see this failure on Mac OS X or on RHEL5 builds.
>
> What's wrong is that I'm printing out an error message when an error
> condition occurs, and the calling code ignores the return code for that
> function, so it goes into an endless loop printing error messages.
>
> This is bad, of course; I'll see if I can figure out how to catch the error
> code and do a more graceful failure.
>
> But the problem shouldn't occur, unless you're not up to date
> ITK/Utilities/MetaIO -- that's the error message you'd see if you tried to
> read a gzipped voxel file, without the fix I recently put into MetaIO.
>
> So I'm concerned that there's something screwed up with the ITK tree your
> machines are trying to test.  An easy test to see if you've got the right
> stuff:
>
> grep inflateInit2 ITK/Utilities/MetaIO/metaUtils.cxx
>
> If it doesn't find that function, your MetaIO is out of date.
>
> I am testing another change to MetaIO to propogate read errors up the call
> chain, so that this will be an immediate failure rather than an endless
> loop.
>
> On 12/15/10 5:31 AM, "Gaëtan Lehmann" <gaetan.lehmann at jouy.inra.fr> wrote:
>
>>
>> Hi Kent,
>>
>> For some days, some of my build were failing badly, sometimes crashing
>> the host where they are running after running short in memory.
>> The problem seems to be with the test itkMetaImageIOGzTest which
>> produce a lot (several GB!) of warnings - see the logs at the end of
>> the mail.
>> ctest can't survive to this huge amount of data and die eventually,
>> without reporting any problem on the dashboard.
>>
>> Any idea on what is wrong?
>>
>> Gaëtan
>>
>>
>> [glehmann at itk1 ITK-sse64]$ ctest -R itkMetaImageIOGzTest -V | head -n100
>> UpdateCTestConfiguration  from :/home/papha/glehmann/src/tests/ITK-
>> sse64/DartConfiguration.tcl
>> Parse Config file:/home/papha/glehmann/src/tests/ITK-sse64/
>> DartConfiguration.tcl
>>   Add coverage exclude regular expressions.
>>   Add coverage exclude: /CMakeFiles/CMakeTmp/
>>   Add coverage exclude: .*/Testing/.*
>>   Add coverage exclude: .*/Wrapping/.*
>>   Add coverage glob: Source/.*/*.h
>>   Add coverage glob: Source/.*/*.txx
>>   Add coverage glob: Source/.*/*.cxx
>> UpdateCTestConfiguration  from :/home/papha/glehmann/src/tests/ITK-
>> sse64/DartConfiguration.tcl
>> Parse Config file:/home/papha/glehmann/src/tests/ITK-sse64/
>> DartConfiguration.tcl
>> Test project /home/papha/glehmann/src/tests/ITK-sse64
>> Constructing a list of tests
>> Done constructing a list of tests
>> Checking test dependency graph...
>> test 1141
>>      Start 1141: itkMetaImageIOGzTest
>>
>> 1141: Test command: /home/papha/glehmann/src/tests/ITK-sse64/bin/
>> itkIOTests "itkMetaImageIOGzTest" "/home/papha/glehmann/src/tests/ITK-
>> sse64/Testing/Temporary"
>> 1141: Test timeout computed to be: 1500
>> 1141: Test whether MetaIO will search for a compressed data file
>> 1141: if it can't find the uncompressed data file
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>> 1141: MET_UncompressStream: ERROR Stream is not valid!
>>
>>
>>
>>
>
> _______________________________________________
> 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
>


More information about the Insight-developers mailing list