I have in test.h file:
double *condmatrix - global variable
Then in the main program I do:
cycle_start {
    proc1() {
    condmatrix = new double[maxdim];
    ....simple work with the array itself
    }
    proc2() {
    delete [] condmatrix;
    }
}//cycle finish
This gives me a segfault. I tried deleted with [] syntax, without and other ways, it still gives a segfault. Maxdim varies from cycle to cycle.
