I just pushed a patch, maybe you can test with it as well (or using master branch).
From another perspective, the code where it crashed is an extra check in an EXTRA_DEBUG define, which is enabled in debug mode, not in release mode. Just saying, it has to be fixed anyhow.