Commit 035dea495b814709eea8cfbea7cc4589d0a3c0f8

Martin Mitas 2016-12-04T20:48:06

Fix crash caused by bad management of opener chains. 1. We need to reset (potentially used) chains after each mark analysis phase. This ensures that md_rollback() does not try to play with chains used in previous phases. 2. md_rollback() must never play with PTR_CHAIN.