I get an error when I am trying to create a submenu in the Menu component editor. Lazarus reports a "Division by zero" error, and then when I click OK it shuts down.
This is the output generated in the Dos trace window:
TMainIDE.OnPropHookComponentAdded END Menuitem2:TMENUITEM TRUE
ERROR in LCL: TWinControl.CreateComponent: SubMenuArrow_0:TARROW Handle creation failed
Creating gdb catchable error:
TApplication.HandleException Division by zero