I pushed a patch to master and 4.4 branches to catch the crash. I will try to look deeper when I get more time to see if there are any other aspects to be investigated, but for now it should no longer crash in this case.
Re-open if you still get the issue.