This specific crash was only occuring when GIMP_INTERACTIVE_EXPORT=1 and canceling the first dialog. So that should not happen too often, but well, now it's fixed… (cherry picked from commit 765975df)