how can I stop crash on assign macro to menu

I have LibreOffice Version: 5.0.3.2, English,
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
and I’m programming a statistical package for Calc Suddenly, it crashes when I try to assign a macro to a menu. I have assigned macros to new menus before without this problem - it just started happening.

My OS is Windows 7, English.

I’m a little edgy about wiping the user profile (though I will if necessary - but that might mean redoing what I already have in my menus.)

What is the best way to address this problem?

The same is in Linux Mint, LO version 5.3. In fresh installed version. And that was first what I tried… and BOOOM… Macro security is on lovest level. I am not IT, I am beekeeper… please have that in mind. Thank you.