Jump to content

EXC_BAD_ACCESS on IOS


photo

Recommended Posts

i have an bug whith the new sdk, when i launch my sample i have an crash, after debug i detect the line is in image.cpp in the method decompress_dxt5_alpha_block, i compile unigine with xcode and i work with iPad 2 (ios 4.3.5)

 

static void decompress_dxt5_alpha_block(unsigned char *dest,const unsigned char *src,int width,int height,int x_stride,int y_stride) {

 

#ifdef USE_BIG_ENDIAN

....

#else

Log::message("Before Crash ...\n");

unsigned long long indices = (*(const unsigned long long*)(src + 2));

Log::message("After Crash ...\n");

#endif

 

....

}

Link to comment
×
×
  • Create New...