Thanks Laurent. I'll fold the patch in, are you on the develop branch? Re test failures, I'll need to take a closer look at those. Peter, did we not talk about something similar with NANs in a separate thread?
- Piotr ________________________________________ From: openexr-devel-bounces+pstanczyk=ilm....@nongnu.org [openexr-devel-bounces+pstanczyk=ilm....@nongnu.org] on behalf of Laurent Blume [laur...@opencsw.org] Sent: 13 August 2013 05:27 To: openexr-devel@nongnu.org Subject: [Openexr-devel] OpenEXR "make check" failing on Solaris Hello, So, building on Solaris 10 with GCC4.8 works, both in 32 and in 64 bits (with the little patch I mentioned previously). when running "make check", I get the following failures, different ones in 32 and 64 as well as different on x86 and sparc. Please tell me if there is anything I can do to help diagnose and fix them. === === This is with the x86 32 bit build: === 0, 1: RGBHalf read as RGBAHalf... OK 0, 2: RGBHalf read as ABGRHalf... OK 0, 3: RGBHalf read as RGBFloat... error reading back channel B pixel 96,-81 got -NaN expected -NaN Assertion failed: writtenHalf.bits()==readHalf.bits(), file testOptimizedInterleavePatterns.cpp, line 230, function compare /bin/bash: line 5: 10814 Abort (core dumped) ${dir}$tst FAIL: IlmImfTest pstack of the core file: core '/var/core/core.IlmImfTest.10814' of 10814: ./IlmImfTest ----------------- lwp# 1 / thread# 1 -------------------- feb1c955 _lwp_kill (1, 6) + 15 feac3893 raise (6) + 1f feaa29f1 abort (60, 8927160, 65737341, 6f697472, 6166206e, 64656c69) + cd feaa2c7f _assert_c99 (812896c, 8128948, e6, 811c920, 9098f40, 0) + 6e 08108cda ???????? (0, ffffffaf, 13b, 8047450, 8047468, 1) 08109f73 ???????? (811f7c1, 814d9c8, 0, 1, 0, 0) 0810a75f ???????? (8190140, a, 4f, feffa910, 804765c, feffa910) 0810a940 _Z31testOptimizedInterleavePatternsv (8190140, 811f92c, 8139820, 804765c, feffa910, 804765c) + 70 0811737d main (1, 80476a0, 80476a8) + 185d 08068f80 _start (1, 804779c, 0, 80477a9, 80477d4, 80477ec) + 80 ----------------- lwp# 105897 / thread# 105897 -------------------- feb19379 __lwp_park (898c534, 0, fcf80f68, fea554b7, 898c534, 898c534) + 19 feb0eaef sema_wait (898c534) + d fea554b7 sem_wait (898c534, 0, feb85f80, feea4a84, feea4a84, 89614f8) + 27 fee94191 _ZN13IlmThread_2_09Semaphore4waitEv (898c530, 895fec0, 80471e4, 90b5b50, fcf80fb8, feb1329a) + 21 fee932ec _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (89614f8, 0, fe88da40, feb80000, feb17976, feb80000) + ac fee93da1 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (89614f8) + 11 feb18ffb _thr_setup (fe88da40) + 4e feb19300 _lwp_start (fe88da40, 0, 0, fcf80ff8, feb19300, fe88da40) ----------------- lwp# 105898 / thread# 105898 -------------------- feb19379 __lwp_park (898c534, 0, fe383f68, fea554b7, 898c534, 898c534) + 19 feb0eaef sema_wait (898c534) + d fea554b7 sem_wait (898c534, 0, feb85f80, feea4a84, feea4a84, 8970d78) + 27 fee94191 _ZN13IlmThread_2_09Semaphore4waitEv (898c530, 895fec0, 80471e4, 90ad568, fe383fb8, feb1329a) + 21 fee932ec _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (8970d78, 0, fe888240, feb80000, feb17976, feb80000) + ac fee93da1 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (8970d78) + 11 feb18ffb _thr_setup (fe888240) + 4e feb19300 _lwp_start (fe888240, 0, 0, fe383ff8, feb19300, fe888240) ----------------- lwp# 105899 / thread# 105899 -------------------- feb19379 __lwp_park (898c534, 0, fe98ef68, fea554b7, 898c534, 898c534) + 19 feb0eaef sema_wait (898c534) + d fea554b7 sem_wait (898c534, 0, feb85f80, feea4a84, feea4a84, 8963428) + 27 fee94191 _ZN13IlmThread_2_09Semaphore4waitEv (898c530, 895fec0, 80471e4, 90ad568, fe98efb8, feb1329a) + 21 fee932ec _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (8963428, 0, fe88ba40, feb80000, feb17976, feb80000) + ac fee93da1 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (8963428) + 11 feb18ffb _thr_setup (fe88ba40) + 4e feb19300 _lwp_start (fe88ba40, 0, 0, fe98eff8, feb19300, fe88ba40) === === This is with the AMD64 64 bit build === ./comp_none.exr exists, is an OpenEXR file, is not tiled ./invalid.exr exists, is not an OpenEXR file, is not tiled ./does_not_exist.exr /bin/bash: line 5: 11012 Segmentation Fault (core dumped) ${dir}$tst FAIL: IlmImfTest pstack of the core file: core '/var/core/core.IlmImfTest.11012' of 11012: ./IlmImfTest 000000000002b7bd ???????? () fffffd7ffee921ca _SUNW_Unwind_Resume () + 79 fffffd7fff2a6044 _ZN7Iex_2_013throwErrnoExcERKSsi () + 19a4 fffffd7fff2a60d6 _ZN7Iex_2_013throwErrnoExcEv () + 36 fffffd7fff193c7c _ZN7Imf_2_011StdIFStreamC1EPKc () + 15c fffffd7fff1b0176 _ZN7Imf_2_013isOpenExrFileEPKcRb () + 26 000000000044a743 ???????? () 000000000044ab38 _Z9testMagicv () + c8 00000000004cdc83 main () + 11a3 000000000042888c _start () + 6c === === This one is with the sparcv8plus 32 bit build === 0,28: RGBHalf read as RGBpassiveA... OK 0,29: RGBHalf read as RGBpassiveleftRGB... OK 0,30: RGBHalf read as RGBFloatA... /bin/bash: line 5: 3188 Bus Error (core dumped) ${dir}$tst FAIL: IlmImfTest pstack of the core file: core 'IlmImfTest/core' of 3188: ./IlmImfTest ----------------- lwp# 1 / thread# 1 -------------------- 000b8da4 _ZN12_GLOBAL__N_111setupBufferERKN7Imf_2_06HeaderEPKPKcS7_PKNS0_9PixelTypeERNS0_11FrameBufferESC_SC_ib (3, 10478c, 0, dac24, ffbff6a0, ffbff6b8) + 218 000b9a14 _ZN12_GLOBAL__N_14testENS_6SchemaES0_bb.isra.129.constprop.132 (ffbff730, dac00, 146d1c, 146c00, ffbff6a0, 146cf0) + 70c 000ba174 _ZN12_GLOBAL__N_18runtestsEbb.constprop.131 (0, 2, 0, 104218, 1f, 104500) + 140 000ba2f8 _Z31testOptimizedInterleavePatternsv (146e10, c94e0, d0800, 146e10, ff109ed0, 146c00) + 68 000c5ab0 main (1, ffbff9c4, ffbff9cc, c9400, 146c00, c9000) + 1840 00026b6c _start (0, 0, 0, 0, 0, 0) + 5c ----------------- lwp# 105897 / thread# 105897 -------------------- fee8ac7c __lwp_park (0, 0, fef09604, 1c00, 0, 0) + 14 feda5208 sem_wait (947d00, 0, fef07940, 0, febc7a40, feabbe7c) + 20 ff273f28 _ZN13IlmThread_2_09Semaphore4waitEv (947d00, 0, fef07940, 0, feabbedc, 0) + 8 ff2732f4 _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (9177e8, ffbff4fc, 934b08, 909080, 947d30, 1) + 90 ff273b90 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (9177e8, feabc000, 0, 0, ff273b84, 1) + c fee8abd8 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 105898 / thread# 105898 -------------------- fee8ac7c __lwp_park (0, 0, fef09604, 1c00, 0, 0) + 14 feda5208 sem_wait (947d00, 0, fef07940, 0, febc7240, fef05a60) + 20 ff273f28 _ZN13IlmThread_2_09Semaphore4waitEv (947d00, 0, fef07940, 0, fecdbedc, 0) + 8 ff2732f4 _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (9142e0, ffbff4fc, 9339b8, 9174a0, 947d30, 1) + 90 ff273b90 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (9142e0, fecdc000, 0, 0, ff273b84, 1) + c fee8abd8 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 105899 / thread# 105899 -------------------- fee8ac7c __lwp_park (0, 0, fef09604, 1c00, 0, 0) + 14 feda5208 sem_wait (947d00, 0, fef07940, 0, febcda40, fef05a60) + 20 ff273f28 _ZN13IlmThread_2_09Semaphore4waitEv (947d00, 0, fef07940, 0, febbbedc, 0) + 8 ff2732f4 _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (916a10, ffbff4fc, 9174a0, 93cc00, 947d30, 1) + 90 ff273b90 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (916a10, febbc000, 0, 0, ff273b84, 1) + c fee8abd8 _lwp_start (0, 0, 0, 0, 0, 0) === === This is with the sparcv9 64 bit build === channels RB, compression 6, writing reading comparing channels RGBA, compression 7, writing reading comparing channels RGB, compression 7, writing reading Assertion failed: in.displayWindow() == header.displayWindow(), file testSharedFrameBuffer.cpp, line 236, function writeReadRGBA /bin/bash: line 5: 2218 Abort (core dumped) ${dir}$tst FAIL: IlmImfTest pstack of the core file: core 'IlmImfTest/core' of 2218: ./IlmImfTest ----------------- lwp# 1 / thread# 1 -------------------- ffffffff7d9dc7e4 _lwp_kill (6, 0, ffffffff7db497e0, ffffffffffffffff, ffffffff7db3e000, 0) + 8 ffffffff7d94c0e0 abort (1, 1d8, 0, 1f202c, 0, 0) + 118 ffffffff7d94c40c _assert_c99 (1000d5cf0, 1000d5b50, ec, 1000d5e90, 0, 1f1c60) + 78 0000000100032e10 _ZN12_GLOBAL__N_113writeReadRGBAEPKciiRKN7Imf_2_07Array2DINS2_4RgbaEEENS2_12RgbaChannelsENS2_11CompressionE.constprop.11 (ffffffff7ffff838, 7, 0, 100204, 100000, 100a8ef98) + 48c 0000000100033e94 _Z21testSharedFrameBufferv (9f, 1000d5e08, 100246e50, 9, 7, 7) + 6e8 00000001000cc6ac main (1, 100000, 1000d1000, 100246000, 100246, 1000d1) + 1d08 000000010001abac _start (0, 0, 0, 0, 0, 0) + 7c ----------------- lwp# 395 / thread# 395 -------------------- ffffffff7d9d881c __lwp_park (100a904c8, 0, 1, ffffffff7db4a300, 0, 0) + 14 ffffffff7d705c64 sem_wait (100a904c8, 0, ffffffff7db4a300, 100a90504, ffffffff7db04240, ffffffffffffffff) + 24 ffffffff7e804dbc _ZN13IlmThread_2_09Semaphore4waitEv (100a904c8, 0, ffffffff7db4a300, ffffffff7db455cc, ffffffff7db04240, 0) + 8 ffffffff7e804198 _ZN13IlmThread_2_012_GLOBAL__N_112WorkerThread3runEv (100a94c40, ffffffff7c3fbb60, 100a8f710, 100aa0cf0, 100a904f8, ffffffff7db04240) + 90 ffffffff7e804a28 _ZN13IlmThread_2_012_GLOBAL__N_110threadLoopEPv (100a94c40, 1fc000, 0, 0, ffffffff7e804a1c, 1) + c ffffffff7d9d8778 _lwp_start (0, 0, 0, 0, 0, 0) Thanks, Laurent _______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/openexr-devel _______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/openexr-devel