Lazarus no longer working

Lazarus is not working… After installation it won’t start properly, and gives a whole lot of error messages ending with:
(lazarus:1237): Gtk-WARNING **: 09:15:11.746: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node header, owner GtkNotebook)
TApplication.HandleException: ERangeError
Range check error
Stack trace:
$000000000075450F
$00000000005B7105
$00000000006EDBE6
$000000000079793C
$00000000007641CC
$00000000006D1041
$00000000006D0C7A
$00000000007B8298
$00000000007B8071
$0000000000798D7A
$000000000076F00B
$000000000076EDAB
$000000000076E77B
$000000000051341F
$000000000077B4FE
$000000000078E9B2
$000000000078EA19

Bas

what version you use of lazarus and the gtk?

I just did a clean install cachyOS in a VM, then installed Lazarus 3.8-1.1 from extra-v4, same with lazarus-gtk3. GTK version is 1:3.24.48-2.1