Nailing a nightmare bug