Filing this ahead of #4988 being merged, but it will only apply once it is. See the exclusion of `scala.util.RandomTest` in `project/Build.scala` when enabling WebAssembly. We suspect a V8 bug rather than a bug on our side. No matter how bad the code we generate is, V8 shouldn't get into a SIGSEGV.