[Insight-users] wn64 error on itkMeshFileReadWriteTest06

wanlin wanlinzhu at gmail.com
Wed Dec 7 01:20:22 EST 2011


Hi Xiaoxiao,
    Thank for pointing out these mistakes. It's weired that i didn't find
the mistakes in the previous tests. There are two mistakes in the code. I
made some patches for it. However due to the network constraint, i could
not conduct tests on my laptop. Could you please help me push them to
http://review.source.kitware.com/#change,3457


thanks and regards


wanlin

On Wed, Dec 7, 2011 at 7:07 AM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com>wrote:

> Hi Wanlin,
> Will you please take a look at this win64 error?:
> http://www.cdash.org/CDash/testDetails.php?test=123324636&build=1794079
>
>
> The baseline mesh file has :
> 1       8       6      24
>        1       6
>  0.00000E+00 0.00000E+00 0.00000E+00
>  1.00000E+00 0.00000E+00 0.00000E+00
>  1.00000E+00 2.00000E+00 0.00000E+00
>  0.00000E+00 2.00000E+00 0.00000E+00
>  0.00000E+00 0.00000E+00 1.00000E+00
>  1.00000E+00 0.00000E+00 1.00000E+00
>  1.00000E+00 2.00000E+00 1.00000E+00
>  0.00000E+00 2.00000E+00 1.00000E+00
>        4       3       2      -1
>        5       6       7      -8
>        1       5       8      -4
>        4       8       7      -3
>        3       7       6      -2
>        2       6       5      -1
>
> and the output file from the win64 machine is :
>     1       8       6       12
>        1       6
>  0.000000e+000 0.000000e+000 0.000000e+000
>  1.000000e+000 0.000000e+000 0.000000e+000
>  1.000000e+000 2.000000e+000 0.000000e+000
>  0.000000e+000 2.000000e+000 0.000000e+000
>  0.000000e+000 0.000000e+000 1.000000e+000
>  1.000000e+000 0.000000e+000 1.000000e+000
>  1.000000e+000 2.000000e+000 1.000000e+000
>  0.000000e+000 2.000000e+000 1.000000e+000
>        4       3       2       18446744073709551
> 615
>        5       6       7       18446744073709551
> 608
>        1       5       8       18446744073709551
> 612
>        4       8       7       18446744073709551
> 613
>        3       7       6       18446744073709551
> 614
>        2       6       5       18446744073709551
> 615
>
>
> There is something wrong with the four column data. When you sign -1 to a
> unsigned long number, you will get this large number on win64.
>
> Also there are some integer type inconsistencies looks fishy:
>    http://review.source.kitware.com/#change,3457
>
>
> Thanks!
> -Xiaoxiao
>
> ---------------------------------------------
> *Xiaoxiao Liu*, Ph.D.
> R & D Engineer
> Kitware Inc <http://www.kitware.com/>.
> Clifton Park, NY
> Phone: (518) 881-4924  or  (518) 371-3971 x124
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111207/565349be/attachment.htm>


More information about the Insight-users mailing list