2 Replies Latest reply on Sep 20, 2010 3:55 PM by MicahVillmow

    Crash in clBuildProgram on Mac OS 10.6.4 (EFI driver version 01.00.436 for ATI Radeon 5870)

    shantanu.bmd
      __stack_chk_fail () in clBuildProgram ()

       

      Hi,

      Need some help in understanding why the following simple kernel crashes during runtime build on Mac OS 10.6.4 (EFI driver version 01.00.436 for ATI Radeon 5870)

      ====================

       

      __kernel void KernelThatDoesntWork(__global const float* a, __global const float* b, __global float* c, int iNumElements)

      {

          __local unsigned char lmemC[96];

          lmemC[0] = 0;

      }



      ====================

      Here is the stack trace

      #0  0x94b67ef6 in __kill ()

      #1  0x94b67ee8 in kill$UNIX2003 ()

      #2  0x94bfa62d in raise ()

      #3  0x94c10679 in __abort ()

      #4  0x94bf33bc in __stack_chk_fail ()

      #5  0x00422b8b in glrCompExecuteKernel ()

      #6  0x00424d9c in glrCompBuildProgram ()

      #7  0x91db653a in clBuildProgram ()

      Thanks