Issue #3384995 by mondrake, daffie: Committing a transaction while there are still active savepoints leaves the stack in inconsistent state