fix #38466: Choosing Style/General Crashes Program