However when trying to run this code I receive "Segmentation error". (this error does not appear when I remove the call to kolmogorov)
I work under linux and I tried to compile with both g++ and g++-3.3
The valgrind output can be found at:
http://www.cs.huji.ac.il/~lweizm45/valgring_output.txt