8a27fdea89bc54aa35e363a376836662103c7cb7 fixes this segfault and is worth to be picked into 3.4.
Pushed to v3-4-test. Closing out bug report. Thanks!