Program crashes with fillet command.

Whenever I use the fillet command to join two polylines BricsCad crashes. "A fatal error has been detected, the application will be terminated". It works if I open a new drawing, but everytime I do it in an old drawing the program crashes.

It started to happen when I downloaded a new version of BricsCad. Now I use v12.2.6.

Has anyone else run into this problem? Does anyone know what causes it or know how to fix it?