I get a SIGSEGV when my code reach a matrix declaration and i do not get much information about it. This is my code :
void mascaraLaPlace(unsigned char Img[1200][1200][3],int Rx,int Ry){
int x,y,a,b,c,d;
int valorR,valorG,valorB;
unsigned char copia[Rx][Ry][3];
for (y=0;y<Ry;y++){//operations}
The unsigned char copia[Rx][Ry][3] is where the code stops and gives me the SIGSEGV error. I am using Code Blocks on windows witch come with mingw suite.