It seems this issue is fixed, I am not able to reproduce it anymore, at least with ec built after rev#68817.