rgb curve module crashes darktable on second curve controll point

I found a possible solution to this error