5.19 segfaults for some reason