RealmeIP / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

decode-md5 is failing on mingw32 / Visual Studio 2010 (32bits) #292

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As seen here:

http://my.cdash.org/testDetails.php?test=14151717&build=581070

CMake Error at 
/home/voxxl/Dashboards/MyTests/openjpeg-experimental/tests/nonregression/checkmd
5refs.cmake:64 (message):
  not equal: [8afcac9a696cc8d753b0eb9f4ae692ff
  CT_Phillips_JPEG2K_Decompr_Problem.j2k_0.pgx] vs
  [91bcc4158e0c6af59950b6290d1abdea
  CT_Phillips_JPEG2K_Decompr_Problem.j2k_0.pgx]

Original issue reported on code.google.com by mathieu.malaterre on 14 Mar 2014 at 8:51

GoogleCodeExporter commented 8 years ago
Really the issue is that the computation is not exact and result differ 
sometimes from 1 byte (in value) compared to the generated one.

Question: should openjpeg produce the *exact* same result on all OS/arch ?

Original comment by mathieu.malaterre on 14 Mar 2014 at 8:52

GoogleCodeExporter commented 8 years ago
This can also be seen here:

    Start 26: NR-C1P0-p0_04.j2k-compare2base

26: Test command: 
/home/voxxl/Dashboards/MyTests/openjpeg-experimental-linux_mingw32-trunk-debug/b
in/compare_images.exe "-b" 
"/home/voxxl/Dashboards/MyTests/data/baseline/nonregression/opj_c1p0_04.pgx" 
"-t" 
"/home/voxxl/Dashboards/MyTests/openjpeg-experimental-linux_mingw32-trunk-debug/
tests/conformance/Temporary/c1p0_04.j2k.pgx" "-n" "3" "-d" "-s" "b_t_"
26: Test timeout computed to be: 240
26: Application tried to create a window, but no driver could be loaded.
26: Make sure that your X server is running and that $DISPLAY is set correctly.
26: err:systray:initialize_systray Could not create tray window
26: ******Parameters********* 
26:  base_filename = 
/home/voxxl/Dashboards/MyTests/data/baseline/nonregression/opj_c1p0_04.pgx
26:  test_filename = 
/home/voxxl/Dashboards/MyTests/openjpeg-experimental-linux_mingw32-trunk-debug/t
ests/conformance/Temporary/c1p0_04.j2k.pgx
26:  nb of Components = 3
26:  Non regression test = 1
26:  separator Base = _
26:  separator Test = _
26:  NbFilename to generate from base filename = 3
26:  NbFilename to generate from test filename = 3
26: ************************* 
26: Step 1 -> Header comparison
26: Step 2 -> measurement comparison
26: <DartMeasurement name="NumberOfPixelsWithDifferences_0" type="numeric/int"> 
13 </DartMeasurement> 
26: <DartMeasurement name="ComponentError_0" type="numeric/double"> -1.000000 
</DartMeasurement> 
1/1 Test #26: NR-C1P0-p0_04.j2k-compare2base ...***Failed    5.12 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   5.16 sec

The following tests FAILED:
     26 - NR-C1P0-p0_04.j2k-compare2base (Failed)
Errors while running CTest

Original comment by mathieu.malaterre on 14 Mar 2014 at 8:59

GoogleCodeExporter commented 8 years ago
For reference, using r2375, here is what I get (gcc -m32):

    Start 26: NR-C1P0-p0_04.j2k-compare2base

26: Test command: 
/home/mathieu/Projects/IntoPIX/openjpeg.svn/trunk/bin2/bin/comparePGXimages 
"-b" 
"/home/mathieu/Projects/IntoPIX/openjpeg.svn/data/baseline/nonregression/opj_c1p
0_04.pgx" "-t" 
"/home/mathieu/Projects/IntoPIX/openjpeg.svn/trunk/bin2/tests/conformance/Tempor
ary/c1p0_04.j2k.pgx" "-n" "3" "-d" "-s" "b_t_"
26: Test timeout computed to be: 1500
26: ******Parameters********* 
26:  base_filename = 
/home/mathieu/Projects/IntoPIX/openjpeg.svn/data/baseline/nonregression/opj_c1p0
_04.pgx
26:  test_filename = 
/home/mathieu/Projects/IntoPIX/openjpeg.svn/trunk/bin2/tests/conformance/Tempora
ry/c1p0_04.j2k.pgx
26:  nb of Components = 3
26:  Non regression test = 1
26:  separator Base = _
26:  separator Test = _
26:  NbFilename to generate from base filename = 3
26:  NbFilename to generate from test filename = 3
26: ************************* 
26: Step 1 -> Header comparison
26: Step 2 -> measurement comparison
26: <DartMeasurement name="NumberOfPixelsWithDifferences_0" type="numeric/int"> 
13 </DartMeasurement> 
26: <DartMeasurement name="ComponentError_0" type="numeric/double"> -1.000000 
</DartMeasurement> 
26: <DartMeasurement name="NumberOfPixelsWithDifferences_1" type="numeric/int"> 
25 </DartMeasurement> 
26: <DartMeasurement name="ComponentError_1" type="numeric/double"> -1.000000 
</DartMeasurement> 
26: <DartMeasurement name="NumberOfPixelsWithDifferences_2" type="numeric/int"> 
43 </DartMeasurement> 
26: <DartMeasurement name="ComponentError_2" type="numeric/double"> 3.000000 
</DartMeasurement> 
1/1 Test #26: NR-C1P0-p0_04.j2k-compare2base ...***Failed    0.12 sec

Original comment by mathieu.malaterre on 14 Mar 2014 at 9:17

GoogleCodeExporter commented 8 years ago

Original comment by mathieu.malaterre on 14 Mar 2014 at 2:04

GoogleCodeExporter commented 8 years ago

Original comment by mathieu.malaterre on 14 Mar 2014 at 2:07

GoogleCodeExporter commented 8 years ago

Original comment by antonin on 24 Mar 2014 at 3:57

GoogleCodeExporter commented 8 years ago

Original comment by antonin on 24 Mar 2014 at 3:58

GoogleCodeExporter commented 8 years ago

Original comment by mathieu.malaterre on 25 Mar 2014 at 10:37

GoogleCodeExporter commented 8 years ago
For reference:

http://en.wikipedia.org/wiki/C99#IEEE.C2.A0754_floating_point_support

Original comment by mathieu....@voxxl.com on 27 Mar 2014 at 10:08

GoogleCodeExporter commented 8 years ago
mathieu, what would be the different options to solve this ?

Original comment by antonin on 7 Apr 2014 at 2:11