arsenm

Crash in CL compiler

Discussion created by arsenm on Aug 11, 2011
Latest reply on Sep 26, 2011 by MicahVillmow

I ran into a problem with the compiler crashing. I'm using Linux x86_64 with a Radeon 6970, SDK 2.5 and Catalyst 11.7.

I sort of reduced it from what I was working on. It seems to happen with the sqrt inside the if inside the loop. It seems to only happen with sqrt(). If it isn't there (or another math function is used in place) it doesn't crash.

Test case

 

 

#0 0x00007ffff5a74069 in ?? () from /opt/amdstream/lib/libamdocl64.so #1 0x00007ffff5a75c27 in ?? () from /opt/amdstream/lib/libamdocl64.so #2 0x00007ffff5a76641 in ?? () from /opt/amdstream/lib/libamdocl64.so #3 0x00007ffff5d56e5f in ?? () from /opt/amdstream/lib/libamdocl64.so #4 0x00007ffff61e8950 in ?? () from /opt/amdstream/lib/libamdocl64.so #5 0x00007ffff61e8a62 in ?? () from /opt/amdstream/lib/libamdocl64.so #6 0x00007ffff61e8bf9 in ?? () from /opt/amdstream/lib/libamdocl64.so #7 0x00007ffff55c656b in ?? () from /opt/amdstream/lib/libamdocl64.so #8 0x00007ffff55c8bc7 in ?? () from /opt/amdstream/lib/libamdocl64.so #9 0x00007ffff55e2f18 in ?? () from /opt/amdstream/lib/libamdocl64.so #10 0x00007ffff560339f in ?? () from /opt/amdstream/lib/libamdocl64.so #11 0x00007ffff55cd25d in ?? () from /opt/amdstream/lib/libamdocl64.so #12 0x00007ffff561f565 in ?? () from /opt/amdstream/lib/libamdocl64.so #13 0x00007ffff55c335d in clBuildProgram () from /opt/amdstream/lib/libamdocl64.so

Outcomes