Minimal Reproduction for the Segfault Error Run with npm test. You might have to run multiple times to trigger the segfault, sometimes it works.