I can verify that on Windows 10 20H2, the crash happens just as explained using Gnuplot 5.4.1, the current release from December 2020. I reverted back to the previous stable release 5.2.8 from December 2019 and that works. I'm providing a datapoint for those who are good at fixing these things. I'd start by looking at what changed between these two versions.