All my project compile. But running it, it stopped in this line his work.This is the function where i have the problem:

Code:

void pre_filter_Computations(matriz radius,matriz theta,int cols,int rows){
double X[rows][cols],Y[rows][cols];
double x[cols],y[rows];
double epsilon = 0.0001;
for(int i=0;i<cols;i++){
x[i]=((double)(i-cols)/2)/((double)cols/2);
}
for(int z=0;z<rows;z++){
y[z]=-(((double)(z-rows)/2)/((double)rows/2));
}
for(int m=0;m<cols;m++){
for(int n=0;n<rows;n++){
X[m][n]=x[m];
Y[m][n]=y[n];
}
}
for(int a=0;a<rows;a++){
for(int b=0;b<cols;b++){
X[a][b] = pow(X[a][b],2);
Y[a][b] = pow(Y[a][b],2);
X[a][b] = X[a][b] + Y[a][b];
radius[a][b] = sqrt(X[a][b]);
}
}
printf("Hello\n"); // it print
radius[rows/2][cols/2]=1;
printf("Hello\n"); //doesn' print
for(int a=0;a<rows;a++){
for(int b=0;b<cols;b++){
radius [a][b]= radius[a][b] + epsilon;
theta[a][b] = atan2(Y[a][b],X[a][b])*180/PI;
}
}
}