Thanks for all feedback, I just localize one bug (I think). It is a numeric precission error in one of the triangulation operations. I'm working to fix it, as soon as possible I wil post a fixed version.
I'm trying to crash blender, but I can't reproduce the error. This likes a memory error. I have 1Gb of mem and maybe this can hide a memory error. However, I'm checking the code.