debug lock error