Hi, I have a problem with a little piece of code but I attached the whole thing since i cannot reproduce the "bug" in reduced environement with the same values. I'm using the num library for doing exact maths. here extracted from the function line 280 see the code attached, i commented the section with details try let (graph_x, graph_y) = scale_point (!index, yval) in fill_circle graph_x graph_y 1; with Failure _ -> exit 0; If I try to catch the exception like that the process wont even go beyond the "try with" block I tested printing something instead of trying to exit but nothing is writed to the console and the cpu is at 100% All I can do is to kill the process. But if I don't try catch the Failure all works fine. I don't think doing unsafe things since there is no C code, no black magic, only some maths. To test, just launch the attached file with the points file: ocamlc nums.cma graphics.cma proj309.ml -o proj309 ./proj309 points.txt It should draw a graph from the points in the file but in my computer it is ending into an infinite-loop if I uncomment the "try .. with" bloc line 303 and 313. I don't understand since there is no raised exception when the bloc is commented and the code works great without problems without the "try .. with" Any clues on where is the mess ? Thanks, Michel PS: I'm using ocaml 3.08.2 PS2: I'm think this language is really very good and I only wish It could even become better congratulations :)